English
Language : 

M0564LE4AE Datasheet, PDF (106/161 Pages) List of Unclassifed Manufacturers – 32-BIT MICROCONTROLLER
M0564
6.17 Timer Controller (TMR)
6.17.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.
The Timer controller also provides four PWM generators. Each PWM generator supports two
PWM output channels in independent mode and complementary mode. The output state of PWM
output pin can be control by pin mask, polarity and break control, and dead-time generator.
6.17.2 Features
6.17.2.1 Timer Function Features
 Four sets of 32-bit timers, each timer equips one 24-bit up counter and one 8-bit prescale
counter
 Independent clock source for each timer
 Provides one-shot, periodic, toggle-output and continuous counting operation modes
 24-bit up counter value is readable through CNT (TIMERx_CNT[23:0])
 Supports event counting function
 24-bit capture value is readable through CAPDAT (TIMERx_CAP[23:0])
 Supports external capture pin event for interval measurement
 Supports external capture pin event to reset 24-bit up counter
 Supports chip wake-up from Idle/Power-down mode if a timer interrupt signal is
generated
 Support Timer0 ~ Timer3 time-out interrupt signal or capture interrupt signal to trigger
PWM, ADC and PDMA function
 Supports internal capture triggered while internal ACMP output signal transition
 Supports Inter-Timer trigger mode
6.17.2.2 PWM Function Features
 Supports maximum clock frequency up to 72MHz
 Supports independent mode for PWM generator with two output channels
 Supports complementary mode for PWM generator with paired PWM output channel
– 12-bit dead-time insertion with 12-bit prescale
 Supports 12-bit prescale from 1 to 4096
 Supports 16-bit PWM counter
– Up, down and up-down count operation type
– One-shot or auto-reload counter operation mode
 Supports mask function and tri-state enable for each PWM output pin
 Supports brake function
May 05, 2017
Page 106 of 161
Rev 1.00