Loading...
Searching...
No Matches
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_NUM   PORT_E
 
#define LED1_PIN_NUM   6
 
#define LED1_PORT_NUM   PORT_H
 
#define LED2_PIN_NUM   7
 
#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)
 

Macro Definition Documentation

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN_PU

Definition at line 49 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO_PIN(PORT_C, 13)

Definition at line 48 of file board.h.

◆ HTS221_PARAM_I2C

#define HTS221_PARAM_I2C   I2C_DEV(1)

Definition at line 56 of file board.h.

◆ LED0_PIN_NUM

#define LED0_PIN_NUM   13

Definition at line 34 of file board.h.

◆ LED0_PORT_NUM

#define LED0_PORT_NUM   PORT_E

Definition at line 35 of file board.h.

◆ LED1_PIN_NUM

#define LED1_PIN_NUM   6

Definition at line 37 of file board.h.

◆ LED1_PORT_NUM

#define LED1_PORT_NUM   PORT_H

Definition at line 38 of file board.h.

◆ LED2_PIN_NUM

#define LED2_PIN_NUM   7

Definition at line 40 of file board.h.

◆ LED2_PORT_NUM

#define LED2_PORT_NUM   PORT_H

Definition at line 41 of file board.h.

◆ LPSXXX_PARAM_I2C

#define LPSXXX_PARAM_I2C   I2C_DEV(1)

Definition at line 63 of file board.h.