Contiki 3.x
Macros | Functions
micro-common.h File Reference

Minimal Hal functions common across all microcontroller-specific files. More...

Go to the source code of this file.

Macros

#define MICRO_DISABLE_WATCH_DOG_KEY   0xA5
 The value that must be passed as the single parameter to halInternalDisableWatchDog() in order to sucessfully disable the watchdog timer.
 

Functions

void halInit (void)
 Initializes microcontroller-specific peripherals.
 
void halReboot (void)
 Restarts the microcontroller and therefore everything else.
 
void halPowerUp (void)
 Powers up microcontroller peripherals and board peripherals.
 
void halPowerDown (void)
 Powers down microcontroller peripherals and board peripherals.
 
void halInternalEnableWatchDog (void)
 Enables the watchdog timer.
 
void halInternalDisableWatchDog (uint8_t magicKey)
 Disables the watchdog timer. More...
 
boolean halInternalWatchDogEnabled (void)
 Determines whether the watchdog has been enabled or disabled. More...
 
void halCommonDelayMicroseconds (uint16_t us)
 Blocks the current thread of execution for the specified amount of time, in microseconds. More...
 
StStatus halBootloaderStart (uint8_t mode, uint8_t channel, uint16_t panId)
 Request the appplication to enter in bootloader mode. More...
 

Detailed Description

Minimal Hal functions common across all microcontroller-specific files.

See Micro for documentation.

Definition in file micro-common.h.