| LibDriver NRF24L01 1.0.0 NRF24L01 full function driver

Functions
nrf24l01 extern driver function
nrf24l01 driver function

nrf24l01 extern driver modules More...

## Functions
uint8_t | nrf24l01_set_reg (nrf24l01_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len)
| set the chip register More...
uint8_t | nrf24l01_get_reg (nrf24l01_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len)
| get the chip register More...

## Detailed Description

nrf24l01 extern driver modules

## Function Documentation

## ◆ nrf24l01_get_reg()

uint8_t nrf24l01_get_reg | ( | nrf24l01_handle_t * | handle,
|  | uint8_t | reg,
|  | uint8_t * | buf,
|  | uint16_t | len
| ) |  |

get the chip register

Parameters

  [in] | *handle | points to an nrf24l01 handle structure
  [in] | reg | is the register address
  [out] | *buf | points to a data buffer
  [in] | len | is the data buffer length

Returns
  status code
  - 0 success
  - 1 read failed
  - 2 handle is NULL
  - 3 handle is not initialized

Note
  none

Definition at line 3870 of file driver_nrf24l01.c.

## ◆ nrf24l01_set_reg()

uint8_t nrf24l01_set_reg | ( | nrf24l01_handle_t * | handle,
|  | uint8_t | reg,
|  | uint8_t * | buf,
|  | uint16_t | len
| ) |  |

set the chip register

Parameters

  [in] | *handle | points to an nrf24l01 handle structure
  [in] | reg | is the register address
  [in] | *buf | points to a data buffer
  [in] | len | is the data buffer length

Returns
  status code
  - 0 success
  - 1 write failed
  - 2 handle is NULL
  - 3 handle is not initialized

Note
  none

Definition at line 3843 of file driver_nrf24l01.c.