new buzzer component
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user