hello friends,
I am developing a project to school, and I need control a sensor with use a timer, but studying some code, i find a piece of code really similar what i need to do. the problem is inside of interrupt it's is switch code where he call a function "__even_in_range()", this sintaxe only is knowned on the MSP430 plantaform. In MSP432, no is present. So there anyone can help me change the follwing code used in MSP430 to MSP432?
Thanks in advance.
#pragma vector = TIMER0_A0_VECTOR
__interrupt void Timer0_A0_ISR (void)
{
switch(__even_in_range(TA0IV, TA0IV_TAIFG))
{
c