board.h File Reference

Board specific definitions for the ST B-U585I-IOT02A board. More...

Detailed Description

Board specific definitions for the ST B-U585I-IOT02A 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   13
 
#define LED0_PORT   GPIO_PORT_E
 GPIO port of LED 0.
 
#define LED0_PORT_NUM   PORT_E
 
#define LED1_PIN_NUM   6
 
#define LED1_PORT   GPIO_PORT_H
 GPIO port of LED 1.
 
#define LED1_PORT_NUM   PORT_H
 
#define LED2_PIN_NUM   7
 
#define LED2_PORT   GPIO_PORT_H
 GPIO port of LED 2.
 
#define LED2_PORT_NUM   PORT_H
 

Button pin configuration

#define BTN0_PIN   GPIO_PIN(PORT_C, 13)
 
#define BTN0_MODE   GPIO_IN_PU
 

HTS221 temperature/humidity sensor configuration

#define HTS221_PARAM_I2C   I2C_DEV(1)
 

LPS22HH pressure/temperature sensor configuration

#define LPSXXX_PARAM_I2C   I2C_DEV(1)