Home
last modified time | relevance | path

Searched refs:hc32_device (Results 1 – 1 of 1) sorted by relevance

/bsp/hc32/libraries/hc32_drivers/
A Ddrv_pulse_encoder.c478 hc32_device->Over_Under_Flowcount = 0; in _tmra_pulse_encoder_clear_count()
483 TMRA_Stop(hc32_device->tmr_handler); in _tmra_pulse_encoder_clear_count()
487 TMRA_Start(hc32_device->tmr_handler); in _tmra_pulse_encoder_clear_count()
496 …t32_t)((rt_int16_t)TMRA_GetCountValue(hc32_device->tmr_handler) + (hc32_device->Over_Under_Flowcou… in _tmra_pulse_encoder_get_count()
510 TMRA_Start(hc32_device->tmr_handler); in _tmra_pulse_encoder_control()
514 TMRA_Stop(hc32_device->tmr_handler); in _tmra_pulse_encoder_control()
977 hc32_device->Over_Under_Flowcount = 0; in _tmr6_pulse_encoder_clear_count()
982 TMR6_Stop(hc32_device->tmr_handler); in _tmr6_pulse_encoder_clear_count()
986 TMR6_Start(hc32_device->tmr_handler); in _tmr6_pulse_encoder_clear_count()
995 …t32_t)((rt_int16_t)TMR6_GetCountValue(hc32_device->tmr_handler) + (hc32_device->Over_Under_Flowcou… in _tmr6_pulse_encoder_get_count()
[all …]

Completed in 6 milliseconds