Searched refs:usTimerGroupIndex (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.4.0/components/freemodbus/port/ |
D | porttimer.c | 66 static const USHORT usTimerGroupIndex = CONFIG_FMB_TIMER_GROUP; // Modbus Timer group index used by… variable 74 timer_group_clr_intr_status_in_isr(usTimerGroupIndex, usTimerIndex); in vTimerGroupIsr() 77 timer_group_enable_alarm_in_isr(usTimerGroupIndex, usTimerIndex); in vTimerGroupIsr() 96 xErr = timer_init(usTimerGroupIndex, usTimerIndex, &config); in xMBPortTimersInit() 100 xErr = timer_pause(usTimerGroupIndex, usTimerIndex); in xMBPortTimersInit() 104 xErr = timer_set_counter_value(usTimerGroupIndex, usTimerIndex, 0x00000000ULL); in xMBPortTimersInit() 109 xErr = timer_set_alarm_value(usTimerGroupIndex, usTimerIndex, (uint32_t)(usTim1Timerout50us)); in xMBPortTimersInit() 114 xErr = timer_isr_register(usTimerGroupIndex, usTimerIndex, vTimerGroupIsr, in xMBPortTimersInit() 126 ESP_ERROR_CHECK(timer_pause(usTimerGroupIndex, usTimerIndex)); in vMBPortTimersEnable() 127 ESP_ERROR_CHECK(timer_set_counter_value(usTimerGroupIndex, usTimerIndex, 0ULL)); in vMBPortTimersEnable() [all …]
|
D | porttimer_m.c | 59 static const USHORT usTimerGroupIndex = CONFIG_FMB_MASTER_TIMER_GROUP; variable 67 timer_group_clr_intr_status_in_isr(usTimerGroupIndex, usTimerIndex); in vTimerGroupIsr() 70 timer_group_enable_alarm_in_isr(usTimerGroupIndex, usTimerIndex); in vTimerGroupIsr() 90 xErr = timer_init(usTimerGroupIndex, usTimerIndex, &config); in xMBMasterPortTimersInit() 94 xErr = timer_pause(usTimerGroupIndex, usTimerIndex); in xMBMasterPortTimersInit() 98 xErr = timer_set_counter_value(usTimerGroupIndex, usTimerIndex, 0x00000000ULL); in xMBMasterPortTimersInit() 104 xErr = timer_set_alarm_value(usTimerGroupIndex, usTimerIndex, (uint32_t)(usTimeOut50us)); in xMBMasterPortTimersInit() 109 xErr = timer_isr_register(usTimerGroupIndex, usTimerIndex, in xMBMasterPortTimersInit() 124 xErr = timer_pause(usTimerGroupIndex, usTimerIndex); // stop timer in xMBMasterPortTimersEnable() 128 xErr = timer_set_counter_value(usTimerGroupIndex, usTimerIndex, 0ULL); // reset timer in xMBMasterPortTimersEnable() [all …]
|