LibDriver HLW8032
Loading...
Searching...
No Matches
driver_hlw8032_interface.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_HLW8032_INTERFACE_H
38#define DRIVER_HLW8032_INTERFACE_H
39
40#include "driver_hlw8032.h"
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
52
60uint8_t hlw8032_interface_uart_init(void);
61
70
80uint16_t hlw8032_interface_uart_read(uint8_t *buf, uint16_t len);
81
90
96void hlw8032_interface_delay_ms(uint32_t ms);
97
103void hlw8032_interface_debug_print(const char *const fmt, ...);
104
108
109#ifdef __cplusplus
110}
111#endif
112
113#endif
driver hlw8032 header file
void hlw8032_interface_debug_print(const char *const fmt,...)
interface print format data
uint8_t hlw8032_interface_uart_flush(void)
interface uart flush
void hlw8032_interface_delay_ms(uint32_t ms)
interface delay ms
uint8_t hlw8032_interface_uart_init(void)
interface uart init
uint8_t hlw8032_interface_uart_deinit(void)
interface uart deinit
uint16_t hlw8032_interface_uart_read(uint8_t *buf, uint16_t len)
interface uart read