Fujitsu MB90460 Series Hardware Manual page 257

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 12 16-BIT RELOAD TIMER
Table 12.4-1 Timer Control Status Register (TMCSRH0/TMCSRH1)
Bit name
bit15
to
Not used
bit12
CSL1, CSL0:
bit11,
Count clock selection
bit10
bits
bit9
MOD2 to MOD0:
to
Operating mode
bit7
selection bits
238
• When these bits are read, their values are undefined.
• Writing to these bits has no effect on operation.
• Selects the count clock.
• When these bits are not set to "11
clock is counted in this mode.
• When these bits are set to "11
edges are counted in this mode.
<In internal clock mode>
• The MOD2 bit is used to select input pin functions.
• When the MOD2 bit is "0", the input pin is used as a trigger input pin, so that
whenever a valid edge is input, the contents of the reload register are loaded into
the counter and counting continues. The MOD1 and MOD0 bits are used to
select the type of valid edge.
• When the MOD2 bit is "1", the input pin becomes a gate, meaning that counting
will continue only as long as a valid level signal is input. The MOD1 bit is an
unused bit, and the MOD0 bit is used to select the valid level.
<In event count mode>
• The MOD2 bit is not used. Set any value ("0" or "1").
• The input pin is used as a trigger input pin for event input, and the valid edge is
selected with MOD1 and MOD0 bits.
Function
", internal clock mode is set. The internal
B
", event count mode is set. The external clock
B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents