Hello, when using ftm to count the number of rising edges,
1. Which function to use to stop and clear FTM_ DRV_ The value of GetInputCaptureMeasurement,
2. Currently using FTM_ DRV_ Deinit stopped, but cannot restart during reinitialization,
3. When the value overflows, are all subsequent values incorrect? Is it just an overflow value error
Hi @zhouqicheng
We do not see any functions in the SDK to stop and/or clear the FTM counter.
If you refer to the Counter (CNT) register in the reference manual, the following description is provided: "Reset clears the CNT register". This means that the ways to stop and/or clear the counter is by a reset or by disabling it as you are doing.
B.R.
VaneB