23 #define BEEP_TOGGLE digitalToggle(BEEP_GPIO, BEEP_PIN)
24 #define BEEP_OFF systemBeep(false)
25 #define BEEP_ON systemBeep(true)
27 #define BEEP_TOGGLE do{} while(0)
28 #define BEEP_OFF do {} while(0)
29 #define BEEP_ON do {} while(0)
struct beeperConfig_s beeperConfig_t
GPIO_Mode gpioMode
Definition: sound_beeper.h:36
uint32_t gpioPeripheral
Definition: sound_beeper.h:33
bool isInverted
Definition: sound_beeper.h:37
Definition: platform.h:43
Definition: sound_beeper.h:32
GPIO_TypeDef * gpioPort
Definition: sound_beeper.h:35
void initBeeperHardware(beeperConfig_t *config)
Definition: sound_beeper_stm32f10x.c:31
void beeperInit(beeperConfig_t *beeperConfig)
Definition: sound_beeper.c:57
uint16_t gpioPin
Definition: sound_beeper.h:34
void systemBeep(bool onoff)
Definition: sound_beeper.c:52