
449
12.10.2
Output Level Control/Status Register (OCSR)
The output level control/status register (OCSR) is a 16-bit read/write register that controls the
enable/disable of both output level comparison and interrupts, and indicates status. If the OSF bit
is set to 1, the high current pins become high impedance.
OCSR is initialized to H'0000 by an external power-on reset; however, it is not initialized for
manual resets, reset by WDT standby mode, or sleep mode, so the previous data is maintained.
Bit:
15
14
13
12
11
10
9
8
OSF
—
—
—
—
—
OCE
OIE
Initial value:
0
0
0
0
0
0
0
0
R/W:
R/(W)
*
R
R
R
R
R
R/W
R/W
Bit:
7
6
5
4
3
2
1
0
—
—
—
—
—
—
—
—
Initial value:
0
0
0
0
0
0
0
0
R/W:
R
R
R
R
R
R
R
R
Note:
*
Only 0 writes are possible to clear the flag.
•
Bit 15—Output Short Flag (OSF): This flag indicates that among the three pairs of 2 phase
outputs compared, the outputs of at least one pair have simultaneously become Low level
output.
Bit 15: OSF
Description
0
Clear condition: By writing 0 to OSF after reading an OSF = 1 (initial value)
1
Set condition: When any one pair of the 2-phase outputs simultaneously
become Low level
•
Bits 14–10—Reserved: These bits always read as 0. The write value should always be 0.
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...