Fujitsu F2MC-16LX MB90580 Series Hardware Manual page 300

16-bit microcontrollers
Hide thumbs Also See for F2MC-16LX MB90580 Series:
Table of Contents

Advertisement

20.3 Registers and Register Details
20.3.2.2 Control status register
Output Compare Control Status Register 0, 1
Address: 00005F
H
Read/write
Initial value
Address: 00005E
Read/write
Initial value
[bits 15, 14, and 13] Unused bits
[bit 12] CMOD
CMOD is used to switch the pin output level reverse mode upon a match while pin output is enabled
(OTE1=1 or OTE0=1).
When CMOD=0 (default), the output level of the pin corresponding to the compare register is reversed.
OUT0: The level is reversed upon a match with compare register 0.
OUT1: The level is reversed upon a match with compare register 1.
When CMOD=1, the output level is reversed for compare register 0 in the same manner as for
CMOD=0. The output level of the pin corresponding to compare register 1 (OUT1), however, is
reversed upon a match with compare register 0 or 1. If compare registers 0 and 1 have the same value,
the same operation as with a single compare register is performed.
OUT0: The level is reversed upon a match with compare register 0.
OUT1: The level is reversed upon a match with compare register 0 or 1.
[bits 11 and 10] OTE1 and OTE0
These bits are used to enable output compare pin output. The initial value for these bits is '0.'
* OTE1: Corresponds to output compare 1/3 OTE0: Corresponds to output compare 0/2
* OUT0/1 are multiplexed with P94/TOUT1 and P95/TOUT2 respectively. Whne both output capture and
reload timer output are enabled. OUT0/OUT1 get the higher priority.
[bits 9 and 8] OTD1 and OTD0
These bits are used to change the pin output level when the output compare pin output is enabled. The
initial value of the compare pin output is '0.' Ensure that the compare operation is stopped before a
value is written. When read, these bits indicate the output compare pin output value.
* OTD1: Corresponds to output compare 1/3 OTD0: Corresponds to output compare 0/2
280
Chapter 20: 16-Bit I/O Timer
15
14
13
CMOD
R/W
7
6
5
ICP1
ICP0
ICE1
H
R/W
R/W
R/W
0
0
0
0
General-purpose port (default)
1
Output compare pin output
0
Sets '0' for the compare pin output. (default)
1
Sets '1' for the compare pin output.
12
11
10
9
OTE1
OTE0
OTD1
R/W
R/W
R/W
0
0
0
4
3
2
ICE0
R/W
0
8
Bit Number
OCS1
OTD0
R/W
0
0
Bit Number
1
0
OCS0
CST1
CST0
R/W
R/W
0
0
MB90580 Series

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx mb90v580F2mc-16lx mb90583F2mc-16lx mb90f583

Table of Contents