/Zephyr-latest/drivers/counter/ |
D | counter_esp32_tmr.c | 80 timer_ll_enable_intr(data->hal_ctx.dev, TIMER_LL_EVENT_ALARM(data->hal_ctx.timer_id), in counter_esp32_init() 82 timer_ll_clear_intr_status(data->hal_ctx.dev, TIMER_LL_EVENT_ALARM(data->hal_ctx.timer_id)); in counter_esp32_init() 83 timer_ll_enable_auto_reload(data->hal_ctx.dev, data->hal_ctx.timer_id, in counter_esp32_init() 85 timer_ll_set_clock_source(data->hal_ctx.dev, data->hal_ctx.timer_id, in counter_esp32_init() 87 timer_ll_set_clock_prescale(data->hal_ctx.dev, data->hal_ctx.timer_id, cfg->config.divider); in counter_esp32_init() 88 timer_ll_set_count_direction(data->hal_ctx.dev, data->hal_ctx.timer_id, in counter_esp32_init() 90 timer_ll_enable_alarm(data->hal_ctx.dev, data->hal_ctx.timer_id, cfg->config.alarm_en); in counter_esp32_init() 91 timer_ll_set_reload_value(data->hal_ctx.dev, data->hal_ctx.timer_id, 0); in counter_esp32_init() 92 timer_ll_enable_counter(data->hal_ctx.dev, data->hal_ctx.timer_id, cfg->config.counter_en); in counter_esp32_init() 113 timer_ll_enable_counter(data->hal_ctx.dev, data->hal_ctx.timer_id, TIMER_START); in counter_esp32_start() [all …]
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/ |
D | timer.c | 80 osStatus_t osTimerStart(osTimerId_t timer_id, uint32_t ticks) in osTimerStart() argument 82 struct cv2_timer *timer = (struct cv2_timer *)timer_id; in osTimerStart() 106 osStatus_t osTimerStop(osTimerId_t timer_id) in osTimerStop() argument 108 struct cv2_timer *timer = (struct cv2_timer *)timer_id; in osTimerStop() 130 osStatus_t osTimerDelete(osTimerId_t timer_id) in osTimerDelete() argument 132 struct cv2_timer *timer = (struct cv2_timer *) timer_id; in osTimerDelete() 154 const char *osTimerGetName(osTimerId_t timer_id) in osTimerGetName() argument 156 struct cv2_timer *timer = (struct cv2_timer *)timer_id; in osTimerGetName() 168 uint32_t osTimerIsRunning(osTimerId_t timer_id) in osTimerIsRunning() argument 170 struct cv2_timer *timer = (struct cv2_timer *)timer_id; in osTimerIsRunning()
|
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v1/timer_synchronization/src/ |
D | main.c | 59 osTimerId timer_id; in main() local 63 timer_id = osTimerCreate(osTimer(myTimer), osTimerPeriodic, NULL); in main() 72 osTimerStart(timer_id, TIMER_TICKS); in main() 83 osTimerStop(timer_id); in main() 86 osTimerDelete(timer_id); in main()
|
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v2/timer_synchronization/src/ |
D | main.c | 68 osTimerId_t timer_id; in main() local 85 timer_id = osTimerNew(read_msg_callback, osTimerPeriodic, NULL, in main() 87 osTimerStart(timer_id, TIMER_TICKS); in main() 99 osTimerStop(timer_id); in main() 100 osTimerDelete(timer_id); in main()
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_timer.c | 70 osStatus osTimerStart(osTimerId timer_id, uint32_t millisec) in osTimerStart() argument 72 struct timer_obj *timer = (struct timer_obj *) timer_id; in osTimerStart() 96 osStatus osTimerStop(osTimerId timer_id) in osTimerStop() argument 98 struct timer_obj *timer = (struct timer_obj *) timer_id; in osTimerStop() 120 osStatus osTimerDelete(osTimerId timer_id) in osTimerDelete() argument 122 struct timer_obj *timer = (struct timer_obj *) timer_id; in osTimerDelete()
|
/Zephyr-latest/modules/canopennode/ |
D | canopen_leds.c | 23 static void canopen_leds_update(struct k_timer *timer_id) in canopen_leds_update() argument 28 ARG_UNUSED(timer_id); in canopen_leds_update()
|
/Zephyr-latest/include/zephyr/portability/ |
D | cmsis_os2.h | 499 const char *osTimerGetName(osTimerId_t timer_id); 505 osStatus_t osTimerStart(osTimerId_t timer_id, uint32_t ticks); 510 osStatus_t osTimerStop(osTimerId_t timer_id); 515 uint32_t osTimerIsRunning(osTimerId_t timer_id); 520 osStatus_t osTimerDelete(osTimerId_t timer_id);
|
D | cmsis_os.h | 398 osStatus osTimerStart (osTimerId timer_id, uint32_t millisec); 404 osStatus osTimerStop (osTimerId timer_id); 410 osStatus osTimerDelete (osTimerId timer_id);
|
/Zephyr-latest/drivers/adc/ |
D | adc_context.h | 89 static void adc_context_on_timer_expired(struct k_timer *timer_id); 128 static void adc_context_on_timer_expired(struct k_timer *timer_id) in adc_context_on_timer_expired() argument 131 CONTAINER_OF(timer_id, struct adc_context, timer); in adc_context_on_timer_expired()
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_mc_esp32.c | 75 uint8_t timer_id; member 123 mcpwm_ll_operator_connect_timer(data->hal.dev, channel->operator_id, channel->timer_id); in mcpwm_esp32_duty_set() 193 mcpwm_ll_timer_set_clock_prescale(data->hal.dev, channel->timer_id, channel->prescale); in mcpwm_esp32_timer_set() 194 mcpwm_ll_timer_set_count_mode(data->hal.dev, channel->timer_id, MCPWM_TIMER_COUNT_MODE_UP); in mcpwm_esp32_timer_set() 195 mcpwm_ll_timer_update_period_at_once(data->hal.dev, channel->timer_id); in mcpwm_esp32_timer_set() 199 mcpwm_ll_timer_set_peak(data->hal.dev, channel->timer_id, timer_clk_hz / channel->freq, in mcpwm_esp32_timer_set() 279 mcpwm_ll_timer_set_start_stop_command(data->hal.dev, channel->timer_id, in mcpwm_esp32_set_cycles() 417 channel->timer_id = i < 2 ? 0 : i < 4 ? 1 : 2; in channel_init()
|
/Zephyr-latest/subsys/task_wdt/ |
D | task_wdt.c | 102 static void task_wdt_trigger(struct k_timer *timer_id) in task_wdt_trigger() argument 104 uintptr_t channel_id = (uintptr_t)k_timer_user_data_get(timer_id); in task_wdt_trigger()
|
/Zephyr-latest/samples/drivers/espi/src/ |
D | espi_oob_handler.c | 32 void temperature_timer(struct k_timer *timer_id); 167 void temperature_timer(struct k_timer *timer_id) in temperature_timer() argument
|
/Zephyr-latest/subsys/sensing/ |
D | sensor_mgmt.c | 282 static void sensing_sensor_polling_timer(struct k_timer *timer_id) in sensing_sensor_polling_timer() argument 284 struct sensing_sensor *sensor = CONTAINER_OF(timer_id, in sensing_sensor_polling_timer()
|
/Zephyr-latest/doc/services/portability/ |
D | cmsis_rtos_v2.rst | 45 ``osErrorResource`` (the timer specified by parameter timer_id
|
/Zephyr-latest/tests/kernel/context/src/ |
D | main.c | 217 static void idle_timer_expiry_function(struct k_timer *timer_id) in idle_timer_expiry_function() argument
|
/Zephyr-latest/doc/kernel/services/timing/ |
D | timers.rst | 114 extern void my_expiry_function(struct k_timer *timer_id);
|