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   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)
 

Macro Definition Documentation

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN_PU

Definition at line 52 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO_PIN(PORT_C, 13)

Definition at line 51 of file board.h.

◆ HTS221_PARAM_I2C

#define HTS221_PARAM_I2C   I2C_DEV(1)

Definition at line 59 of file board.h.

◆ LED0_PIN_NUM

#define LED0_PIN_NUM   13

Definition at line 34 of file board.h.

◆ LED0_PORT

#define LED0_PORT   GPIO_PORT_E

GPIO port of LED 0.

Definition at line 35 of file board.h.

◆ LED0_PORT_NUM

#define LED0_PORT_NUM   PORT_E

Definition at line 36 of file board.h.

◆ LED1_PIN_NUM

#define LED1_PIN_NUM   6

Definition at line 38 of file board.h.

◆ LED1_PORT

#define LED1_PORT   GPIO_PORT_H

GPIO port of LED 1.

Definition at line 39 of file board.h.

◆ LED1_PORT_NUM

#define LED1_PORT_NUM   PORT_H

Definition at line 40 of file board.h.

◆ LED2_PIN_NUM

#define LED2_PIN_NUM   7

Definition at line 42 of file board.h.

◆ LED2_PORT

#define LED2_PORT   GPIO_PORT_H

GPIO port of LED 2.

Definition at line 43 of file board.h.

◆ LED2_PORT_NUM

#define LED2_PORT_NUM   PORT_H

Definition at line 44 of file board.h.

◆ LPSXXX_PARAM_I2C

#define LPSXXX_PARAM_I2C   I2C_DEV(1)

Definition at line 66 of file board.h.