标题: [M0518] TIMER Capture Both Edge [打印本页] 作者: admin 时间: 2022-11-24 16:23 标题: [M0518] TIMER Capture Both Edge
Application: This sample code uses the TIMER to capture both rising edge and falling edge of the external signal.
BSP Version: M0518 Series BSP CMSIS V3.00.002
Hardware: NuTiny-M0518S-V1.1
This sample code uses the TIMER to capture both rising edge and falling edge of the external signal and calculates the high level duration time base on TIMER clock.