Hello @hong9424,
In this 32-bit periodic counter (compare mode) that you chose.
It can be cleared either by disabling and enabling the timer or using an input trigger as shown below.
BR, Daniel
Hello @hong9424,
Is the LPIT in the 32-bit trigger capture mode?
If so, this is probably the configuration you are looking for:
Regards,
Daniel
这是我的配置,使用的是32 位触发器,目前是通过LPIT_DRV_StopTimerChannels(INST_UART_TIMEOUT_LPIT1, 1U << 0);
LPIT_DRV_StartTimerChannels(INST_UART_TIMEOUT_LPIT1, 1U << 0);
来重启清空计数器,请问是否有函数直接清空计数器,不需要重启定时器
Hello @hong9424,
In this 32-bit periodic counter (compare mode) that you chose.
It can be cleared either by disabling and enabling the timer or using an input trigger as shown below.
BR, Daniel