Hardware abstraction and low-level communication functions.
More...
Hardware abstraction and low-level communication functions.
◆ nrf24l01_chip_deselect()
Deselect nRF24L01 chip (CSN high)
- Parameters
-
device | Pointer to device configuration structure |
- Returns
- 0 on success, non-zero on error
◆ nrf24l01_chip_disable()
Disable nRF24L01 chip (CE low)
- Parameters
-
device | Pointer to device configuration structure |
- Returns
- 0 on success, non-zero on error
◆ nrf24l01_chip_enable()
Enable nRF24L01 chip (CE high)
- Parameters
-
device | Pointer to device configuration structure |
- Returns
- 0 on success, non-zero on error
◆ nrf24l01_chip_select()
Select nRF24L01 chip (CSN low)
- Parameters
-
device | Pointer to device configuration structure |
- Returns
- 0 on success, non-zero on error
◆ nrf24l01_delay()
Generate microsecond delay.
- Parameters
-
device | Pointer to device configuration structure |
us | Delay in microseconds |
Uses the configured timer to generate precise microsecond delays.
◆ nrf24l01_send_command()
uint8_t nrf24l01_send_command |
( |
nrf24l01_device * | device, |
|
|
uint8_t | command ) |
Send single byte command.
- Parameters
-
device | Pointer to device configuration structure |
command | Command byte to send |
- Returns
- Status register value