/hal_infineon-3.7.0/abstraction-rtos/source/COMPONENT_THREADX/ |
D | cyabs_rtos_threadx.c | 856 cy_rslt_t cy_rtos_init_timer(cy_timer_t* timer, cy_timer_trigger_type_t type, in cy_rtos_init_timer() argument 859 if ((timer == NULL) || (fun == NULL)) in cy_rtos_init_timer() 863 timer->oneshot = (type == CY_TIMER_TYPE_ONCE); in cy_rtos_init_timer() 865 return convert_error(tx_timer_create(&(timer->tx_timer), TX_NULL, fun, arg, 1, 1, in cy_rtos_init_timer() 873 cy_rslt_t cy_rtos_start_timer(cy_timer_t* timer, cy_time_t num_ms) in cy_rtos_start_timer() argument 875 if (timer == NULL) in cy_rtos_start_timer() 881 convert_error(tx_timer_change(&(timer->tx_timer), timer_ticks, in cy_rtos_start_timer() 882 timer->oneshot ? 0 : timer_ticks)); in cy_rtos_start_timer() 887 return convert_error(tx_timer_activate(&(timer->tx_timer))); in cy_rtos_start_timer() 894 cy_rslt_t cy_rtos_stop_timer(cy_timer_t* timer) in cy_rtos_stop_timer() argument [all …]
|
/hal_infineon-3.7.0/abstraction-rtos/source/COMPONENT_RTX/ |
D | cyabs_rtos_rtxv5.c | 1016 cy_rslt_t cy_rtos_init_timer(cy_timer_t* timer, cy_timer_trigger_type_t type, in cy_rtos_init_timer() argument 1022 if (timer == NULL) in cy_rtos_init_timer() 1044 *timer = osTimerNew((osTimerFunc_t)fun, osTriggerType, (void*)arg, &attr); in cy_rtos_init_timer() 1045 CY_ASSERT((*timer == attr.cb_mem) || (*timer == NULL)); in cy_rtos_init_timer() 1046 status = (*timer == NULL) ? CY_RTOS_GENERAL_ERROR : CY_RSLT_SUCCESS; in cy_rtos_init_timer() 1057 cy_rslt_t cy_rtos_start_timer(cy_timer_t* timer, cy_time_t num_ms) in cy_rtos_start_timer() argument 1062 if (timer == NULL) in cy_rtos_start_timer() 1068 statusInternal = osTimerStart(*timer, convert_ms_to_ticks(num_ms)); in cy_rtos_start_timer() 1079 cy_rslt_t cy_rtos_stop_timer(cy_timer_t* timer) in cy_rtos_stop_timer() argument 1084 if (timer == NULL) in cy_rtos_stop_timer() [all …]
|
/hal_infineon-3.7.0/abstraction-rtos/source/COMPONENT_FREERTOS/ |
D | cyabs_rtos_freertos.c | 992 cy_rslt_t cy_rtos_init_timer(cy_timer_t* timer, cy_timer_trigger_type_t type, in cy_rtos_init_timer() argument 996 if ((timer == NULL) || (fun == NULL)) in cy_rtos_init_timer() 1016 *timer = xTimerCreate("", 1, reload, cb_arg, &timer_callback); in cy_rtos_init_timer() 1018 if (*timer == NULL) in cy_rtos_init_timer() 1036 cy_rslt_t cy_rtos_start_timer(cy_timer_t* timer, cy_time_t num_ms) in cy_rtos_start_timer() argument 1039 if (timer == NULL) in cy_rtos_start_timer() 1046 BaseType_t ret = xTimerChangePeriod(*timer, ticks, 0); in cy_rtos_start_timer() 1050 ret = xTimerStart(*timer, 0); in cy_rtos_start_timer() 1069 cy_rslt_t cy_rtos_stop_timer(cy_timer_t* timer) in cy_rtos_stop_timer() argument 1072 if (timer == NULL) in cy_rtos_stop_timer() [all …]
|
D | cyabs_freertos_helpers.c | 48 void cyabs_rtos_set_lptimer(cyhal_lptimer_t* timer) in cyabs_rtos_set_lptimer() argument 50 _timer = timer; in cyabs_rtos_set_lptimer() 148 static cyhal_lptimer_t timer; in vApplicationSleep() local 153 cy_rslt_t result = cyhal_lptimer_init(&timer); in vApplicationSleep() 156 _timer = &timer; in vApplicationSleep()
|
/hal_infineon-3.7.0/abstraction-rtos/include/ |
D | cyabs_rtos.h | 701 cy_rslt_t cy_rtos_init_timer(cy_timer_t* timer, cy_timer_trigger_type_t type, 712 cy_rslt_t cy_rtos_start_timer(cy_timer_t* timer, cy_time_t num_ms); 721 cy_rslt_t cy_rtos_stop_timer(cy_timer_t* timer); 730 cy_rslt_t cy_rtos_is_running_timer(cy_timer_t* timer, bool* state); 740 cy_rslt_t cy_rtos_deinit_timer(cy_timer_t* timer);
|
/hal_infineon-3.7.0/mtb-hal-cat1/source/ |
D | cyhal_timer.c | 110 cyhal_resource_inst_t *timer = &obj->tcpwm.resource; in _cyhal_timer_init_hw() local 111 obj->tcpwm.base = _CYHAL_TCPWM_DATA[_CYHAL_TCPWM_ADJUST_BLOCK_INDEX(timer->block_num)].base; in _cyhal_timer_init_hw() 113 …_dst_t)(_CYHAL_TCPWM_DATA[_CYHAL_TCPWM_ADJUST_BLOCK_INDEX(timer->block_num)].clock_dst + timer->ch… in _cyhal_timer_init_hw() 124 …else if (CY_RSLT_SUCCESS == (result = _cyhal_utils_allocate_clock(&(obj->tcpwm.clock), timer, CYHA… in _cyhal_timer_init_hw()
|
D | cyhal_adc_sar.c | 1514 …for(uint8_t timer = 0; !found && timer < sizeof(sample_timer_ns) / sizeof(sample_timer_ns[0]); ++t… in _cyhal_adc_populate_acquisition_timers() local 1516 if(chan_config->minimum_acquisition_ns == sample_timer_ns[timer]) in _cyhal_adc_populate_acquisition_timers() 1519 assigned_timer[channel] = timer; in _cyhal_adc_populate_acquisition_timers() 1522 else if(0 == sample_timer_ns[timer]) in _cyhal_adc_populate_acquisition_timers() 1525 sample_timer_ns[timer] = chan_config->minimum_acquisition_ns; in _cyhal_adc_populate_acquisition_timers() 1526 assigned_timer[channel] = timer; in _cyhal_adc_populate_acquisition_timers()
|
/hal_infineon-3.7.0/mtb-pdl-cat1/device-info/personalities/peripheral/ |
D | sar_scheduler-3.0.tcl | 502 for {set timer $timerBase} {$timer < $timerTop} {incr timer} { 503 … $::channels $chanNum $::CHAN_MIN_ACQ_ADC_CLOCKS_NEEDED] <= [lindex $::aperturesAdcClock $timer]} { 504 lset ::channels $chanNum $::CHAN_TIMER $timer
|
/hal_infineon-3.7.0/abstraction-rtos/include/COMPONENT_FREERTOS/ |
D | cyabs_rtos_impl.h | 92 void cyabs_rtos_set_lptimer(cyhal_lptimer_t* timer);
|
/hal_infineon-3.7.0/abstraction-rtos/ |
D | README.md | 84 - `cy_timer_callback_arg_t` : typedef from the RTOS type that is passed to the timer callback funct… 85 - `cy_timer_t` : typedef from the underlying RTOS timer type
|