My Project
|
Main nRF24L01 device configuration structure. More...
#include <nrf24l01.h>
Public Attributes | |
SPI_HandleTypeDef * | spi |
GPIO_TypeDef * | irq_port |
GPIO_TypeDef * | ce_port |
GPIO_TypeDef * | csn_port |
uint8_t | irq_pin |
uint8_t | ce_pin |
uint8_t | csn_pin |
TIM_HandleTypeDef * | timer |
uint8_t | power_up |
uint8_t | primary_rx |
nrf24l01_address_width | address_width |
nrf24l01_auto_retransmit_delay | auto_retransmit_delay |
nrf24l01_auto_retransmit_count | auto_retransmit_count |
uint8_t | frequency_channel |
nrf24l01_air_data_rate | air_data_rate |
nrf24l01_rf_output_power | rf_output_power |
uint8_t | setup_lna_gain |
nrf24l01_data_pipe | data_pipe [6] |
uint8_t * | transmit_address |
uint8_t | dynamic_payload_length_enable |
uint8_t | payload_with_ack_enable |
uint8_t | dynamic_ack_enable |
Main nRF24L01 device configuration structure.
nrf24l01_address_width nrf24l01_device::address_width |
Address width configuration
nrf24l01_air_data_rate nrf24l01_device::air_data_rate |
Air data rate setting
nrf24l01_auto_retransmit_count nrf24l01_device::auto_retransmit_count |
Auto retransmit count
nrf24l01_auto_retransmit_delay nrf24l01_device::auto_retransmit_delay |
Auto retransmit delay
uint8_t nrf24l01_device::csn_pin |
GPIO pin numbers
GPIO_TypeDef * nrf24l01_device::csn_port |
GPIO ports for control pins
nrf24l01_data_pipe nrf24l01_device::data_pipe[6] |
Configuration for all 6 data pipes
uint8_t nrf24l01_device::dynamic_ack_enable |
Dynamic ACK enable
uint8_t nrf24l01_device::dynamic_payload_length_enable |
Global dynamic payload enable
uint8_t nrf24l01_device::frequency_channel |
RF frequency channel (0-125)
uint8_t nrf24l01_device::payload_with_ack_enable |
Payload with ACK enable
uint8_t nrf24l01_device::power_up |
Power state (0=down, 1=up)
uint8_t nrf24l01_device::primary_rx |
Primary mode (0=TX, 1=RX)
nrf24l01_rf_output_power nrf24l01_device::rf_output_power |
RF output power level
uint8_t nrf24l01_device::setup_lna_gain |
LNA gain setting
SPI_HandleTypeDef* nrf24l01_device::spi |
SPI handle for communication
TIM_HandleTypeDef* nrf24l01_device::timer |
Timer handle for microsecond delays
uint8_t* nrf24l01_device::transmit_address |
Transmit address