Adicionar primeiro
This commit is contained in:
22
components/peripherals/include/buzzer.h
Executable file
22
components/peripherals/include/buzzer.h
Executable file
@@ -0,0 +1,22 @@
|
||||
#ifndef BUZZER_H_
|
||||
#define BUZZER_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/**
|
||||
* @brief Inicializa o buzzer e inicia monitoramento automático do estado EVSE.
|
||||
*/
|
||||
void buzzer_init(void);
|
||||
|
||||
/**
|
||||
* @brief Liga e desliga o buzzer manualmente (uso interno ou testes).
|
||||
*/
|
||||
void buzzer_on(void);
|
||||
void buzzer_off(void);
|
||||
|
||||
/**
|
||||
* @brief Ativa o buzzer por um período fixo (em milissegundos).
|
||||
*/
|
||||
void buzzer_beep_ms(uint16_t ms);
|
||||
|
||||
#endif /* BUZZER_H_ */
|
||||
Reference in New Issue
Block a user