English
Language : 

PIC18LF24K Datasheet, PDF (320/594 Pages) –
PIC18(L)F26/45/46K40
25.1 Register Definitions: Modulation Control
Long bit name prefixes for the Modulation peripheral is
shown in Table 25-1. Refer to Section 1.4.2.2 “Long
Bit Names” for more information.
TABLE 25-1:
Peripheral
Bit Name Prefix
MD
MD
REGISTER 25-1: MDCON0: MODULATION CONTROL REGISTER 0
R/W-0/0
U-0
R/W-0/0
R/W-0/0
U-0
U-0
EN
—
OUT
OPOL
—
—
bit 7
U-0
R/W-0/0
—
BIT
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7
bit 6
bit 5
bit 4
bit 3-1
bit 0
EN: Modulator Module Enable bit
1 = Modulator module is enabled and mixing input signals
0 = Modulator module is disabled and has no output
Unimplemented: Read as ‘0’
OUT: Modulator Output bit
Displays the current output value of the Modulator module.(1)
OPOL: Modulator Output Polarity Select bit
1 = Modulator output signal is inverted; idle high output
0 = Modulator output signal is not inverted; idle low output
Unimplemented: Read as ‘0’
BIT: Allows software to manually set modulation source input to module(2)
Note 1: 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.
2: MDBIT must be selected as the modulation source in the MDSRC register for this operation.
 2016 Microchip Technology Inc.
Preliminary
DS40001816C-page 320