Firmware SDK
twr_lp8_driver_t Struct Reference

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.
 

Detailed Description

LP8 driver.

Definition at line 53 of file twr_lp8.h.


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