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

Board specific definitions for the ST B-L475E-IOT01A board. More...

Detailed Description

Board specific definitions for the ST B-L475E-IOT01A 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 <stdint.h>
#include "cpu.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.

LED pin definitions and handlers

#define LED0_PIN_NUM   5
 
#define LED0_PORT   GPIO_PORT_A
 GPIO port of LED 0.
 
#define LED0_PORT_NUM   PORT_A
 
#define LED1_PIN_NUM   14
 
#define LED1_PORT   GPIO_PORT_B
 GPIO port of LED 1.
 
#define LED1_PORT_NUM   PORT_B
 

User button pin configuration

#define BTN0_PIN   GPIO_PIN(PORT_C, 13)
 User button pin.
 
#define BTN0_MODE   GPIO_IN_PU
 User button pin mode.
 

HTS221 temperature/humidity sensor configuration

#define HTS221_PARAM_I2C   I2C_DEV(1)
 

LIS3MDL 3-axis magnetometer configuration

#define LIS3MDL_PARAM_I2C   I2C_DEV(1)
 

LPS22HB pressure/temperature sensor configuration

#define LPSXXX_PARAM_I2C   I2C_DEV(1)
 

LSM6DSL accelerometer sensor configuration

#define LSM6DSXX_PARAM_I2C   I2C_DEV(1)
 
#define LSM6DSXX_PARAM_ADDR   (0x6A)
 

Macro Definition Documentation

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN_PU

User button pin mode.

Definition at line 48 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO_PIN(PORT_C, 13)

User button pin.

Definition at line 47 of file board.h.

◆ HTS221_PARAM_I2C

#define HTS221_PARAM_I2C   I2C_DEV(1)

Definition at line 55 of file board.h.

◆ LED0_PIN_NUM

#define LED0_PIN_NUM   5

Definition at line 34 of file board.h.

◆ LED0_PORT

#define LED0_PORT   GPIO_PORT_A

GPIO port of LED 0.

Definition at line 35 of file board.h.

◆ LED0_PORT_NUM

#define LED0_PORT_NUM   PORT_A

Definition at line 36 of file board.h.

◆ LED1_PIN_NUM

#define LED1_PIN_NUM   14

Definition at line 38 of file board.h.

◆ LED1_PORT

#define LED1_PORT   GPIO_PORT_B

GPIO port of LED 1.

Definition at line 39 of file board.h.

◆ LED1_PORT_NUM

#define LED1_PORT_NUM   PORT_B

Definition at line 40 of file board.h.

◆ LIS3MDL_PARAM_I2C

#define LIS3MDL_PARAM_I2C   I2C_DEV(1)

Definition at line 62 of file board.h.

◆ LPSXXX_PARAM_I2C

#define LPSXXX_PARAM_I2C   I2C_DEV(1)

Definition at line 69 of file board.h.

◆ LSM6DSXX_PARAM_ADDR

#define LSM6DSXX_PARAM_ADDR   (0x6A)

Definition at line 77 of file board.h.

◆ LSM6DSXX_PARAM_I2C

#define LSM6DSXX_PARAM_I2C   I2C_DEV(1)

Definition at line 76 of file board.h.