Low-level GPIO peripheral driver interface definitions.
int ir_nec_read(ir_nec_t *dev, ir_nec_cmd_t *command)
Read a command packet.
int ir_nec_init(ir_nec_t *dev, const ir_nec_params_t *params)
Initialize the given device.
uint8_t addr
Address (usually 0, depends on the remote)
Device initialization parameters.
Device descriptor for the driver.
uint8_t read_bits
Number of bits read so far.
uint32_t last_rising
Timestamp of the last rising edge.
uint32_t data
Data packet being received.
isrpipe_t isrpipe
Internal pipe for commands.
Context structure for isrpipe.