|
Arduino PulseWire Transceiver Library
|
RP2040-specific TxProtocol implementation using PIO and DMA for precise timing. More...
#include <TxDriverRP2040.h>


Public Member Functions | |
| void | setFrameSize (uint16_t size) override |
| bool | begin (Codec *p_codec, uint8_t pin) override |
| void | sendPreamble () override |
| void | sendData (const uint8_t *data, uint8_t len, uint32_t bitPeriod) override |
| void | sendEnd (bool &useChecksum, bool isDelayAfterFrame, uint32_t bitPeriod) override |
| bool | isFrameClosed () const override |
| virtual bool | begin (uint16_t bitFrequencyHz, Codec *p_codec, uint8_t pin)=0 |
| virtual void | sendData (const uint8_t *data, uint8_t len)=0 |
| virtual void | sendEnd (bool &_useChecksum, bool isDelayAfterFrame)=0 |
Protected Member Functions | |
| void | sendEdgesPIO (const Vector< OutputEdge > &edges) |
Protected Attributes | |
| Codec * | _codec = nullptr |
| uint8_t | _txPin |
| uint16_t | _frameSize = 64 |
| Vector< OutputEdge > | output |
| uint8_t | sum = 0 |
| bool | is_frame_closed = true |
| PIO | pio = PIO(0) |
| uint8_t | sm = 0 |
| uint32_t | offset = 0 |
Static Protected Attributes | |
| static const char * | ir_tx_pio_program |
RP2040-specific TxProtocol implementation using PIO and DMA for precise timing.
Definition at line 17 of file TxDriverRP2040.h.
Definition at line 26 of file TxDriverRP2040.h.
|
pure virtualinherited |
Implemented in pulsewire::TxProtocolGeneric.
|
inlineoverridevirtual |
Implements pulsewire::TxProtocol.
Definition at line 98 of file TxDriverRP2040.h.
|
pure virtualinherited |
Implemented in pulsewire::TxProtocolGeneric.
|
inlineoverride |
Definition at line 66 of file TxDriverRP2040.h.
|
inlineprotected |
Definition at line 112 of file TxDriverRP2040.h.
|
pure virtualinherited |
Implemented in pulsewire::TxProtocolGeneric.
|
inlineoverride |
Definition at line 80 of file TxDriverRP2040.h.
|
inlineoverridevirtual |
Implements pulsewire::TxProtocol.
Definition at line 57 of file TxDriverRP2040.h.
Implements pulsewire::TxProtocol.
Definition at line 21 of file TxDriverRP2040.h.
Definition at line 101 of file TxDriverRP2040.h.
|
protected |
Definition at line 103 of file TxDriverRP2040.h.
|
protected |
Definition at line 102 of file TxDriverRP2040.h.
Definition at line 140 of file TxDriverRP2040.h.
Definition at line 106 of file TxDriverRP2040.h.
|
protected |
Definition at line 110 of file TxDriverRP2040.h.
|
protected |
Definition at line 104 of file TxDriverRP2040.h.
Definition at line 108 of file TxDriverRP2040.h.
|
protected |
Definition at line 109 of file TxDriverRP2040.h.
|
protected |
Definition at line 105 of file TxDriverRP2040.h.