![]() |
LibDriver AS608
1.0.0
AS608 full-featured driver
|
as608 handle structure definition More...
#include <driver_as608.h>
Data Fields | |
uint8_t(* | uart_init )(void) |
uint8_t(* | uart_deinit )(void) |
uint16_t(* | uart_read )(uint8_t *buf, uint16_t len) |
uint8_t(* | uart_flush )(void) |
uint8_t(* | uart_write )(uint8_t *buf, uint16_t len) |
void(* | delay_ms )(uint32_t ms) |
void(* | debug_print )(const char *const fmt,...) |
uint8_t | inited |
uint8_t | buf [384] |
uint8_t | status |
uint16_t | packet_size |
as608 handle structure definition
Definition at line 212 of file driver_as608.h.
uint8_t buf[384] |
frame buf
Definition at line 222 of file driver_as608.h.
void(* debug_print) (const char *const fmt,...) |
point to a debug_print function address
Definition at line 220 of file driver_as608.h.
void(* delay_ms) (uint32_t ms) |
point to a delay_ms function address
Definition at line 219 of file driver_as608.h.
uint8_t inited |
inited flag
Definition at line 221 of file driver_as608.h.
uint16_t packet_size |
packet size
Definition at line 224 of file driver_as608.h.
uint8_t status |
status
Definition at line 223 of file driver_as608.h.
uint8_t(* uart_deinit) (void) |
point to a uart_deinit function address
Definition at line 215 of file driver_as608.h.
uint8_t(* uart_flush) (void) |
point to a uart_flush function address
Definition at line 217 of file driver_as608.h.
uint8_t(* uart_init) (void) |
point to a uart_init function address
Definition at line 214 of file driver_as608.h.
uint16_t(* uart_read) (uint8_t *buf, uint16_t len) |
point to a uart_read function address
Definition at line 216 of file driver_as608.h.
uint8_t(* uart_write) (uint8_t *buf, uint16_t len) |
point to a uart_write function address
Definition at line 218 of file driver_as608.h.