Microchip Technology DM183037 Data Sheet
2012 Microchip Technology Inc.
DS30575A-page 241
PIC18F97J94 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
MDOUT
(
)
—
—
MDBIT
(
bit 7
bit 0
Legend:
R = Readable bit
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
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
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
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
1 = Modulator output signal is inverted
0 = Modulator output signal is not inverted
bit 3
MDOUT: Modulator Output bit
Displays the current output value of the Modulator module.
bit 2-1
Unimplemented: Read as ‘0’
bit 0
MDBIT: Modulator Source Input bit
(
)
Allows software to manually set modulation source input to the module.
Note 1:
The MDBIT must be selected as the modulation source in the MDCON 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.
register bit. The bit value may not be valid for higher speed Modulator or carrier signals.