![]() |
EVE 1.0
|
Driver for IQRF radio modules. More...
Go to the source code of this file.
Data Structures | |
struct | iqrf_dpa_header_t |
struct | iqrf_dpa_request_t |
struct | iqrf_dpa_confirmation_t |
struct | iqrf_dpa_response_t |
struct | iqrf_dpa_broadcast_t |
struct | iqrf_global_handlers_t |
struct | iqrf_state_t |
struct | iqrf_t |
IQRF instance structure. More... | |
Macros | |
#define | IQRF_PNUM_BRIDGE (0x30) |
Custom periferal number for Bridge. | |
#define | IQRF_SPI_BUFFER_LENGTH (68) |
SPI buffer length (max IQRF packet size + 4) | |
#define | IQRF_RESPONSE_TIMESLOT_LENGTH_WORST_ESTIMATE (5) |
Worst estimate for response timeslot length in 10 ms. intervals. | |
#define | IQRF_INVALID_TIMESTAMP (0xFFFFFFFF) |
Value used as an invalid timestamp value. | |
Typedefs | |
typedef void(* | iqrf_response_handler_t) (const struct iqrf_t *Iqrf, enum iqrf_response_type_t Type, const struct iqrf_dpa_response_t *Dpa, uint8_t Length) |
Enumerations |
Functions | |
void | IqrfInterruptCb (const struct iqrf_t *Iqrf) |
void | IqrfInit (const struct iqrf_t *Iqrf) |
bool | IqrfIsBusy (const struct iqrf_t *Iqrf) |
bool | IqrfSendDpaRequest (const struct iqrf_t *Iqrf, iqrf_response_handler_t ResponseHandler, const struct iqrf_dpa_request_t *Request, uint8_t DataLen) |
bool | IqrfSendDpaResponse (const struct iqrf_t *Iqrf, const uint8_t *Data, uint8_t DataLen) |
bool | IqrfSendDpaError (const struct iqrf_t *Iqrf, uint8_t ErrorCode) |
bool | IqrfSendFrcResponse (const struct iqrf_t *Iqrf, uint16_t Status) |
uint32_t | IqrfGetExpectedRoutingTime (uint8_t HopsRequest, uint8_t TimeslotRequest, uint8_t HopsResponse, uint8_t TimeslotResponse) |
uint32_t | IqrfGetExpectedRoutingCompleteTimestamp (const struct iqrf_t *Iqrf) |
Driver for IQRF radio modules.
Definition in file iqrf.h.