Contiki 2.6

micro.c File Reference

STM32W108 micro specific minimal HAL functions. More...

#include "error.h"
#include "hal/micro/micro-common.h"
#include "hal/micro/cortexm3/micro-common.h"
#include "micro/system-timer.h"
#include "micro/adc.h"
#include "micro/cortexm3/memmap.h"
#include "micro/cortexm3/iap_bootloader.h"
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Functions

void halInit (void)
 Initializes microcontroller-specific peripherals.
void halReboot (void)
 Restarts the microcontroller and therefore everything else.
void halPowerDown (void)
 Powers down microcontroller peripherals and board peripherals.
void halPowerUp (void)
 Powers up microcontroller peripherals and board peripherals.
void halCommonSeedRandom (int32u seed)
 Seeds the halCommonGetRandom() pseudorandom number generator.
int16u halCommonGetRandom (void)
 Runs a standard LFSR to generate pseudorandom numbers.
StStatus halBootloaderStart (int8u mode, int8u channel, int16u panID)
 Request the appplication to enter in bootloader mode.

Detailed Description

STM32W108 micro specific minimal HAL functions.

Definition in file micro.c.