#include <modm/driver/radio/nrf24/nrf24_data.hpp>
|
static const char * | toStr (SendingFeedback feedback) |
|
static constexpr uint8_t | getFrameOverhead () |
|
static uint8_t | getDynamicPayloadLength () |
|
static void | initialize (BaseAddress base_address, Address own_address, Address broadcast_address=0xFF) |
|
static bool | sendPacket (Packet &packet) |
|
static bool | getPacket (Packet &packet) |
|
static bool | isReadyToSend () |
|
static bool | isPacketAvailable () |
|
static const Feedback & | getFeedback () |
|
static void | update () |
| Call this function in your main loop.
|
|
static void | interruptHandler () |
|
static Address | getAddress () |
|
static void | setAddress (Address address) |
| Set own address.
|
|
static void | setBroadcastAddress (Address address) |
|
static Address | getBroadcastAddress () |
|
template<typename Nrf24Phy, typename Clock = modm::Clock>
class modm::Nrf24Data< Nrf24Phy, Clock >
- Author
- Daniel Krebs
template<typename Nrf24Phy , typename Clock = modm::Clock>
Enum Values | Documentation |
---|
Busy | Waiting for ACK.
|
FinishedAck | Packet sent and ACK received.
|
FinishedNack | Packet sent but no ACK received in time.
|
DontKnow | Packet was sent without requesting ACK.
|
Failed | Packet could not be sent.
|
Undefined | Initial state before a packet has been handled.
|
template<typename Nrf24Phy , typename Clock = modm::Clock>
Feedback of last transaction, i.e. calls to sendPacket()
and getPacket()
.
template<typename Nrf24Phy , typename Clock = modm::Clock>
static void modm::Nrf24Data< Nrf24Phy, Clock >::interruptHandler |
( |
| ) |
|
|
static |
Call this function from within IRQ pin interrupt You have to setup the IRQ pin yourself!
The documentation for this class was generated from the following file: