Buz_GetSoundParam(Buz_SoundIdT ae_SoundId, Buz_BuzzerSoundT * rps_Sound )
for (lu8_Cnt = 0; lu8_Cnt < ms_BuzzerDriverConfig.u8_NumberOfSounds; lu8_Cnt++ )
{
BUZ_InitSoundT const * lps_InitSound = &ms_BuzzerDriverConfig.pst_InitSound[lu8_Cnt];
const BuzzerDriverConfigT ms_BuzzerDriverConfig =
{
#include "BuzzerDriver_config_table.cfg"
/* pst_InitSound */ &BUZ_ms_InitSound[0],
/* u8_NumberOfSounds */ sizeof(BUZ_ms_InitSound) / sizeof(BUZ_InitSoundT) /* number of sounds ! */
};
BuzzerDriver_cfg.c:
static const BUZ_InitSoundT BUZ_ms_InitSound [] =
{
/*------------------------------------------*/
/* Sound "OPENING_1" */
{
/* e_SoundId */ E_BUZ_SOUND_POT_OPENING_1,
/* pf_Para_Sound */ Sci_DRead_ParaBuzzerDriver_st_BuzzerSoundOpening1
},
/*------------------------------------------*/
/* Sound "OPENING_2" */
{
/* e_SoundId */ E_BUZ_SOUND_POT_OPENING_2,
/* pf_Para_Sound */ Sci_DRead_ParaBuzzerDriver_st_BuzzerSoundOpening2
},
/*------------------------------------------*/
/* Sound "CLOSING_1" */