LibDriver SYN6658
Loading...
Searching...
No Matches
syn6658_handle_s Struct Reference

syn6658 handle structure definition More...

#include <driver_syn6658.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

syn6658 handle structure definition

Definition at line 232 of file driver_syn6658.h.

Field Documentation

◆ buf

uint8_t buf[4096]

frame buf

Definition at line 250 of file driver_syn6658.h.

◆ debug_print

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

point to a debug_print function address

Definition at line 246 of file driver_syn6658.h.

◆ delay_ms

void(* delay_ms) (uint32_t ms)

point to a delay_ms function address

Definition at line 245 of file driver_syn6658.h.

◆ gpio_ready_deinit

uint8_t(* gpio_ready_deinit) (void)

point to a gpio_ready_deinit function address

Definition at line 235 of file driver_syn6658.h.

◆ gpio_ready_init

uint8_t(* gpio_ready_init) (void)

point to a gpio_ready_init function address

Definition at line 234 of file driver_syn6658.h.

◆ gpio_ready_read

uint8_t(* gpio_ready_read) (uint8_t *value)

point to a gpio_ready_read function address

Definition at line 236 of file driver_syn6658.h.

◆ inited

uint8_t inited

inited flag

Definition at line 247 of file driver_syn6658.h.

◆ spi_deinit

uint8_t(* spi_deinit) (void)

point to an spi_deinit function address

Definition at line 243 of file driver_syn6658.h.

◆ spi_init

uint8_t(* spi_init) (void)

point to an spi_init function address

Definition at line 242 of file driver_syn6658.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 244 of file driver_syn6658.h.

◆ type

uint8_t type

type

Definition at line 249 of file driver_syn6658.h.

◆ uart_deinit

uint8_t(* uart_deinit) (void)

point to a uart_deinit function address

Definition at line 238 of file driver_syn6658.h.

◆ uart_flush

uint8_t(* uart_flush) (void)

point to a uart_flush function address

Definition at line 240 of file driver_syn6658.h.

◆ uart_init

uint8_t(* uart_init) (void)

point to a uart_init function address

Definition at line 237 of file driver_syn6658.h.

◆ uart_read

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

point to a uart_read function address

Definition at line 239 of file driver_syn6658.h.

◆ uart_spi

uint8_t uart_spi

uart_spi flag

Definition at line 248 of file driver_syn6658.h.

◆ uart_write

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

point to a uart_write function address

Definition at line 241 of file driver_syn6658.h.


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