Datasheet

2010-2012 Microchip Technology Inc. DS39977F-page 201
PIC18F66K80 FAMILY
REGISTER 12-1: MDCON: MODULATION CONTROL REGISTER
R/W-0 R/W-0 R/W-1 R/W-0 R/W-0 U-0 U-0 R/W-0
MDEN MDOE MDSLR MDOPOL MDO
—MDBIT
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7
MDEN: Modulator Module Enable bit
1 = Modulator module is enabled and mixing input signals
0 = Modulator module is disabled and has no output
bit 6
MDOE: Modulator Module Pin Output Enable bit
1 = Modulator pin output is enabled
0 = Modulator pin output is disabled
bit 5
MDSLR: MDOUT Pin Slew Rate Limiting bit
1 = MDOUT pin slew rate limiting is enabled
0 = MDOUT pin slew rate limiting is disabled
bit 4
MDOPOL: Modulator Output Polarity Select bit
1 = Modulator output signal is inverted
0 = Modulator output signal is not inverted
bit 3
MDO: Modulator Output bit
Displays the current output value of the modulator module.
(2)
bit 2-1 Unimplemented: Read as ‘0
bit 0
MDBIT: Modulator Source Input bit
Allows software to manually set modulation source input to module.
(1)
Note 1: The MDBIT must be selected as the modulation source in the MDSRC register for this operation.
2: The modulated output frequency can be greater and asynchronous from the clock that updates this
register bit. The bit value may not be valid for higher speed modulator or carrier signals.