Texas Instruments MSP430x4xx Computer Hardware User Manual


 
Comparator_A Registers
17-11Comparator_A
CACTL2, Comparator_A Control Register 2
76543210
Unused P2CA1 P2CA0 CAF CAOUT
rw(0) rw(0) rw(0) rw(0) rw(0) rw(0) rw(0) r(0)
Unused Bits
7-4
Unused.
P2CA1 Bit 3 Pin to CA1. This bit selects the CA1 pin function.
0 The pin is not connected to CA1
1 The pin is connected to CA1
P2CA0 Bit 2 Pin to CA0. This bit selects the CA0 pin function.
0 The pin is not connected to CA0
1 The pin is connected to CA0
CAF Bit 1 Comparator_A output filter
0 Comparator_A output is not filtered
1 Comparator_A output is filtered
CAOUT Bit 0 Comparator_A output. This bit reflects the value of the comparator output.
Writing this bit has no effect.
CAPD, Comparator_A Port Disable Register
76543210
CAPD7 CAPD6 CAPD5 CAPD4 CAPD3 CAPD2 CAPD1 CAPD0
rw(0) rw(0) rw(0) rw(0) rw(0) rw(0) rw(0) rw(0)
CAPDx Bits
7-0
Comparator_A port disable. These bits individually disable the input buffer
for the pins of the port associated with Comparator_A. For example, the
CAPDx bits can be used to individually enable or disable each P1.x pin
buffer. CAPD0 disables P1.0, CAPD1 disables P1.1, etc.
0 The input buffer is enabled.
1 The input buffer is disabled.