English
Language : 

PIC18F2331 Datasheet, PDF (206/396 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PIC18F2331/2431/4331/4431
REGISTER 17-7: OVDCONS: OUTPUT STATE REGISTER
R/W-0
R/W-0
R/W-0
POUT7(1) POUT6(1) POUT5
R/W-0
POUT4
R/W-0
POUT3
bit 7
R/W-0
POUT2
R/W-0
POUT1
R/W-0
POUT0
bit 0
bit 7-0
POUT7:POUT0: PWM Manual Output bits(1)
1 = Output on PWM I/O pin is ACTIVE when the corresponding PWM output override bit is
cleared.
0 = Output on PWM I/O pin is INACTIVE when the corresponding PWM output override bit is
cleared.
Note 1: Unimplemented in PIC18F2X31 devices; maintain these bits clear.
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = bit is cleared x = bit is unknown
FIGURE 17-21:
PWM OUTPUT OVERRIDE
EXAMPLE #1
1
2
3
4
5
6
PWM5
PWM4
PWM3
PWM2
PWM1
PWM0
TABLE 17-4: PWM OUTPUT OVERRIDE
EXAMPLE #1
State OVDCOND(POVD) OVDCONS(POUT)
1
00000000b
00100100b
2
00000000b
00100001b
3
00000000b
00001001b
4
00000000b
00011000b
5
00000000b
00010010b
6
00000000b
00000110b
TABLE 17-5: PWM OUTPUT OVERRIDE
EXAMPLE #2
State OVDCOND (POVD) OVDCONS (POUT)
1
11000011b
2
11110000b
3
00111100b
4
00001111b
00000000b
00000000b
00000000b
00000000b
FIGURE 17-22:
PWM OUTPUT OVERRIDE
EXAMPLE #2
1234
PWM7
PWM6
PWM5
PWM4
PWM3
PWM2
PWM1
PWM0
DS39616B-page 204
Preliminary
 2003 Microchip Technology Inc.