LibDriver SYN6288
Loading...
Searching...
No Matches
driver_syn6288_advance.h File Reference

driver syn6288 advance header file More...

Include dependency graph for driver_syn6288_advance.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SYN6288_ADVANCE_SEND_CONFIG   0
 syn6288 advance send command configure
#define SYN6288_ADVANCE_DEFAULT_BAUD_RATE   SYN6288_BAUD_RATE_9600_BPS /* 9600 bps */
 syn6288 advance example default definition
#define SYN6288_ADVANCE_DEFAULT_MODE   SYN6288_MODE_COMMON /* common mode */
#define SYN6288_ADVANCE_DEFAULT_TEXT_TYPE   SYN6288_TYPE_GB2312 /* gb2312 type */
#define SYN6288_ADVANCE_DEFAULT_SYNTHESIS_VOLUME   16 /* synthesis volume 16 */
#define SYN6288_ADVANCE_DEFAULT_BACKGROUND_VOLUME   0 /* background volume 0 */
#define SYN6288_ADVANCE_DEFAULT_SYNTHESIS_SPEED   5 /* synthesis speed 5 */

Functions

uint8_t syn6288_advance_init (void)
 advance example init
uint8_t syn6288_advance_deinit (void)
 advance example deinit
uint8_t syn6288_advance_synthesis (char *text)
 advance example synthesis
uint8_t syn6288_advance_sound (syn6288_sound_t sound)
 advance example play the sound
uint8_t syn6288_advance_message (syn6288_message_t message)
 advance example play the message
uint8_t syn6288_advance_ring (syn6288_ring_t ring)
 advance example play the ring
uint8_t syn6288_advance_sync (void)
 advance example sync
uint8_t syn6288_advance_power_down (void)
 advance example power down
uint8_t syn6288_advance_stop (void)
 advance example stop
uint8_t syn6288_advance_resume (void)
 advance example resume
uint8_t syn6288_advance_pause (void)
 advance example pause

Detailed Description

driver syn6288 advance header file

Copyright (c) 2015 - present LibDriver All rights reserved

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Version
2.0.0
Author
Shifeng Li
Date
2021-03-17

history

Date Version Author Description
2021/03/17 2.0 Shifeng Li format the code
2020/12/01 1.0 Shifeng Li first upload

Definition in file driver_syn6288_advance.h.