nrf_to_nrf - NRF52 Radio Driver v1.2.2
TMRh20 2023 - OSI Layer 2 radio driver using RF24 API
Loading...
Searching...
No Matches
nrf_to_nrf.cpp File Reference
#include "nrf_to_nrf.h"

Go to the source code of this file.

Macros

#define TXPOWER_PA_MIN   0xF4
 
#define TXPOWER_PA_LOW   0x02
 
#define TXPOWER_PA_HIGH   0x06
 
#define TXPOWER_PA_MAX   0x08
 
#define RADIO_MODE_MODE_Nrf_250Kbit   (2UL)
 

Functions

static uint32_t bytewise_bit_swap (uint8_t const *p_inp)
 
static uint32_t addr_conv (uint8_t const *p_addr)
 

Macro Definition Documentation

◆ TXPOWER_PA_MIN

#define TXPOWER_PA_MIN   0xF4

Definition at line 13 of file nrf_to_nrf.cpp.

◆ TXPOWER_PA_LOW

#define TXPOWER_PA_LOW   0x02

Definition at line 14 of file nrf_to_nrf.cpp.

◆ TXPOWER_PA_HIGH

#define TXPOWER_PA_HIGH   0x06

Definition at line 15 of file nrf_to_nrf.cpp.

◆ TXPOWER_PA_MAX

#define TXPOWER_PA_MAX   0x08

Definition at line 16 of file nrf_to_nrf.cpp.

◆ RADIO_MODE_MODE_Nrf_250Kbit

#define RADIO_MODE_MODE_Nrf_250Kbit   (2UL)

Definition at line 22 of file nrf_to_nrf.cpp.

Function Documentation

◆ bytewise_bit_swap()

static uint32_t bytewise_bit_swap ( uint8_t const * p_inp)
static

Definition at line 28 of file nrf_to_nrf.cpp.

◆ addr_conv()

static uint32_t addr_conv ( uint8_t const * p_addr)
static

Definition at line 40 of file nrf_to_nrf.cpp.