Hi, because of the fact that i am new on the MSP430 ultra low power microcontroller, is anyone who can help me solve the above?
Initially i am trying using the IAR to write on the MSP430F157 microcontroller a capture Interrupt service routine for external 50Hz reference frequency. The programe is:
HCCR2 PUSH R5
MOV CCR2,R5
SUB VZC_LASTCAP,R5
MOV VZC_DELTA,VZC_2DELTA
ADD R5,VZC_2DELTA
MOV R5,VZC_DELTA
MOV CCR2,VZC_LASTCAP
CAP2_END POP R5
RETI
JMP $
Why the IAR doesnt recognise the VZC_DELTA, VZC_2DELTA and VZC_LASTCAP,2?
Is it something which should be Defined before starting writing the program?
Thanks in advance, if someone knows please reply.