hi ,
I've switched to the MSP430-F5529 and i'm trying to measure a PWM, and i'm having a bit of hard time understanding the registers use,
i want to use timer TA2 which has (according to the datasheet) :
P2.3/TA2.0
P2.4/TA2.1
P2.5/TA2.2
as i'm getting input i'm guessing that
p2dir = 0;
what is the
p2sel should be?
TA1CCR0 ?
TA1CCTL0?
TA1CCTL1?
TA1CTL?
and can i have a bit of an explanation about these register function?
and to which of these pins shpuld the pwm be connected to?
thank you.