| LibDriver NRF24L01 1.0.0 NRF24L01 full function driver

Macros
nrf24l01 link driver function
nrf24l01 driver function

nrf24l01 link driver modules More...

## Macros
#define | DRIVER_NRF24L01_LINK_INIT(HANDLE, STRUCTURE) memset(HANDLE, 0, sizeof(STRUCTURE))
| initialize nrf24l01_handle_t structure More...
#define | DRIVER_NRF24L01_LINK_SPI_INIT(HANDLE, FUC) (HANDLE)->spi_init = FUC
| link spi_init function More...
#define | DRIVER_NRF24L01_LINK_SPI_DEINIT(HANDLE, FUC) (HANDLE)->spi_deinit = FUC
| link spi_deinit function More...
#define | DRIVER_NRF24L01_LINK_SPI_READ(HANDLE, FUC) (HANDLE)->spi_read = FUC
| link spi_read function More...
#define | DRIVER_NRF24L01_LINK_SPI_WRITE(HANDLE, FUC) (HANDLE)->spi_write = FUC
| link gpio_write function More...
#define | DRIVER_NRF24L01_LINK_GPIO_INIT(HANDLE, FUC) (HANDLE)->gpio_init = FUC
| link gpio_init function More...
#define | DRIVER_NRF24L01_LINK_GPIO_DEINIT(HANDLE, FUC) (HANDLE)->gpio_deinit = FUC
| link gpio_deinit function More...
#define | DRIVER_NRF24L01_LINK_GPIO_WRITE(HANDLE, FUC) (HANDLE)->gpio_write = FUC
| link gpio_write function More...
#define | DRIVER_NRF24L01_LINK_DELAY_MS(HANDLE, FUC) (HANDLE)->delay_ms = FUC
| link delay_ms function More...
#define | DRIVER_NRF24L01_LINK_DEBUG_PRINT(HANDLE, FUC) (HANDLE)->debug_print = FUC
| link debug_print function More...
#define | DRIVER_NRF24L01_LINK_RECEIVE_CALLBACK(HANDLE, FUC) (HANDLE)->receive_callback = FUC
| link receive_callback function More...

## Detailed Description

nrf24l01 link driver modules

## Macro Definition Documentation

## ◆ DRIVER_NRF24L01_LINK_DEBUG_PRINT

#define DRIVER_NRF24L01_LINK_DEBUG_PRINT | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->debug_print = FUC

link debug_print function

Parameters

  [in] | HANDLE | points to an nrf24l01 handle structure
  [in] | FUC | points to a debug_print function address

Note
  none

Definition at line 282 of file driver_nrf24l01.h.

## ◆ DRIVER_NRF24L01_LINK_DELAY_MS

#define DRIVER_NRF24L01_LINK_DELAY_MS | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->delay_ms = FUC

link delay_ms function

Parameters

  [in] | HANDLE | points to an nrf24l01 handle structure
  [in] | FUC | points to a delay_ms function address

Note
  none

Definition at line 274 of file driver_nrf24l01.h.

## ◆ DRIVER_NRF24L01_LINK_GPIO_DEINIT

#define DRIVER_NRF24L01_LINK_GPIO_DEINIT | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->gpio_deinit = FUC

link gpio_deinit function

Parameters

  [in] | HANDLE | points to an nrf24l01 handle structure
  [in] | FUC | points to a gpio_deinit function address

Note
  none

Definition at line 258 of file driver_nrf24l01.h.

## ◆ DRIVER_NRF24L01_LINK_GPIO_INIT

#define DRIVER_NRF24L01_LINK_GPIO_INIT | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->gpio_init = FUC

link gpio_init function

Parameters

  [in] | HANDLE | points to an nrf24l01 handle structure
  [in] | FUC | points to a gpio_init function address

Note
  none

Definition at line 250 of file driver_nrf24l01.h.

## ◆ DRIVER_NRF24L01_LINK_GPIO_WRITE

#define DRIVER_NRF24L01_LINK_GPIO_WRITE | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->gpio_write = FUC

link gpio_write function

Parameters

  [in] | HANDLE | points to an nrf24l01 handle structure
  [in] | FUC | points to a gpio_write function address

Note
  none

Definition at line 266 of file driver_nrf24l01.h.

## ◆ DRIVER_NRF24L01_LINK_INIT

#define DRIVER_NRF24L01_LINK_INIT | ( |  | HANDLE,
|  |  | STRUCTURE
| ) |  | memset(HANDLE, 0, sizeof(STRUCTURE))

initialize nrf24l01_handle_t structure

Parameters

  [in] | HANDLE | points to an nrf24l01 handle structure
  [in] | STRUCTURE | is nrf24l01_handle_t

Note
  none

Definition at line 210 of file driver_nrf24l01.h.

## ◆ DRIVER_NRF24L01_LINK_RECEIVE_CALLBACK

#define DRIVER_NRF24L01_LINK_RECEIVE_CALLBACK | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->receive_callback = FUC

link receive_callback function

Parameters

  [in] | HANDLE | points to an nrf24l01 handle structure
  [in] | FUC | points to a receive_callback function address

Note
  none

Definition at line 290 of file driver_nrf24l01.h.

## ◆ DRIVER_NRF24L01_LINK_SPI_DEINIT

#define DRIVER_NRF24L01_LINK_SPI_DEINIT | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->spi_deinit = FUC

link spi_deinit function

Parameters

  [in] | HANDLE | points to an nrf24l01 handle structure
  [in] | FUC | points to a spi_deinit function address

Note
  none

Definition at line 226 of file driver_nrf24l01.h.

## ◆ DRIVER_NRF24L01_LINK_SPI_INIT

#define DRIVER_NRF24L01_LINK_SPI_INIT | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->spi_init = FUC

link spi_init function

Parameters

  [in] | HANDLE | points to an nrf24l01 handle structure
  [in] | FUC | points to a spi_init function address

Note
  none

Definition at line 218 of file driver_nrf24l01.h.

## ◆ DRIVER_NRF24L01_LINK_SPI_READ

#define DRIVER_NRF24L01_LINK_SPI_READ | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->spi_read = FUC

link spi_read function

Parameters

  [in] | HANDLE | points to an nrf24l01 handle structure
  [in] | FUC | points to a spi_read function address

Note
  none

Definition at line 234 of file driver_nrf24l01.h.

## ◆ DRIVER_NRF24L01_LINK_SPI_WRITE

#define DRIVER_NRF24L01_LINK_SPI_WRITE | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->spi_write = FUC

link gpio_write function

Parameters

  [in] | HANDLE | points to an nrf24l01 handle structure
  [in] | FUC | points to a gpio_write function address

Note
  none

Definition at line 242 of file driver_nrf24l01.h.