embassy-rp

Crates

git

Versions

rp235xb

Flavors

Module ir_nec

Module ir_nec 

Source
Expand description

Pio backed Nec Ir driver

Structs§

NecExtendedFrame
NEC data is sent in a 32 bit frame made from the normal and inverted address and data. This struct represents the unencoded data.
NecFrame
NEC data is sent in a 32 bit frame made from the normal and inverted address and data. This struct represents the unencoded data.
PioIrNecRx
PIO backed NEC IR receiver This program requires an IR receiver such as the VS1838b that low pass filters IR bursts into long pulses.
PioIrNecRxProgram
This struct represents a program for receiving NEC IR codes loaded into pio instruction memory.
PioIrNecTx
PIO backed NEC IR receiver This program only requires an high-side switched IR led.
PioIrNecTxProgram
This struct represents both programs needed to send NEC IR frames loaded into pio instruction memory.

Enums§

NecFrameDecodeError
NEC frames send the address and data as normal and inverted bits. These are the errors you can get when trying to decode a raw Frame

Constants§

NEC_IR_INTIAL_BURSTS
The number of bursts used to start packets in the original NEC IR protocol.