![]() |
LibDriver GP2Y1051AU0F
1.0.0
GP2Y1051AU0F full-featured driver
|
gp2y1051au0f handle structure definition More...
#include <driver_gp2y1051au0f.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) |
void(* | delay_ms )(uint32_t ms) |
void(* | debug_print )(const char *const fmt,...) |
uint8_t | inited |
gp2y1051au0f handle structure definition
Definition at line 62 of file driver_gp2y1051au0f.h.
void(* debug_print) (const char *const fmt,...) |
point to a debug_print function address
Definition at line 69 of file driver_gp2y1051au0f.h.
void(* delay_ms) (uint32_t ms) |
point to a delay_ms function address
Definition at line 68 of file driver_gp2y1051au0f.h.
uint8_t inited |
inited flag
Definition at line 70 of file driver_gp2y1051au0f.h.
uint8_t(* uart_deinit) (void) |
point to a uart_deinit function address
Definition at line 65 of file driver_gp2y1051au0f.h.
uint8_t(* uart_flush) (void) |
point to a uart_flush function address
Definition at line 67 of file driver_gp2y1051au0f.h.
uint8_t(* uart_init) (void) |
point to a uart_init function address
Definition at line 64 of file driver_gp2y1051au0f.h.
uint16_t(* uart_read) (uint8_t *buf, uint16_t len) |
point to a uart_read function address
Definition at line 66 of file driver_gp2y1051au0f.h.