|
Arduino PulseWire Transceiver Library
|
Interrupt-capable IR RX driver interface for platforms without attachInterruptArg. More...
#include <RxDriverArduino.h>


Public Member Functions | |
| virtual void | handleInterrupt ()=0 |
| virtual void | setFrameSize (uint16_t size)=0 |
| Set the expected frame size for dynamic data reception. | |
| virtual bool | begin (uint16_t bitFrequencyHz)=0 |
| Start the receiver. | |
| virtual void | end ()=0 |
| Stop the receiver. | |
| virtual size_t | readBytes (uint8_t *data, size_t size)=0 |
| virtual int | available ()=0 |
| Get the number of bytes available in the internal buffer. | |
| virtual void | setRxBufferSize (size_t size)=0 |
| Set the size of the internal RX buffer. | |
Interrupt-capable IR RX driver interface for platforms without attachInterruptArg.
This class extends RxDriver with a pure virtual method handleInterrupt(), which must be implemented by derived classes to handle the interrupt logic. It is used in conjunction with ISRManager to manage multiple ISR instances on platforms that do not support attachInterruptArg (e.g., AVR).
Definition at line 23 of file RxDriverArduino.h.
Get the number of bytes available in the internal buffer.
Implemented in pulsewire::RxDriverArduino, pulsewire::RxDriverESP32, and pulsewire::RxDriverRP2040.
Start the receiver.
Implemented in pulsewire::RxDriverArduino.
Stop the receiver.
Implemented in pulsewire::RxDriverArduino, and pulsewire::RxDriverESP32.
Read up to 'size' bytes from the internal buffer into 'data'. Returns number of bytes read.
Implemented in pulsewire::RxDriverArduino, pulsewire::RxDriverESP32, and pulsewire::RxDriverRP2040.
Set the expected frame size for dynamic data reception.
Implemented in pulsewire::RxDriverArduino.
Set the size of the internal RX buffer.
Implemented in pulsewire::RxDriverArduino, and pulsewire::RxDriverESP32.