I want to know why intrinsic of "_even_in_range" is used
in sample of "MSP430F51x2_td0_26.c" ( MSP430ware).
-----------------------------------------------------
#pragma vector=TIMER0_D1_VECTOR
__interrupt void TIMER0_D1_ISR(void)
{
switch(__even_in_range(TD0IV,30))
{
case 0:
...
-----------------------------------------------------
I think I can do the same thing by below.;
-----------------------------------------------------
switch(TD0IV)
{
case 0:
....
-----------------------------------------------------
I read "MSP430 Optimizing C/C++ Compiler v 4.0 User's Guide"(slau132f.pdf P.96) already.
but I can't understand yet.
Regards
Toshiaki