Microchip Technology Microstick for the 5V PIC24F K-series DM240013-2 DM240013-2 Data Sheet

Product codes
DM240013-2
Page of 338
PIC24FV16KM204 FAMILY
DS30003030B-page 234
 
 2013 Microchip Technology Inc.
    
REGISTER 21-1:
AMPxCON: OP AMP x CONTROL REGISTER
)
R/W-0
U-0
R/W-0
R/W-0
U-0
U-0
U-0
U-0
AMPEN
AMPSIDL
AMPSLP
bit 15
bit 8
R/W-0
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
SPDSEL
NINSEL2
NINSEL1
NINSEL0
PINSEL2
PINSEL1
PINSEL0
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 15
AMPEN: 
Op Amp x Control Module Enable bit 
1
 = Module is enabled
0
 = Module is disabled
bit 14
Unimplemented:
 Read as ‘0’
bit 13
AMPSIDL: 
Op Amp x Peripheral Stop in Idle Mode bit
1
 = Discontinues module operation when device enters Idle mode
0
 = Continues module operation in Idle mode
bit 12
AMPSLP: 
Op Amp x Peripheral Enabled in Sleep Mode bit
1
 = Continues module operation when device enters Sleep mode
0
 = Discontinues module operation in Sleep mode
bit  11-8
Unimplemented:
 Read as ‘0’
bit 7
SPDSEL: 
Op Amp x Power/Speed Select bit 
1
 = Higher power and bandwidth (faster response time)
0
 = Lower power and bandwidth (slower response time)
bit 6
Unimplemented:
 Read as ‘0’
bit 5-3
NINSEL<2:0>:
 Negative Op Amp Input Select bits
111
 = Reserved; do not use
110
 = Reserved; do not use
101
 = Op amp negative input is connected to the op amp output (voltage follower)
100
 = Reserved; do not use
011
 = Reserved; do not use
010
 = Op amp negative input is connected to the OAxIND pin
001
 = Op amp negative input is connected to the OAxINB pin
000
 = Op amp negative input is connected to AV
SS
bit 2-0
PINSEL<2:0>:
 Positive Op Amp Input Select bits
111
 = Op amp positive input is connected to the output of the A/D input multiplexer
110
 = Reserved; do not use
101
 = Op amp positive input is connected to the DAC1 output for OA1 (DAC2 output for OA2)
100
 = Reserved; do not use
011
 = Reserved; do not use
010
 = Op amp positive input is connected to the OAxINC pin
001
 = Op amp positive input is connected to the OAxINA pin
000
 = Op amp positive input is connected to AV
SS
Note 1:
This register is available only on PIC24F(V)16KM2XX devices.