Device descriptor for the driver. More...

Detailed Description

Device descriptor for the driver.

Definition at line 51 of file ir_nec.h.

#include <ir_nec.h>

Data Fields

gpio_t pin
 Input pin.
 
isrpipe_t isrpipe
 Internal pipe for commands.
 
uint32_t last_rising
 Timestamp of the last rising edge.
 
uint32_t data
 Data packet being received.
 
uint8_t read_bits
 Number of bits read so far. More...
 
uint8_t isrpipe_buf [2 *sizeof(ir_nec_cmd_t)]
 Buffer for the isrpipe.
 

Field Documentation

◆ read_bits

uint8_t ir_nec_t::read_bits

Number of bits read so far.

0xff if not currently reading

Definition at line 57 of file ir_nec.h.


The documentation for this struct was generated from the following file: