Searched refs:counter_obj (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/counter/ |
D | counter_ifx_cat1.c | 34 cyhal_timer_t counter_obj; member 102 cyhal_timer_enable_event(&data->counter_obj, CYHAL_TIMER_IRQ_CAPTURE_COMPARE, in ifx_cat1_counter_event_callback() 106 data->alarm_cfg_counter.callback(dev, 1, cyhal_timer_read(&data->counter_obj), in ifx_cat1_counter_event_callback() 129 cyhal_timer_enable_event(&data->counter_obj, CYHAL_TIMER_IRQ_CAPTURE_COMPARE, in ifx_cat1_counter_set_int_pending() 131 Cy_TCPWM_SetInterrupt(data->counter_obj.tcpwm.base, in ifx_cat1_counter_set_int_pending() 132 _CYHAL_TCPWM_CNT_NUMBER(data->counter_obj.tcpwm.resource), in ifx_cat1_counter_set_int_pending() 155 rslt = cyhal_timer_init_cfg(&data->counter_obj, &timer_configurator); in ifx_cat1_counter_init() 170 rslt = cyhal_timer_configure(&data->counter_obj, &data->counter_cfg); in ifx_cat1_counter_init() 177 rslt = cyhal_timer_set_frequency(&data->counter_obj, config->counter_info.freq); in ifx_cat1_counter_init() 198 rslt = cyhal_timer_connect_digital(&data->counter_obj, data->signal_source, in ifx_cat1_counter_init() [all …]
|