This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430FR2355: how to configure timer A

Part Number: MSP430FR2355

Tool/software: Code Composer Studio

Hi

i'm new with MSP430 family, want to configure TIMER A to count for x msec and to invoke an interrupt of course..

first, i'm having a trouble gaining access to the registers in my code.

the CCS recognizes only TIMER B and even so, it recognizes the register only, without the fields within it.. 

for example, writing TB0CTL is recognized, but when i want to reach the fields within the TB0CTL, like: TB0CTL.TAIE = 1 it cant find it.. 

so my questions are:

1. what is the correct syntax to use the registers? (worked in the far past with C2000 family and it was working great hope its the same here)

2. example code to configure the timer, specially with the interrupt routine..

Thanks