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

Board specific definitions for the STM32F429I-DISC1 evaluation board. More...

Detailed Description

Board specific definitions for the STM32F429I-DISC1 evaluation board.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file board.h.

#include "cpu.h"
#include "periph_conf.h"
#include "stm32_leds.h"
+ Include dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros for controlling the on-board LEDs.

#define LED0_PIN_NUM   13
 
#define LED0_PORT   GPIO_PORT_G
 GPIO port of LED 0.
 
#define LED0_PORT_NUM   PORT_G
 
#define LED1_PIN_NUM   14
 
#define LED1_PORT   GPIO_PORT_G
 GPIO port of LED 1.
 
#define LED1_PORT_NUM   PORT_G
 

User button

#define BTN0_PIN   GPIO_PIN(PORT_A, 0)
 GPIO used for BTN0.
 
#define BTN0_MODE   GPIO_IN
 

L3GD20 (Rev. B01, C01), I3G4250D (Rev. D02, E01)

#define L3GXXXX_SPI_DEV   SPI_DEV(0)
 SPI bus used for L3Gxxxx.
 
#define L3GXXXX_SPI_CS   GPIO_PIN(PORT_C, 1)
 SPI CS pin used for L3Gxxxx.
 
#define L3GXXXX_INT1_PIN   GPIO_PIN(PORT_A, 1)
 INT1 pin used for L3Gxxxx.
 
#define L3GXXXX_INT2_PIN   GPIO_PIN(PORT_A, 2)
 INT2/DRDY pin used for L3Gxxxx.
 
#define STMPE811_PARAM_XYCONV   (STMPE811_MIRROR_Y | STMPE811_SWAP_XY)
 stmpe811 driver parameters
 

Macro Definition Documentation

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN

Definition at line 47 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO_PIN(PORT_A, 0)

GPIO used for BTN0.

Definition at line 46 of file board.h.

◆ L3GXXXX_INT1_PIN

#define L3GXXXX_INT1_PIN   GPIO_PIN(PORT_A, 1)

INT1 pin used for L3Gxxxx.

Definition at line 56 of file board.h.

◆ L3GXXXX_INT2_PIN

#define L3GXXXX_INT2_PIN   GPIO_PIN(PORT_A, 2)

INT2/DRDY pin used for L3Gxxxx.

Definition at line 57 of file board.h.

◆ L3GXXXX_SPI_CS

#define L3GXXXX_SPI_CS   GPIO_PIN(PORT_C, 1)

SPI CS pin used for L3Gxxxx.

Definition at line 55 of file board.h.

◆ L3GXXXX_SPI_DEV

#define L3GXXXX_SPI_DEV   SPI_DEV(0)

SPI bus used for L3Gxxxx.

Definition at line 54 of file board.h.

◆ LED0_PIN_NUM

#define LED0_PIN_NUM   13

Definition at line 33 of file board.h.

◆ LED0_PORT

#define LED0_PORT   GPIO_PORT_G

GPIO port of LED 0.

Definition at line 34 of file board.h.

◆ LED0_PORT_NUM

#define LED0_PORT_NUM   PORT_G

Definition at line 35 of file board.h.

◆ LED1_PIN_NUM

#define LED1_PIN_NUM   14

Definition at line 37 of file board.h.

◆ LED1_PORT

#define LED1_PORT   GPIO_PORT_G

GPIO port of LED 1.

Definition at line 38 of file board.h.

◆ LED1_PORT_NUM

#define LED1_PORT_NUM   PORT_G

Definition at line 39 of file board.h.

◆ STMPE811_PARAM_XYCONV

#define STMPE811_PARAM_XYCONV   (STMPE811_MIRROR_Y | STMPE811_SWAP_XY)

stmpe811 driver parameters

Definition at line 64 of file board.h.