36 lines
1.3 KiB
C
36 lines
1.3 KiB
C
#ifndef __SA51024_H__
|
|
#define __SA51024_H__
|
|
/***************************************************************
|
|
copyright from private LiuXiao
|
|
if you have any question,you can contact me by email 461445092@qq.com
|
|
2022-10-05 17:56:24.020233
|
|
***************************************************************/
|
|
#include "SA51024_Cfg.h"
|
|
|
|
/***************************datatype define end************************************/
|
|
|
|
|
|
#define SA51024_WAVE_INDEX SA51024_Cfg_Main_Str.wave_index[0]
|
|
#define SA51024_WAVE_STATE SA51024_Cfg_Main_Str.state[0]
|
|
#define SA51024_WAVE_STRENGHT SA51024_Cfg_Main_Str.state[0]
|
|
#define SA51024_WAVE_TABLE SA51024_Cfg_Main_Str.wave_tbl
|
|
|
|
|
|
/***************************enum define begin************************************/
|
|
|
|
/***************************enum define end************************************/
|
|
|
|
|
|
/*****************************main control function begin**********************************/
|
|
/*********************************main control function end*******************************/
|
|
|
|
|
|
/***************************extern function begin************************************/
|
|
extern void SA51024_Init(void);
|
|
extern void SA51024_MainTask(void);
|
|
extern void SA51024_Set_State(FA51024_main_e_typ state,FA51024_ctrl_e_typ level);
|
|
/***************************extern function end************************************/
|
|
|
|
|
|
#endif
|