LibDriver SYN6988  1.0.0
SYN6988 full-featured driver
syn6988_handle_s Struct Reference

syn6988 handle structure definition More...

#include <driver_syn6988.h>

Data Fields

uint8_t(* gpio_ready_init )(void)
 
uint8_t(* gpio_ready_deinit )(void)
 
uint8_t(* gpio_ready_read )(uint8_t *value)
 
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)
 
uint8_t(* spi_init )(void)
 
uint8_t(* spi_deinit )(void)
 
uint8_t(* spi_transmit )(uint8_t *tx, uint8_t *rx, uint16_t len)
 
void(* delay_ms )(uint32_t ms)
 
void(* debug_print )(const char *const fmt,...)
 
uint8_t inited
 
uint8_t uart_spi
 
uint8_t type
 
uint8_t buf [4096]
 

Detailed Description

syn6988 handle structure definition

Definition at line 172 of file driver_syn6988.h.

Field Documentation

◆ buf

uint8_t buf[4096]

frame buf

Definition at line 190 of file driver_syn6988.h.

◆ debug_print

void(* debug_print) (const char *const fmt,...)

point to a debug_print function address

Definition at line 186 of file driver_syn6988.h.

◆ delay_ms

void(* delay_ms) (uint32_t ms)

point to a delay_ms function address

Definition at line 185 of file driver_syn6988.h.

◆ gpio_ready_deinit

uint8_t(* gpio_ready_deinit) (void)

point to a gpio_ready_deinit function address

Definition at line 175 of file driver_syn6988.h.

◆ gpio_ready_init

uint8_t(* gpio_ready_init) (void)

point to a gpio_ready_init function address

Definition at line 174 of file driver_syn6988.h.

◆ gpio_ready_read

uint8_t(* gpio_ready_read) (uint8_t *value)

point to a gpio_ready_read function address

Definition at line 176 of file driver_syn6988.h.

◆ inited

uint8_t inited

inited flag

Definition at line 187 of file driver_syn6988.h.

◆ spi_deinit

uint8_t(* spi_deinit) (void)

point to an spi_deinit function address

Definition at line 183 of file driver_syn6988.h.

◆ spi_init

uint8_t(* spi_init) (void)

point to an spi_init function address

Definition at line 182 of file driver_syn6988.h.

◆ spi_transmit

uint8_t(* spi_transmit) (uint8_t *tx, uint8_t *rx, uint16_t len)

point to an spi_transmit function address

Definition at line 184 of file driver_syn6988.h.

◆ type

uint8_t type

type

Definition at line 189 of file driver_syn6988.h.

◆ uart_deinit

uint8_t(* uart_deinit) (void)

point to a uart_deinit function address

Definition at line 178 of file driver_syn6988.h.

◆ uart_flush

uint8_t(* uart_flush) (void)

point to a uart_flush function address

Definition at line 180 of file driver_syn6988.h.

◆ uart_init

uint8_t(* uart_init) (void)

point to a uart_init function address

Definition at line 177 of file driver_syn6988.h.

◆ uart_read

uint16_t(* uart_read) (uint8_t *buf, uint16_t len)

point to a uart_read function address

Definition at line 179 of file driver_syn6988.h.

◆ uart_spi

uint8_t uart_spi

uart_spi flag

Definition at line 188 of file driver_syn6988.h.

◆ uart_write

uint8_t(* uart_write) (uint8_t *buf, uint16_t len)

point to a uart_write function address

Definition at line 181 of file driver_syn6988.h.


The documentation for this struct was generated from the following file: