LibDriver TPL0501
Loading...
Searching...
No Matches
driver_tpl0501_interface.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_TPL0501_INTERFACE_H
38#define DRIVER_TPL0501_INTERFACE_H
39
40#include "driver_tpl0501.h"
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
52
60uint8_t tpl0501_interface_spi_init(void);
61
70
80uint8_t tpl0501_interface_spi_write_cmd(uint8_t *buf, uint16_t len);
81
87void tpl0501_interface_delay_ms(uint32_t ms);
88
94void tpl0501_interface_debug_print(const char *const fmt, ...);
95
99
100#ifdef __cplusplus
101}
102#endif
103
104#endif
driver tpl0501 header file
void tpl0501_interface_delay_ms(uint32_t ms)
interface delay ms
uint8_t tpl0501_interface_spi_deinit(void)
interface spi bus deinit
void tpl0501_interface_debug_print(const char *const fmt,...)
interface print format data
uint8_t tpl0501_interface_spi_write_cmd(uint8_t *buf, uint16_t len)
interface spi bus write command
uint8_t tpl0501_interface_spi_init(void)
interface spi bus init