Part Number: MSP430G2211
I am having a bit of trouble understanding how to assign a specific pin to a Comparator_A module on msp430g2211. The example code has the following:Now I understand that CACTL1 is assigned to be 0.25*VCC and is on but how do we know it's on the -comp? Also CACTL2 is assigned to P2CA4 which is stated to be P1.1 (or CA1), but how do you know it's P1.1? What if you wanted to use P1.5 to be assigned to CACTL2 which according to the datasheet (see page 6) is CA5?
I looked further into this and found the msp430x2xx family user's guide where on page 531 it explains a bit of the nomenclature but I'm still not very clear on how to assign CACTL2 to specific pins. Help is appreciated!


