
234
CHAPTER 9 MULTIFUNCTIONAL TIMER
9.3.2
Registers of the Output Compare
The output compare has the following two registers.
• Compare register (OCCP0-7)
• Output control register (OCS0-7)
■
Compare register (OCCP0 to 7)
The register configuration of the compare registers (OCCP0 to 7) is as follows:
This register is a 16-bit compare register for comparison with the 16-bit free-run timer. Since the
initial value of this register is not fixed, allow activation only after a value has been set. Access
this register in word units. When this register value matches a value of the 16-bit free-run timer,
a compare signal is issued and an output-compare interrupt flag is set. When output permission
is set, the output level corresponding to the compare register is reversed.
Note:
To rewriting the compare register, within the compare interrupt routine or compare operation
is disabled. Be sure not to occur simultaneously a compare match and writing the compare
register.
■
Output control register (OCS0 to 7)
The register configuration of the output control registers (OCS0 to 7) is as follows:
This section explains ch0 and ch1. The explanation of ch0 also applies to ch2, ch4, and ch6,
while the explanation of ch1 applies also to ch3, ch5, and ch7.
(X)
Bit15
OP15
R/W
(X)
Bit14
OP14
R/W
(X)
Bit13
OP13
R/W
(X)
Bit12
OP12
R/W
(X)
Bit11
OP11
R/W
(X)
Bit10
OP10
R/W
(X)
Bit9
OP09
R/W
(X)
Bit8
OP08
R/W
(X)
Bit7
OP07
R/W
(X)
Bit6
OP06
R/W
(X)
Bit5
OP05
R/W
(X)
Bit4
OP04
R/W
(X)
Bit3
OP03
R/W
(X)
Bit2
OP02
R/W
(X)
Bit1
OP01
R/W
(X)
Bit0
OP00
R/W
Upper 8 bits of
compare register
Lower 8 bits of
compare register
(X)
Bit15
R/W
(X)
Bit14
R/W
(X)
Bit13
R/W
(0)
Bit12
CMOD
R/W
(0)
Bit11
OTE1
R/W
(0)
Bit10
OTE0
R/W
(0)
Bit9
OTD1
R/W
(0)
Bit8
OTD0
R/W
(0)
Bit7
IOP1
R/W
(0)
Bit6
IOP0
R/W
(0)
Bit5
IOE1
R/W
(0)
Bit4
IOE0
R/W
(X)
Bit3
R/W
(X)
Bit2
R/W
(0)
Bit1
CST1
R/W
(0)
Bit0
CST0
R/W
Upper 8 bits of
output control register
Lower 8 bits of
output control register
Содержание MB91150 Series
Страница 1: ......
Страница 2: ......
Страница 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Страница 4: ......
Страница 10: ...vi ...
Страница 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Страница 174: ...158 CHAPTER 5 I O PORTS Note DDRI bit 6 is a test bit Always set the bit to 0 The value read from this bit is always 0 ...
Страница 178: ...162 CHAPTER 5 I O PORTS ...
Страница 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Страница 240: ...224 CHAPTER 8 PPG TIMER ...
Страница 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Страница 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Страница 362: ...346 CHAPTER 15 UART ...
Страница 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Страница 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Страница 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 510: ...494 INDEX ...
Страница 512: ......