Registers - Fujitsu MB91460 SERIES FR60 User Manual

32-bit microcontroller
Table of Contents

Advertisement

4. Registers

4.1 TCCS: Timer Control Register
A register for controlling the operation of the free-run timer.
• TCCS0 (free-run timer 0): Address 01F3h (access:
• TCCS1 (free-run timer 1): Address 01F7h (access:
• TCCS2 (free-run timer 2): Address 01FBh (access:
• TCCS3 (free-run timer 3): Address 01FFh (access:
• TCCS4 (free-run timer 4): Address 02F3h (access:
• TCCS5 (free-run timer 5): Address 02F7h (access:
• TCCS6 (free-run timer 6): Address 02FBh (access:
• TCCS7 (free-run timer 7): Address 02FFh (access:
7
6
ECLK
IVF
0
0
R/W
R (RM1), W
(About attributes, see
• bit7: Select the count clock
ECLK
0
Internal clock (the peripheral clock divided by n)
1
External clock (CK pin)
• When you change the setting of the count clock selection bit, do so when other peripheral modules (the
output compare, input capture, etc.) using the output of the free-run timer are stopped.
• When using the external clock, the period of the external clock must be more than double of the
peripheral clock (CLKP). When using the output compare, in order to allow the compare-match output
and interrupt generation, the external clock input of at least 1 clock is required after the compare-match.
• bit6: Interrupt request flag
IVF
0
No interrupt request present
Interrupt request present
1
(Overflow or compare-match)
• When the count value of the free-run timer overflows, or the clear mode bit (MODE) is "1", the interrupt
request flag is set to "1" if the count values of the free-run timer and the compare register (OCCP) match
and the counter is cleared.
• To enable the interrupt request, the interrupt enabling bit must be set to do so (IVFE="1").
• When the interrupt request flag is set to "1", and "0" is written at the same time, the interrupt request flag
is set to "1". (Setting the flag has priority.)
• bit5: Enable interrupt requests
IVFE
0
Disable interrupts
1
Enable interrupts
• When the interrupt request enabling bit is set to "1", the interrupt request (IVF) is enabled.
5
4
IVFE
STOP
MODE
0
0
R/W
R/W
R/W
"Meaning of Bit Attribute Symbols (Page
Read
Byte, Half-word, Word
Byte, Half-word, Word
Byte, Half-word, Word
Byte, Half-word, Word
Byte, Half-word, Word
Byte, Half-word, Word
Byte, Half-word, Word
Byte, Half-word, Word
3
2
1
CLR
CLK1
0
0
0
R/W
R/W
No.10)".)
Select the count clock
Status
Clear the flag (IVF).
No effect on operation
Operation
Chapter 35 Free-Run Timer
)
)
)
)
)
)
)
)
0
bit
CLK0
0
Initial value
R/W
Attribute
Write
4.Registers
735

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents