mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-03 23:11:34 +00:00
systimer: assign counter and alarm in esp_hw_support
This commit is contained in:
@@ -11,11 +11,6 @@
|
||||
#include "soc/clk_tree_defs.h"
|
||||
#include "hal/assert.h"
|
||||
|
||||
#define SYSTIMER_LL_COUNTER_CLOCK 0 // Counter used by esptimer, to generate the system level wall clock
|
||||
#define SYSTIMER_LL_COUNTER_OS_TICK 1 // Counter used by RTOS porting layer, to generate the OS tick
|
||||
#define SYSTIMER_LL_ALARM_OS_TICK_CORE0 0 // Alarm used by OS tick, dedicated for core 0
|
||||
#define SYSTIMER_LL_ALARM_CLOCK 2 // Alarm used by esptimer
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user