
450
•
Bit 9—Output Level Compare Enable (OCE): This bit enables the start of output level
comparisons. When setting this bit, pay special attention to the output pin combinations shown
in table 12.19. When 0 is output, the OSF bit is set to 1 at the same time this bit is set, and
output goes to high impedance. Accordingly, bits 15–11 and bit 9 of the port E data register
(PEDR) are set to 1. For the MTU output comparison, set the bit to 1 after setting the MTU’s
output pins with the PFC. Set this bit only when using pins as outputs.
When the OCE bit is set to 1, if OIE = 0 a high-impedance request will not be issued even if
OSF is set to 1. Therefore, in order to have a high-impedance request issued according to the
result of the output comparison, the OIE bit must be set to 1. When OCE = 1 and OIE = 1, an
interrupt request will be generated at the same time as the high-impedance request; however,
this interrupt can be masked by means of an interrupt controller (INTC) setting.
Bit 9: OCE
Description
0
Output level compare disabled (initial value)
1
Output level compare enabled; makes an output high impedance request
when OSF = 1.
•
Bit 8—Output Short Interrupt Enable (OIE): Makes interrupt requests when the OSF bit of the
OCSR is set.
Bit 8: OIE
Description
0
Interrupt requests disabled (initial value)
1
Interrupt requests enabled
•
Bits 7–0—Reserved: Always read as 0, and cannot be modified.
Содержание SH7041 Series
Страница 2: ......
Страница 6: ......
Страница 38: ...xvi ...
Страница 44: ...6 ...
Страница 46: ...8 ...
Страница 48: ...10 ...
Страница 82: ...44 ...
Страница 114: ...76 ...
Страница 118: ...80 ...
Страница 124: ...86 ...
Страница 170: ...132 ...
Страница 250: ...212 ...
Страница 492: ...454 ...
Страница 506: ...468 ...
Страница 604: ...566 ...
Страница 684: ...646 ...
Страница 706: ...668 ...
Страница 778: ...740 ...
Страница 780: ...742 ...
Страница 818: ...780 ...
Страница 850: ...812 ...
Страница 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...