Tool/software: Code Composer Studio
Hello Everyone,
I have a simple question regarding reading port pins in msp430.
As we all know if we want to read e.g. P1.2 we write
P1DIR &=~ BIT2;
and read through
P1IN & BIT2;
but what if i real all 8 pins on the same port?
can anyone help me for the same , to read all Pins on the same port together or how can i read all 8 pins at the same time?