| LibDriver NRF24L01 1.0.0 NRF24L01 full function driver

Data Fields
nrf24l01_handle_s Struct Reference
nrf24l01 driver function » nrf24l01 basic driver function

nrf24l01 handle structure definition More...

`#include <driver_nrf24l01.h>`

## Data Fields
uint8_t(* | gpio_init )(void)
uint8_t(* | gpio_deinit )(void)
uint8_t(* | gpio_write )(uint8_t value)
uint8_t(* | spi_init )(void)
uint8_t(* | spi_deinit )(void)
uint8_t(* | spi_read )(uint8_t reg, uint8_t *buf, uint16_t len)
uint8_t(* | spi_write )(uint8_t reg, uint8_t *buf, uint16_t len)
void(* | delay_ms )(uint32_t ms)
void(* | debug_print )(const char *const fmt,...)
void(* | receive_callback )(uint8_t type, uint8_t num, uint8_t *buf, uint8_t len)
uint8_t | inited
uint8_t | finished

## Detailed Description

nrf24l01 handle structure definition

Definition at line 161 of file driver_nrf24l01.h.

## Field Documentation

## ◆ debug_print

void(* debug_print) (const char *const fmt,...)

point to a debug_print function address

Definition at line 171 of file driver_nrf24l01.h.

## ◆ delay_ms

void(* delay_ms) (uint32_t ms)

point to a delay_ms function address

Definition at line 170 of file driver_nrf24l01.h.

## ◆ finished

uint8_t finished

finished flag

Definition at line 174 of file driver_nrf24l01.h.

## ◆ gpio_deinit

uint8_t(* gpio_deinit) (void)

point to a gpio_deinit function address

Definition at line 164 of file driver_nrf24l01.h.

## ◆ gpio_init

uint8_t(* gpio_init) (void)

point to a gpio_init function address

Definition at line 163 of file driver_nrf24l01.h.

## ◆ gpio_write

uint8_t(* gpio_write) (uint8_t value)

point to a gpio_write function address

Definition at line 165 of file driver_nrf24l01.h.

## ◆ inited

uint8_t inited

inited flag

Definition at line 173 of file driver_nrf24l01.h.

## ◆ receive_callback

void(* receive_callback) (uint8_t type, uint8_t num, uint8_t *buf, uint8_t len)

point to a receive_callback function address

Definition at line 172 of file driver_nrf24l01.h.

## ◆ spi_deinit

uint8_t(* spi_deinit) (void)

point to a spi_deinit function address

Definition at line 167 of file driver_nrf24l01.h.

## ◆ spi_init

uint8_t(* spi_init) (void)

point to a spi_init function address

Definition at line 166 of file driver_nrf24l01.h.

## ◆ spi_read

uint8_t(* spi_read) (uint8_t reg, uint8_t *buf, uint16_t len)

point to a spi_read function address

Definition at line 168 of file driver_nrf24l01.h.

## ◆ spi_write

uint8_t(* spi_write) (uint8_t reg, uint8_t *buf, uint16_t len)

point to a spi_write function address

Definition at line 169 of file driver_nrf24l01.h.

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

- src/driver_nrf24l01.h