/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/ |
D | systimer_ll.h | 95 …ic inline void systimer_ll_set_alarm_target(systimer_dev_t *dev, uint32_t alarm_id, uint64_t value) in systimer_ll_set_alarm_target() argument 97 dev->target_val[alarm_id].hi.timer_target_hi = value >> 32; in systimer_ll_set_alarm_target() 98 dev->target_val[alarm_id].lo.timer_target_lo = value & 0xFFFFFFFF; in systimer_ll_set_alarm_target() 101 …nline)) static inline uint64_t systimer_ll_get_alarm_target(systimer_dev_t *dev, uint32_t alarm_id) in systimer_ll_get_alarm_target() argument 103 …return ((uint64_t)(dev->target_val[alarm_id].hi.timer_target_hi) << 32) | dev->target_val[alarm_id… in systimer_ll_get_alarm_target() 106 …ne void systimer_ll_connect_alarm_counter(systimer_dev_t *dev, uint32_t alarm_id, uint32_t counter… in systimer_ll_connect_alarm_counter() argument 108 dev->target_conf[alarm_id].target_timer_unit_sel = counter_id; in systimer_ll_connect_alarm_counter() 111 …nline)) static inline void systimer_ll_enable_alarm_oneshot(systimer_dev_t *dev, uint32_t alarm_id) in systimer_ll_enable_alarm_oneshot() argument 113 dev->target_conf[alarm_id].target_period_mode = 0; in systimer_ll_enable_alarm_oneshot() 116 …inline)) static inline void systimer_ll_enable_alarm_period(systimer_dev_t *dev, uint32_t alarm_id) in systimer_ll_enable_alarm_period() argument [all …]
|
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/ |
D | systimer_ll.h | 96 …ic inline void systimer_ll_set_alarm_target(systimer_dev_t *dev, uint32_t alarm_id, uint64_t value) in systimer_ll_set_alarm_target() argument 98 dev->target_val[alarm_id].hi.timer_target_hi = value >> 32; in systimer_ll_set_alarm_target() 99 dev->target_val[alarm_id].lo.timer_target_lo = value & 0xFFFFFFFF; in systimer_ll_set_alarm_target() 102 …nline)) static inline uint64_t systimer_ll_get_alarm_target(systimer_dev_t *dev, uint32_t alarm_id) in systimer_ll_get_alarm_target() argument 104 …return ((uint64_t)(dev->target_val[alarm_id].hi.timer_target_hi) << 32) | dev->target_val[alarm_id… in systimer_ll_get_alarm_target() 107 …ne void systimer_ll_connect_alarm_counter(systimer_dev_t *dev, uint32_t alarm_id, uint32_t counter… in systimer_ll_connect_alarm_counter() argument 109 dev->target_conf[alarm_id].target_timer_unit_sel = counter_id; in systimer_ll_connect_alarm_counter() 112 …nline)) static inline void systimer_ll_enable_alarm_oneshot(systimer_dev_t *dev, uint32_t alarm_id) in systimer_ll_enable_alarm_oneshot() argument 114 dev->target_conf[alarm_id].target_period_mode = 0; in systimer_ll_enable_alarm_oneshot() 117 …inline)) static inline void systimer_ll_enable_alarm_period(systimer_dev_t *dev, uint32_t alarm_id) in systimer_ll_enable_alarm_period() argument [all …]
|
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/ |
D | systimer_ll.h | 95 …ic inline void systimer_ll_set_alarm_target(systimer_dev_t *dev, uint32_t alarm_id, uint64_t value) in systimer_ll_set_alarm_target() argument 97 dev->target_val[alarm_id].hi.timer_target_hi = value >> 32; in systimer_ll_set_alarm_target() 98 dev->target_val[alarm_id].lo.timer_target_lo = value & 0xFFFFFFFF; in systimer_ll_set_alarm_target() 101 …nline)) static inline uint64_t systimer_ll_get_alarm_target(systimer_dev_t *dev, uint32_t alarm_id) in systimer_ll_get_alarm_target() argument 103 …return ((uint64_t)(dev->target_val[alarm_id].hi.timer_target_hi) << 32) | dev->target_val[alarm_id… in systimer_ll_get_alarm_target() 106 …ne void systimer_ll_connect_alarm_counter(systimer_dev_t *dev, uint32_t alarm_id, uint32_t counter… in systimer_ll_connect_alarm_counter() argument 108 dev->target_conf[alarm_id].target_timer_unit_sel = counter_id; in systimer_ll_connect_alarm_counter() 111 …nline)) static inline void systimer_ll_enable_alarm_oneshot(systimer_dev_t *dev, uint32_t alarm_id) in systimer_ll_enable_alarm_oneshot() argument 113 dev->target_conf[alarm_id].target_period_mode = 0; in systimer_ll_enable_alarm_oneshot() 116 …inline)) static inline void systimer_ll_enable_alarm_period(systimer_dev_t *dev, uint32_t alarm_id) in systimer_ll_enable_alarm_period() argument [all …]
|
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/ |
D | systimer_ll.h | 103 …ic inline void systimer_ll_set_alarm_target(systimer_dev_t *dev, uint32_t alarm_id, uint64_t value) in systimer_ll_set_alarm_target() argument 105 dev->target_val[alarm_id].hi.timer_target_hi = value >> 32; in systimer_ll_set_alarm_target() 106 dev->target_val[alarm_id].lo.timer_target_lo = value; in systimer_ll_set_alarm_target() 109 …nline)) static inline uint64_t systimer_ll_get_alarm_target(systimer_dev_t *dev, uint32_t alarm_id) in systimer_ll_get_alarm_target() argument 111 …return ((uint64_t)(dev->target_val[alarm_id].hi.timer_target_hi) << 32) | dev->target_val[alarm_id… in systimer_ll_get_alarm_target() 114 …ne void systimer_ll_connect_alarm_counter(systimer_dev_t *dev, uint32_t alarm_id, uint32_t counter… in systimer_ll_connect_alarm_counter() argument 118 (void)alarm_id; in systimer_ll_connect_alarm_counter() 122 …nline)) static inline void systimer_ll_enable_alarm_oneshot(systimer_dev_t *dev, uint32_t alarm_id) in systimer_ll_enable_alarm_oneshot() argument 124 dev->target_conf[alarm_id].target_period_mode = 0; in systimer_ll_enable_alarm_oneshot() 127 …inline)) static inline void systimer_ll_enable_alarm_period(systimer_dev_t *dev, uint32_t alarm_id) in systimer_ll_enable_alarm_period() argument [all …]
|
/hal_espressif-3.6.0/components/hal/ |
D | systimer_hal.c | 62 void systimer_hal_set_alarm_target(systimer_hal_context_t *hal, uint32_t alarm_id, uint64_t target) in systimer_hal_set_alarm_target() argument 65 systimer_ll_enable_alarm(hal->dev, alarm_id, false); in systimer_hal_set_alarm_target() 66 systimer_ll_set_alarm_target(hal->dev, alarm_id, alarm.val); in systimer_hal_set_alarm_target() 67 systimer_ll_apply_alarm_value(hal->dev, alarm_id); in systimer_hal_set_alarm_target() 68 systimer_ll_enable_alarm(hal->dev, alarm_id, true); in systimer_hal_set_alarm_target() 71 void systimer_hal_set_alarm_target(systimer_hal_context_t *hal, uint32_t alarm_id, uint64_t timesta… in systimer_hal_set_alarm_target() argument 77 systimer_ll_enable_alarm(hal->dev, alarm_id, false); in systimer_hal_set_alarm_target() 78 systimer_ll_set_alarm_target(hal->dev, alarm_id, alarm.val); in systimer_hal_set_alarm_target() 79 systimer_ll_enable_alarm(hal->dev, alarm_id, true); in systimer_hal_set_alarm_target() 82 if (delta <= 0 && !systimer_ll_is_alarm_int_fired(hal->dev, alarm_id)) { in systimer_hal_set_alarm_target() [all …]
|
/hal_espressif-3.6.0/components/freertos/port/ |
D | port_systick.c | 93 uint32_t alarm_id = SYSTIMER_LL_ALARM_OS_TICK_CORE0 + cpuid; in vPortSetupTimer() local 96 … systimer_hal_connect_alarm_counter(&systimer_hal, alarm_id, SYSTIMER_LL_COUNTER_OS_TICK); in vPortSetupTimer() 97 systimer_hal_set_alarm_period(&systimer_hal, alarm_id, 1000000UL / CONFIG_FREERTOS_HZ); in vPortSetupTimer() 98 systimer_hal_select_alarm_mode(&systimer_hal, alarm_id, SYSTIMER_ALARM_MODE_PERIOD); in vPortSetupTimer() 101 systimer_hal_enable_alarm_int(&systimer_hal, alarm_id); in vPortSetupTimer() 110 uint32_t alarm_id = SYSTIMER_LL_ALARM_OS_TICK_CORE0 + cpuid; in vPortSetupTimer() local 111 systimer_hal_enable_alarm_int(&systimer_hal, alarm_id); in vPortSetupTimer() 129 uint32_t alarm_id = SYSTIMER_LL_ALARM_OS_TICK_CORE0 + cpuid; in SysTickIsrHandler() local 131 systimer_ll_clear_alarm_int(systimer_hal->dev, alarm_id); in SysTickIsrHandler() 133 …R_LL_COUNTER_OS_TICK) / systimer_ll_get_alarm_period(systimer_hal->dev, alarm_id) - s_handled_syst… in SysTickIsrHandler() [all …]
|
/hal_espressif-3.6.0/components/hal/include/hal/ |
D | systimer_hal.h | 54 void systimer_hal_set_alarm_target(systimer_hal_context_t *hal, uint32_t alarm_id, uint64_t target); 59 void systimer_hal_set_alarm_period(systimer_hal_context_t *hal, uint32_t alarm_id, uint32_t period); 64 uint64_t systimer_hal_get_alarm_value(systimer_hal_context_t *hal, uint32_t alarm_id); 69 void systimer_hal_enable_alarm_int(systimer_hal_context_t *hal, uint32_t alarm_id); 74 void systimer_hal_select_alarm_mode(systimer_hal_context_t *hal, uint32_t alarm_id, systimer_alarm_… 89 void systimer_hal_connect_alarm_counter(systimer_hal_context_t *hal, uint32_t alarm_id, uint32_t co…
|
/hal_espressif-3.6.0/components/esp_timer/src/ |
D | esp_timer_impl_systimer.c | 79 void IRAM_ATTR esp_timer_impl_set_alarm_id(uint64_t timestamp, unsigned alarm_id) in esp_timer_impl_set_alarm_id() argument 83 timestamp_id[alarm_id] = timestamp; in esp_timer_impl_set_alarm_id()
|
D | esp_timer_impl_lac.c | 173 void IRAM_ATTR esp_timer_impl_set_alarm_id(uint64_t timestamp, unsigned alarm_id) in esp_timer_impl_set_alarm_id() argument 177 timestamp_id[alarm_id] = timestamp; in esp_timer_impl_set_alarm_id()
|
D | esp_timer_impl_frc_legacy.c | 220 timestamp_id[alarm_id] = timestamp;
|
/hal_espressif-3.6.0/components/esp_timer/private_include/ |
D | esp_timer_impl.h | 75 void esp_timer_impl_set_alarm_id(uint64_t timestamp, unsigned alarm_id);
|