HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
Loading...
Searching...
No Matches
EspTypes_Timer.h
Go to the documentation of this file.
1
14#pragma once
15
16#include "EspTypes_Base.h"
17#include "HardwareTypes.h"
18#include "McuSelect.h"
19
20// ESP-IDF C headers must be wrapped in extern "C" for C++ compatibility
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include "esp_timer.h"
26
27#ifdef __cplusplus
28}
29#endif
30
31//==============================================================================
32// ESP32 TIMER TYPE MAPPINGS
33//==============================================================================
34
35// Direct ESP-IDF type usage - no unnecessary aliases
36// These types are used internally by EspPeriodicTimer implementation
37
38// Timer handle type
39typedef esp_timer_handle_t hf_timer_handle_t;
40
41// Timestamp type
42typedef uint64_t hf_timestamp_us_t;
43
44//==============================================================================
45// END OF ESPTIMER TYPES - MINIMAL AND ESSENTIAL ONLY
46//==============================================================================
ESP32 base type definitions for hardware abstraction.
uint64_t hf_timestamp_us_t
Definition EspTypes_Timer.h:42
esp_timer_handle_t hf_timer_handle_t
Definition EspTypes_Timer.h:39
Platform-agnostic hardware type definitions for the HardFOC system.
Centralized MCU platform selection and configuration header.