new buzzer component

This commit is contained in:
2025-07-22 00:09:58 +01:00
parent 84f106eee5
commit bd587a10c0
58 changed files with 3215 additions and 6961 deletions

View File

@@ -3,8 +3,10 @@
#include <stdint.h>
#include <stdbool.h>
#include "evse_state.h" // Tipos e estados
#include "evse_state.h"
#include "freertos/FreeRTOS.h"
#include "evse_session.h"
#ifdef __cplusplus
extern "C" {
@@ -24,10 +26,17 @@ evse_state_t evse_get_state(void);
*/
void evse_set_state(evse_state_t state);
// ===============================
// Charging Session Info
// ===============================
/**
* @brief Get timestamp when the current session started (for timing limits).
* @brief Retrieve statistics of either the current ongoing session (if any)
* or the last completed session.
* @param out pointer to evse_session_t to be filled
* @return true if there is a current or last session available
*/
TickType_t evse_get_session_start(void);
bool evse_get_session(evse_session_t *out);
// ===============================
// Charging Session Info