| LibDriver LLCC68 1.0.0 LLCC68 full function driver

driver_llcc68_interface.h
Go to the documentation of this file.
1
37 #ifndef DRIVER_LLCC68_INTERFACE_H
38 #define DRIVER_LLCC68_INTERFACE_H
39
40 #include "driver_llcc68.h"
41
42 #ifdef __cplusplus
43 extern "C"{
44 #endif
45
60 uint8_t llcc68_interface_spi_init(void);
61
69 uint8_t llcc68_interface_spi_deinit(void);
70
82 uint8_t llcc68_interface_spi_write_read(uint8_t *in_buf, uint32_t in_len,
83 uint8_t *out_buf, uint32_t out_len);
84
92 uint8_t llcc68_interface_reset_gpio_init(void);
93
101 uint8_t llcc68_interface_reset_gpio_deinit(void);
102
111 uint8_t llcc68_interface_reset_gpio_write(uint8_t data);
112
120 uint8_t llcc68_interface_busy_gpio_init(void);
121
129 uint8_t llcc68_interface_busy_gpio_deinit(void);
130
139 uint8_t llcc68_interface_busy_gpio_read(uint8_t *value);
140
146 void llcc68_interface_delay_ms(uint32_t ms);
147
153 void llcc68_interface_debug_print(const char *const fmt, ...);
154
162 void llcc68_interface_receive_callback(uint16_t type, uint8_t *buf, uint16_t len);
163
168 #ifdef __cplusplus
169 }
170 #endif
171
172 #endif
driver_llcc68.h
driver llcc68 header file
llcc68_interface_reset_gpio_init
uint8_t llcc68_interface_reset_gpio_init(void)
interface reset gpio init
Definition: driver_llcc68_interface_template.c:87
llcc68_interface_busy_gpio_read
uint8_t llcc68_interface_busy_gpio_read(uint8_t *value)
interface busy gpio read
Definition: driver_llcc68_interface_template.c:149
llcc68_interface_busy_gpio_deinit
uint8_t llcc68_interface_busy_gpio_deinit(void)
interface busy gpio deinit
Definition: driver_llcc68_interface_template.c:136
llcc68_interface_spi_deinit
uint8_t llcc68_interface_spi_deinit(void)
interface spi bus deinit
Definition: driver_llcc68_interface_template.c:58
llcc68_interface_spi_write_read
uint8_t llcc68_interface_spi_write_read(uint8_t *in_buf, uint32_t in_len, uint8_t *out_buf, uint32_t out_len)
interface spi bus write read
Definition: driver_llcc68_interface_template.c:74
llcc68_interface_reset_gpio_deinit
uint8_t llcc68_interface_reset_gpio_deinit(void)
interface reset gpio deinit
Definition: driver_llcc68_interface_template.c:99
llcc68_interface_receive_callback
void llcc68_interface_receive_callback(uint16_t type, uint8_t *buf, uint16_t len)
interface receive callback
Definition: driver_llcc68_interface_template.c:181
llcc68_interface_debug_print
void llcc68_interface_debug_print(const char *const fmt,...)
interface print format data
Definition: driver_llcc68_interface_template.c:169
llcc68_interface_delay_ms
void llcc68_interface_delay_ms(uint32_t ms)
interface delay ms
Definition: driver_llcc68_interface_template.c:159
llcc68_interface_spi_init
uint8_t llcc68_interface_spi_init(void)
interface spi bus init
Definition: driver_llcc68_interface_template.c:46
llcc68_interface_busy_gpio_init
uint8_t llcc68_interface_busy_gpio_init(void)
interface busy gpio init
Definition: driver_llcc68_interface_template.c:124
llcc68_interface_reset_gpio_write
uint8_t llcc68_interface_reset_gpio_write(uint8_t data)
interface reset gpio write
Definition: driver_llcc68_interface_template.c:112