STM32 Nucleo-32

Support for STM32 Nucleo-32 boards. More...

Detailed Description

Support for STM32 Nucleo-32 boards.

Modules

 STM32 Nucleo-F031K6
 Support for the STM32 Nucleo-F031K6.
 
 STM32 Nucleo-F042K6
 Support for the STM32 Nucleo-F042K6.
 
 STM32 Nucleo-F303K8
 Support for the STM32 Nucleo-F303K8.
 
 STM32 Nucleo-L011K4
 Support for the STM32 Nucleo-L011K4.
 
 STM32 Nucleo-L031K6
 Support for the STM32 Nucleo-L031K6.
 
 STM32 Nucleo-L412KB
 Support for the STM32 Nucleo-L412KB.
 
 STM32 Nucleo-L432KC
 Support for the STM32 Nucleo-L432KC.
 

Files

file  arduino_board.h
 Board specific configuration for the Arduino API.
 
file  arduino_pinmap.h
 Mapping from MCU pins to Arduino pins.
 
file  board.h
 Common pin definitions and board configuration options.
 
file  gpio_params.h
 Board specific configuration of direct mapped GPIOs.
 

Macros for controlling the on-board LED (LD3).

#define LED0_PIN   GPIO_PIN(PORT_B, 3)
 
#define LED0_MASK   (1 << 3)
 
#define LED0_ON   (GPIOB->BSRR = LED0_MASK)
 
#define LED0_OFF   (GPIOB->BSRR = (LED0_MASK << 16))
 
#define LED0_TOGGLE   (GPIOB->ODR ^= LED0_MASK)