LibDriver BA234
Loading...
Searching...
No Matches
ba234 extern driver function

ba234 extern driver modules More...

Collaboration diagram for ba234 extern driver function:

Functions

uint8_t ba234_set_buffer (ba234_handle_t *handle, uint8_t *buf, uint16_t len)
 set buffer
uint8_t ba234_get_buffer (ba234_handle_t *handle, uint8_t *buf, uint16_t len)
 get buffer

Detailed Description

ba234 extern driver modules

Function Documentation

◆ ba234_get_buffer()

uint8_t ba234_get_buffer ( ba234_handle_t * handle,
uint8_t * buf,
uint16_t len )

get buffer

Parameters
[in]*handlepointer to a ba234 handle structure
[out]*bufpointer to a data buffer
[in]lenbuffer length
Returns
status code
  • 0 success
  • 1 get buffer failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 617 of file driver_ba234.c.

◆ ba234_set_buffer()

uint8_t ba234_set_buffer ( ba234_handle_t * handle,
uint8_t * buf,
uint16_t len )

set buffer

Parameters
[in]*handlepointer to a ba234 handle structure
[in]*bufpointer to a data buffer
[in]lenbuffer length
Returns
status code
  • 0 success
  • 1 set buffer failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 574 of file driver_ba234.c.