Loading...
Searching...
No Matches
board.h File Reference

Board specific definitions for the iotlab-m3 board. More...

Detailed Description

#include <stdint.h>
#include "cpu.h"
#include "periph_conf.h"
#include "board_common.h"
+ Include dependency graph for board.h:

Go to the source code of this file.

Define the interface for the connected flash memory

#define EXTFLASH_SPI   SPI_DEV(1)
 
#define EXTFLASH_CS   GPIO_PIN(PORT_A, 11)
 
#define EXTFLASH_WRITE   GPIO_PIN(PORT_C, 6)
 
#define EXTFLASH_HOLD   GPIO_PIN(PORT_C, 9)
 

Define the interface to the LPS331AP pressure sensor

#define LPSXXX_PARAM_ADDR   (0x5C)
 

Define the interface for the L3G4200D gyroscope

#define L3G4200D_PARAM_INT2   GPIO_PIN(PORT_C, 0)
 
#define L3G4200D_PARAM_INT1   GPIO_PIN(PORT_C, 5)
 

Define the interface to the LSM303DLHC accelerometer and magnetometer

#define LSM303DLHC_PARAM_ACC_PIN   GPIO_PIN(PORT_B, 12)
 
#define LSM303DLHC_PARAM_MAG_PIN   GPIO_PIN(PORT_B, 2)
 

MTD configuration

#define MTD_0   mtd_dev_get(0)
 SPI NOR Flash device.
 

Macro Definition Documentation

◆ EXTFLASH_CS

#define EXTFLASH_CS   GPIO_PIN(PORT_A, 11)

Definition at line 40 of file board.h.

◆ EXTFLASH_HOLD

#define EXTFLASH_HOLD   GPIO_PIN(PORT_C, 9)

Definition at line 42 of file board.h.

◆ EXTFLASH_SPI

#define EXTFLASH_SPI   SPI_DEV(1)

Definition at line 39 of file board.h.

◆ EXTFLASH_WRITE

#define EXTFLASH_WRITE   GPIO_PIN(PORT_C, 6)

Definition at line 41 of file board.h.

◆ L3G4200D_PARAM_INT1

#define L3G4200D_PARAM_INT1   GPIO_PIN(PORT_C, 5)

Definition at line 57 of file board.h.

◆ L3G4200D_PARAM_INT2

#define L3G4200D_PARAM_INT2   GPIO_PIN(PORT_C, 0)

Definition at line 56 of file board.h.

◆ LPSXXX_PARAM_ADDR

#define LPSXXX_PARAM_ADDR   (0x5C)

Definition at line 49 of file board.h.

◆ LSM303DLHC_PARAM_ACC_PIN

#define LSM303DLHC_PARAM_ACC_PIN   GPIO_PIN(PORT_B, 12)

Definition at line 64 of file board.h.

◆ LSM303DLHC_PARAM_MAG_PIN

#define LSM303DLHC_PARAM_MAG_PIN   GPIO_PIN(PORT_B, 2)

Definition at line 65 of file board.h.

◆ MTD_0

#define MTD_0   mtd_dev_get(0)

SPI NOR Flash device.

Definition at line 72 of file board.h.