|
| | RawCodec (uint32_t carrier_hz=38000) |
| | Constructor.
|
| |
| item_container_type | encode (uint16_t, uint16_t, bool) override |
| | encode() is not meaningful for Raw; returns empty
|
| |
| bool | decode (const gpio::m5_rmt_item_t *items, uint32_t num, DecodeResult &result) override |
| | decode() stores raw item count in bits and tags protocol as Raw
|
| |
| uint32_t | carrierFrequencyHz () const override |
| | Carrier frequency configured at construction.
|
| |
| item_container_type | encodeRaw (const uint16_t *mark_space_us, uint32_t count) |
| | Encode raw mark/space pairs into RMT items.
|
| |
|
| IRCodec (CodecType t) |
| |
| CodecType | type () const |
| | Get codec type for safe downcasting.
|
| |
| virtual float | carrierDuty () const |
| | Carrier duty cycle (0.0 - 1.0)
|
| |
| virtual uint8_t | minFrames () const |
| | Number of frames that should be transmitted per keypress for this protocol.
|
| |
| virtual uint16_t | frameGapUs () const |
| | Inter-frame gap (microseconds) when transmitting multiple frames in one burst.
|
| |
| virtual bool | decode (const m5::unit::gpio::m5_rmt_item_t *items, uint32_t num, DecodeResult &result)=0 |
| | Try to decode RMT items into an IR command.
|
| |
Raw mark/space pass-through codec.
Encodes/decodes raw mark/space timing pairs without protocol interpretation. Use for unknown protocols or direct RMT item manipulation.