My Project
Loading...
Searching...
No Matches
nrf24l01_device Struct Reference

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

Detailed Description

Main nRF24L01 device configuration structure.

Member Data Documentation

◆ address_width

nrf24l01_address_width nrf24l01_device::address_width

Address width configuration

◆ air_data_rate

nrf24l01_air_data_rate nrf24l01_device::air_data_rate

Air data rate setting

◆ auto_retransmit_count

nrf24l01_auto_retransmit_count nrf24l01_device::auto_retransmit_count

Auto retransmit count

◆ auto_retransmit_delay

nrf24l01_auto_retransmit_delay nrf24l01_device::auto_retransmit_delay

Auto retransmit delay

◆ csn_pin

uint8_t nrf24l01_device::csn_pin

GPIO pin numbers

◆ csn_port

GPIO_TypeDef * nrf24l01_device::csn_port

GPIO ports for control pins

◆ data_pipe

nrf24l01_data_pipe nrf24l01_device::data_pipe[6]

Configuration for all 6 data pipes

◆ dynamic_ack_enable

uint8_t nrf24l01_device::dynamic_ack_enable

Dynamic ACK enable

◆ dynamic_payload_length_enable

uint8_t nrf24l01_device::dynamic_payload_length_enable

Global dynamic payload enable

◆ frequency_channel

uint8_t nrf24l01_device::frequency_channel

RF frequency channel (0-125)

◆ payload_with_ack_enable

uint8_t nrf24l01_device::payload_with_ack_enable

Payload with ACK enable

◆ power_up

uint8_t nrf24l01_device::power_up

Power state (0=down, 1=up)

◆ primary_rx

uint8_t nrf24l01_device::primary_rx

Primary mode (0=TX, 1=RX)

◆ rf_output_power

nrf24l01_rf_output_power nrf24l01_device::rf_output_power

RF output power level

◆ setup_lna_gain

uint8_t nrf24l01_device::setup_lna_gain

LNA gain setting

◆ spi

SPI_HandleTypeDef* nrf24l01_device::spi

SPI handle for communication

◆ timer

TIM_HandleTypeDef* nrf24l01_device::timer

Timer handle for microsecond delays

◆ transmit_address

uint8_t* nrf24l01_device::transmit_address

Transmit address


The documentation for this struct was generated from the following file: