English
Language : 

M0518 Datasheet, PDF (42/72 Pages) List of Unclassifed Manufacturers – 36/68 Kbytes flash, 8K bytes SRAM
NuMicro M0518 Series Datasheet
6.6 Timer Controller (TIMER)
6.6.1 Overview
The timer controller includes four 32-bit timers, TIMER0 ~ TIMER3, allowing user to easily
implement a timer control for applications. The timer can perform functions, such as frequency
measurement, delay timing, clock generation, and event counting by external input pins, and
interval measurement by external capture pins.
6.6.2 Features
 Four sets of 32-bit timers with 24-bit up counter and one 8-bit prescale counter
 Independent clock source for each timer
 Provides four timer counting modes: one-shot, periodic, toggle and continuous
counting
 Time-out period = (Period of timer clock input) * (8-bit prescale counter + 1) * (24-bit
TCMP)
 Maximum counting cycle time = (1 / T MHz) * (28) * (224), T is the period of timer clock
 24-bit up counter value is readable through TDR (Timer Data Register)
 Supports event counting function to count the event from external counter pin
(TM0~TM3)
 Supports external pin capture (TM0_EXT~TM3_EXT) for interval measurement
 Supports external pin capture (TM0_EXT~TM3_EXT) for reset 24-bit up counter
 Supports chip wake-up from Idle/Power-down mode if a timer interrupt signal is
generated
Feb 08, 2017
Page 42 of 72
Revision 1.01