19 #ifndef MICRO_COMMON_H_
20 #define MICRO_COMMON_H_
22 #ifndef DOXYGEN_SHOULD_SKIP_THIS
23 #ifndef __STSTATUS_TYPE__
24 #define __STSTATUS_TYPE__
29 #endif //__STSTATUS_TYPE__
30 #endif // DOXYGEN_SHOULD_SKIP_THIS
52 #define MICRO_DISABLE_WATCH_DOG_KEY 0xA5
75 #ifdef DOXYGEN_SHOULD_SKIP_THIS
146 #ifdef CORTEXM3_STM32F103
147 #include "micro/cortexm3/stm32f103ret/micro-specific.h"
149 #ifdef CORTEXM3_STM32W108
153 #endif //MICRO_COMMON_H_
The sleep timer clock sources (both RC and XTAL) are turned off.
StStatus halBootloaderStart(uint8_t mode, uint8_t channel, uint16_t panID)
Request the appplication to enter in bootloader mode.
void halInit(void)
Initializes microcontroller-specific peripherals.
void halInternalEnableWatchDog(void)
Enables the watchdog timer.
Utility and convenience functions for STM32W108 microcontroller, common to both the full and minimal ...
void halPowerDown(void)
Powers down microcontroller peripherals and board peripherals.
void halPowerUp(void)
Powers up microcontroller peripherals and board peripherals.
void halInternalDisableWatchDog(uint8_t magicKey)
Disables the watchdog timer.
The sleep timer clock sources remain running.
boolean halInternalWatchDogEnabled(void)
Determines whether the watchdog has been enabled or disabled.
void halCommonDelayMicroseconds(uint16_t us)
Blocks the current thread of execution for the specified amount of time, in microseconds.
The sleep timer clock sources remain running.
void halReboot(void)
Restarts the microcontroller and therefore everything else.
SleepModes
Enumerations for the possible microcontroller sleep modes.
Everything is active and running.
uint8_t StStatus
Return type for St functions.