Operation In Internal Clock Mode - Fujitsu MB90895 Series Hardware Manual

16 bit, controller manual
Table of Contents

Advertisement

CHAPTER 8 16-bit reload timer
8.5.1

Operation in Internal Clock Mode

In the internal clock mode, three operation modes can be selected by setting the
operation mode select bits in the timer control status register (TMCSR: MOD2 to
MOD0).When the operation mode and reload mode are set, a rectangular wave or a
toggle wave is output from the TOT pin.
I Setting of internal clock mode
• By setting the count clock select bits (CSL1, CSL0) in the timer control status register to "00
"10
", the 16-bit reload timer (TMRLR) is set to the internal clock mode.
B
• In the internal clock mode, the 16-bit timer register (TMR) decrements in synchronization with the
internal clock.
• In the internal clock mode, three count clock cycles can be selected by setting the count clock select bits
in the timer control status register (TMCSR: CSL1, CSL0).
[Setting a reload value to TMR]
After the 16-bit reload timer is started, the value set in the TMRLR is reloaded to the TMR.
1. Disables the timer operation (TMCSR: CNTE = 0).
2. Sets a reload value to the TMR in the TMRLR.
3. Enables the timer operation (TMCSR: CNTE = 1).
Note:
It takes 1 machine cycle (time) to load the value set in the TMRLR to the TMR after the start
trigger is input.
264
", "01
",
B
B

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx

Table of Contents