embedded-software
reusable software modules for embedded systems
|
#include <stdint.h>
#include <stdbool.h>
#include "project_settings.h"
#include "nrf24.h"
#include "spi.h"
#include "timing.h"
Functions | |
void | nRF24_Init (nrf24_t *nrf_object) |
void | nRF24_StartListening (nrf24_t *nrf_object) |
void | nRF24_Write (nrf24_t *nrf_object, uint8_t *buf, uint8_t length) |
void | nRF24_WriteAck (nrf24_t *nrf_object, uint8_t *buf, uint8_t length, uint8_t pipe) |
void | nRF24_Standby (nrf24_t *nrf_object) |
void | nRF24_SetPowerAmplificationLevel (nrf24_t *nrf_object, nrf24_pa_level_e level) |
void | nRF24_SetRetries (nrf24_t *nrf_object, uint8_t delay, uint8_t count) |
void | nRF24_SetDataRate (nrf24_t *nrf_object, nrf24_datarate_e rate) |
void | nRF24_SetCRCMode (nrf24_t *nrf_object, nrf24_crc_mode_e mode) |
void | nRF24_SetChannel (nrf24_t *nrf_object, uint8_t channel) |
void | nRF24_OpenRxPipe (nrf24_t *nrf_object, uint8_t pipeNum, uint64_t address) |
void | nRF24_OpenTxPipe (nrf24_t *nrf_object, uint64_t address) |
void | nRF24_EventHandler (nrf24_t *nrf_object) |
void | nRF24_SetActive (nrf24_t *nrf_object, uint8_t active) |
void | nRF24_FlushRx (nrf24_t *nrf_object) |
void | nRF24_FlushTx (nrf24_t *nrf_object) |
void | nRF24_WriteReg (nrf24_t *nrf_object, uint8_t reg_address, uint8_t value) |
void | nRF24_WriteMultReg (nrf24_t *nrf_object, uint8_t reg_address, uint8_t *data_ptr, uint8_t length) |
uint8_t | nRF24_ReadReg (nrf24_t *nrf_object, uint8_t reg_address) |
uint8_t | nRF24_GetPayloadLength (nrf24_t *nrf_object) |