Firmware SDK
|
LP8 driver. More...
#include <twr_lp8.h>
Data Fields | |
bool(* | init )(void) |
Callback for initialization. | |
bool(* | charge_enable )(bool state) |
Callback for charging control. | |
bool(* | device_enable )(bool state) |
Callback for device power control. | |
bool(* | read_signal_rdy )(int *value) |
Callback for reading RDY signal. | |
bool(* | uart_enable )(bool state) |
Callback for UART control. | |
size_t(* | uart_write )(uint8_t *buffer, size_t length) |
Callback for UART write. | |
size_t(* | uart_read )(uint8_t *buffer, size_t length) |
Callback for UART read. | |