Hello,
Well, I'm trying to understand the ZASA code (Sample App) for the eZ430-RF2480, and I'm having troubles to understand the variable halEventFlags and how it is used in the function appExecHal. I change the code to see what happen when I put the conditionals of the function to set the leds ON/OFF and it worked (entered on the conditional expression) only for:
if (halEventFlags & HAL_EVT_TIMER_LED) -> in this case entered on the conditional automatically
if (halEventFlags & HAL_EVT_BTN_PRESS) -> in this case, when I press the button.
Othewise, I don't know how this variable works.
Thanks,
Daniel