EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 109

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 5 Universal Timer Unit (Timer4)
www.mcu.com.cn 109 / 703
(6) Measurement of the high and low level width of the input signal
The high or low width of the input signal is measured by counting on one edge of the input signal at the
timer input pin (TImn) and the count value is captured on the other edge.
capture operation
edge detection
channel N
timer input
(TImn)
00H xxH
capturestart
(7) Latency counter
The effective edge of the input signal at the timer input pin (TImn) begins to count and an interrupt occurs
after any delay period has elapsed.
Comparision
operation
edge detection
channel N
timer input
(TImn)
interrupt
singnal
(INTTmn)
start
Note 1. m: unit number (m=0,1) n: channel number (n=0~3).
2. For the timer input/output pins of channels 0 to 3 to be configurable, please refer to Chapter 2 Pin Functions.

Table of Contents

Related product manuals