Contiki 3.x
Functions
board.c File Reference

    Software layer to support all the ST kits boards
More...

#include "error.h"
#include "hal/hal.h"
#include "hal/micro/cortexm3/mfg-token.h"
#include <string.h>
#include "dev/i2c.h"
#include <stdio.h>

Go to the source code of this file.

Functions

void halBoardInit (void)
 Initialize the board description data structure after autodetect of the boards based on the CIB Board name field content. More...
 
BoardResourcesType const * halBoardGetDescription (void)
 Return pointer to board description structure. More...
 
void halBoardPowerDown (void)
 Perform board specific action to power down the system, usually before going to deep sleep. More...
 
void halBoardPowerUp (void)
 Perform board specific action to power up the system. More...
 

Detailed Description

    Software layer to support all the ST kits boards
     Board file x STM32W108 Kits boards

This file implements a software layer to support all the ST kits boards and deal with the difference in leds, buttons and sensors connected to the board. This a bit too complex for customer boards adaptation and customer can simplify it to adapt it to their hardware environment as they normally don't need to have the software running on several boards. The boards supported are:

Definition in file board.c.