ml670100 Oki Semiconductor, ml670100 Datasheet - Page 106

no-image

ml670100

Manufacturer Part Number
ml670100
Description
Ml670100 Is A High-performance 32-bit Microcontroller
Manufacturer
Oki Semiconductor
Datasheet
7.3
7.3.1
7-14
Each Flexible Timer (FTM) channel offers a choice of four operating modes:
The MOD field in Timer Control Register n (TMnCON, n=0 - 5) specifies the operating mode
for timer channel n.
(1) Selecting Count Clock
The TMCLK field in Timer Control Register n (TMnCON, n=0 - 5) specifies the count clock
for timer channel n.
The choices for timer channels 0 and 1 include external clocks.
Timer channel 0 offers the following choices: SYSCLK, 2TBCCLK, 4TBCCLK, 8TBCCLK,
16TBCCLK, 32TBCCLK, rising edges of TMCLK[0], and falling edges of TMCLK[0].
Timer channel 1 offers the following choices: SYSCLK, 2TBCCLK, 4TBCCLK, 8TBCCLK,
16TBCCLK, 32TBCCLK, rising edges of TMCLK[1], and falling edges of TMCLK[1].
Timer channels 2 to 5 offer the following choices: SYSCLK, 2TBCCLK, 4TBCCLK,
8TBCCLK, 16TBCCLK, 32TBCCLK, 64TBCCLK, and 128TBCCLK.
(2) Starting/Stopping Timers
Writing "1" to the TMnEN (n=0 - 5) bit in the Timer Enable Register (TMEN) starts timer
channel n. Simultaneously writing "1" to multiple bits in TMEN starts the corresponding timer
channels in unison.
Writing "1" to the TMnDIS (n=0 - 5) bit in the Timer Disable Register (TMDIS) resets
TMnEN to "0" and stops timer channel n. Simultaneously writing "1" to multiple bits in
TMDIS stops the corresponding timer channels in unison.
Flexible Timer (FTM) Operation
Selecting Count Clock and Starting/Stopping Timers
- Auto-reload timer (ART)
- Compare out (CMO)
- Pulse width modulation (PWM)
- Capture (CAP)

Related parts for ml670100