Definitions of user visible types for the NRF24L01+ (NG) device driver. More...
Definitions of user visible types for the NRF24L01+ (NG) device driver.
Definition in file nrf24l01p_ng_types.h.
#include <stdint.h>
Go to the source code of this file.
enum nrf24l01p_ng_ard |
Possible values to configure the retransmission delay in ESB.
Definition at line 111 of file nrf24l01p_ng_types.h.
enum nrf24l01p_ng_aw |
Possible values to configure the layer-2 address width.
Definition at line 100 of file nrf24l01p_ng_types.h.
enum nrf24l01p_ng_crc |
Possible values to configure the CRC length.
Enumerator | |
---|---|
NRF24L01P_NG_CRC_0BYTE | 0 bytes CRC length |
NRF24L01P_NG_CRC_1BYTE | 1 byte CRC length |
NRF24L01P_NG_CRC_2BYTE | 2 bytes CRC length |
Definition at line 135 of file nrf24l01p_ng_types.h.
enum nrf24l01p_ng_pipe |
Enumeration of NRF24L01+ data pipes.
Definition at line 87 of file nrf24l01p_ng_types.h.
enum nrf24l01p_ng_rfdr |
Possible values to configure the data rate.
Enumerator | |
---|---|
NRF24L01P_NG_RF_DR_1MBPS | 1 Mbit/s |
NRF24L01P_NG_RF_DR_250KBPS | 250 kbit/s |
NRF24L01P_NG_RF_DR_2MBPS | 2 Mbit/s |
NRF24L01P_NG_RF_DR_NUM_OF | Number of possible values to configure the data rate. |
Definition at line 156 of file nrf24l01p_ng_types.h.
enum nrf24l01p_ng_state |
NRF24L01+ operation states.
Definition at line 56 of file nrf24l01p_ng_types.h.
Possible values to configure the radio power.
Definition at line 144 of file nrf24l01p_ng_types.h.
|
inlinestatic |
Convert nrf24l01p_ng_ard_t to actual retransmission delay.
[in] | retr_delay | Retransmission delay enum |
Definition at line 214 of file nrf24l01p_ng_types.h.
|
inlinestatic |
Convert nrf24l01p_ng_aw_t to actual address width.
[in] | address_width | Address width enum |
Definition at line 176 of file nrf24l01p_ng_types.h.
|
inlinestatic |
Convert nrf24l01p_ng_crc_t to actual CRC length.
[in] | crc_len | CRC length enum |
Definition at line 249 of file nrf24l01p_ng_types.h.
|
inlinestatic |
Convert nrf24l01p_ng_rfdr_t to actual air data rate.
[in] | data_rate | Air data rate enum |
Definition at line 331 of file nrf24l01p_ng_types.h.
|
inlinestatic |
Convert nrf24l01p_ng_tx_power_t to actual Tx power.
[in] | power | RF power enum |
Definition at line 287 of file nrf24l01p_ng_types.h.
|
inlinestatic |
Convert retransmission delay in [us] to nrf24l01p_ng_ard_t.
[in] | retr_delay | Retransmission delay in [us] |
Definition at line 230 of file nrf24l01p_ng_types.h.
|
inlinestatic |
Convert address width in [bytes] to nrf24l01p_ng_aw_t.
[in] | address_width | Address width in [bytes] |
Definition at line 195 of file nrf24l01p_ng_types.h.
|
inlinestatic |
Convert CRC length in [bytes] to nrf24l01p_ng_crc_t.
[in] | crc_len | CRC length in [bytes] |
Definition at line 268 of file nrf24l01p_ng_types.h.
|
inlinestatic |
Convert Air data rate in [kbit/s] to nrf24l01p_ng_rfdr_t.
[in] | data_rate | Air data rate in [kbit/s] |
Definition at line 350 of file nrf24l01p_ng_types.h.
|
inlinestatic |
Convert RF power in [dbm] to nrf24l01p_ng_tx_power_t.
[in] | power | RF power in [dbm] |
Definition at line 309 of file nrf24l01p_ng_types.h.