LibDriver SYN6288  2.0.0
SYN6288 full-featured driver
syn6288_handle_s Struct Reference

syn6288 handle structure definition More...

#include <driver_syn6288.h>

Data Fields

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)
 
void(* delay_ms )(uint32_t ms)
 
void(* debug_print )(const char *const fmt,...)
 
uint8_t type
 
uint8_t mode
 
uint8_t rate
 
uint8_t volume
 
uint8_t background_volume
 
uint8_t speed
 
uint8_t inited
 
uint8_t buf [256]
 

Detailed Description

syn6288 handle structure definition

Definition at line 204 of file driver_syn6288.h.

Field Documentation

◆ background_volume

uint8_t background_volume

play background volume

Definition at line 217 of file driver_syn6288.h.

◆ buf

uint8_t buf[256]

frame buf

Definition at line 220 of file driver_syn6288.h.

◆ debug_print

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

point to a debug_print function address

Definition at line 212 of file driver_syn6288.h.

◆ delay_ms

void(* delay_ms) (uint32_t ms)

point to a delay_ms function address

Definition at line 211 of file driver_syn6288.h.

◆ inited

uint8_t inited

inited flag

Definition at line 219 of file driver_syn6288.h.

◆ mode

uint8_t mode

play mode

Definition at line 214 of file driver_syn6288.h.

◆ rate

uint8_t rate

uart rate

Definition at line 215 of file driver_syn6288.h.

◆ speed

uint8_t speed

play speed

Definition at line 218 of file driver_syn6288.h.

◆ type

uint8_t type

text type

Definition at line 213 of file driver_syn6288.h.

◆ uart_deinit

uint8_t(* uart_deinit) (void)

point to a uart_deinit function address

Definition at line 207 of file driver_syn6288.h.

◆ uart_flush

uint8_t(* uart_flush) (void)

point to a uart_flush function address

Definition at line 209 of file driver_syn6288.h.

◆ uart_init

uint8_t(* uart_init) (void)

point to a uart_init function address

Definition at line 206 of file driver_syn6288.h.

◆ uart_read

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

point to a uart_read function address

Definition at line 208 of file driver_syn6288.h.

◆ uart_write

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

point to a uart_write function address

Definition at line 210 of file driver_syn6288.h.

◆ volume

uint8_t volume

play volume

Definition at line 216 of file driver_syn6288.h.


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