Loading...
Searching...
No Matches

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.
 
uint8_t isrpipe_buf [2 *sizeof(ir_nec_cmd_t)]
 Buffer for the isrpipe.
 

Field Documentation

◆ data

uint32_t ir_nec_t::data

Data packet being received.

Definition at line 56 of file ir_nec.h.

◆ isrpipe

isrpipe_t ir_nec_t::isrpipe

Internal pipe for commands.

Definition at line 53 of file ir_nec.h.

◆ isrpipe_buf

uint8_t ir_nec_t::isrpipe_buf[2 *sizeof(ir_nec_cmd_t)]

Buffer for the isrpipe.

Definition at line 59 of file ir_nec.h.

◆ last_rising

uint32_t ir_nec_t::last_rising

Timestamp of the last rising edge.

Definition at line 55 of file ir_nec.h.

◆ pin

gpio_t ir_nec_t::pin

Input pin.

Definition at line 52 of file ir_nec.h.

◆ 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: