Hello,
I am in the processing of porting ZAP to an MCU other than the MSP430 and am having some problems with hal_sleep.c. There are a number of macro functions that are used but as far as I can tell are not defined anywhere in the MSP430 ZAP or Zstack project trees. Specifically, the macros are:
MAC_RADIO_TIMER_WAKE_UP(), MAC_RADIO_TIMER_SLEEP(), HAL_MAC_SLEEP_TIMER_SPEED_UP(), HAL_MAC_SLEEP_TIMER_SLOW_DOWN(),
HAL_MAC_SLEEP_TIMER_COMPARE(), HAL_MAC_SLEEP_TIMER_SET_COMPARE(), HAL_MAC_SLEEP_TIMER_TAR(),
HAL_MAC_SLEEP_TIMER_RESTART(), HAL_BEACON_ENABLE_EARLY_WAKEUP()
I can't find any explanation of what these functions need to do.
Can you help?
Thanks