Output Comparison; Figure 20.3.2A Registers Of Output Comparsion - Fujitsu F2MC-16LX MB90580 Series Hardware Manual

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 Output comparison

The output compare module consists of 16-bit compare registers, compare output pins, and control regis-
ter. If the value written to the compare register of this module matches the 16-bit free-run timer value, the
output level of the pin can be reversed and an interrupt can be issued.
Two compare registers exist that can be used independently. Depending on the setting, the two com-
pare registers can be used to control pin outputs.
The initial value for the pin output can be specified.
An interrupt can be issued upon a match as a result of comparison.
Output Compare Register 0, 1
Address: 00005B
H
00005D
H
Read/write
Initial value
Address: 00005A
H
00005C
H
Read/write
Initial value
Output Compare Control Status Register 0, 1
Address: 00005F
H
Read/write
Initial value
Address: 00005E
Read/write
Initial value
278
Chapter 20: 16-Bit I/O Timer
15
14
13
C15
C14
C13
R/W
R/W
R/W
X
X
X
7
6
C07
C06
R/W
R/W
X
X
15
14
13
7
6
ICP1
ICP0
H
R/W
R/W
0
0

Figure 20.3.2a Registers of output comparsion

12
11
10
C12
C11
C10
R/W
R/W
R/W
X
X
X
5
4
3
C05
C04
C03
R/W
R/W
R/W
X
X
X
12
11
10
CMOD
OTE1
OTE0
R/W
R/W
R/W
0
0
0
5
4
3
ICE1
ICE0
R/W
R/W
0
0
Bit Number
9
8
OCCP0 (Upper)
C09
C08
OCCP1 (Upper)
R/W
R/W
X
X
2
1
0
C02
C01
C00
R/W
R/W
R/W
X
X
X
9
8
Bit Number
OCS1
OTD1
OTD0
R/W
R/W
0
0
2
1
0
CST1
CST0
R/W
R/W
0
0
Bit Number
OCCP0 (Lower)
OCCP1 (Lower)
Bit Number
OCS0
MB90580 Series

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents