
191
CHAPTER 7 16-BIT RELOAD TIMER
7.3.1
Control status register (TMCSR)
This register controls the operation mode and interrupts of the 16-bit timer.
Bits other than UF, CNTE, and TRG can be rewritten only when CNTE = 0.
Concurrent writing can be performed.
■
Control status register (TMCSR)
The register configuration of the control status register (TMCSR) is shown below.
[Bits 11, 10] CSL1, CSL0 (Counter clock select)
These are counter clock select bits.
Table 7.3-1 "Clock sources and CSL bits" lists the clock sources that can be selected.
[Bits 9, 8, 7] MOD2, MOD1, MOD0 (MODe)
These bits set the operation mode.
All bits must be set to 0.
[Bits 6] OUTE (OUTput Enable)
This is an output enable bit. When this bit is set to 0, the TO pin becomes a general-purpose
port and when it is set to 1, the TO pin becomes a timer output pin.
The output waveform becomes toggled output at the reload mode and rectangular output at
the one-shot mode.
[Bit 5] OUTL:
This bit set the output level of the TO pin. The output level reverses in case of setting the bit
to 0 or 1.
11
10
9
8
7
6
5
4
3
2
1
0
TMCSR
CSL1
CSL0 MOD2 MOD1 MOD0 OUTE OUTL RELD
INTE
UF
CNTE
TRG
Initial value
Address: 000032
H
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
-000
H
00003A
H
000042
H
00004A
H
Table 7.3-1 Clock sources and CSL bits
CSL1
CSL0
Clock source (
φφφφ
: machine clock)
0
0
φ
/2
1
0
1
φ
/2
3
1
0
φ
/2
5
1
1
Setting prohibited
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......