LibDriver SX1262
Loading...
Searching...
No Matches
sx1262 extern driver function

sx1262 extern driver modules More...

Collaboration diagram for sx1262 extern driver function:

Functions

uint8_t sx1262_write_read_reg (sx1262_handle_t *handle, uint8_t *in_buf, uint32_t in_len, uint8_t *out_buf, uint32_t out_len)
 write and read register

Detailed Description

sx1262 extern driver modules

Function Documentation

◆ sx1262_write_read_reg()

uint8_t sx1262_write_read_reg ( sx1262_handle_t * handle,
uint8_t * in_buf,
uint32_t in_len,
uint8_t * out_buf,
uint32_t out_len )

write and read register

Parameters
[in]*handlepointer to an sx1262 handle structure
[in]*in_bufpointer to an input buffer
[in]in_leninput length
[out]*out_bufpointer to an output buffer
[in]out_lenoutput length
Returns
status code
  • 0 success
  • 1 write read failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6235 of file driver_sx1262.c.