123456789101112131415161718192021222324252627282930313233 |
- #ifndef _BEEP_DEMO_H
- #define _BEEP_DEMO_H
- #include "iot_gpio.h"
- #include "iot_pwm.h"
- struct BEEPCTRLATTR{
- unsigned int times;
- float duty;
- unsigned int period;
- unsigned int callTime;
- };
- void BeepInit(void);
- void BeepStart(void);
- void BeepStop(void);
- void BeepCtrl(struct BEEPCTRLATTR* ctrlAttr);
- #endif
|