HWA
Bare metal programming with style
Board from www.vcc-gnd.com aka "Blue pill"

Detailed Description

There is a STM32F103C8T6 with:

Board description

#define HW_DEVICE_HSEHZ   8e6
 
#define HW_DEVICE_LSEHZ   32768
 

Pin definitions

The pin the LED is connected to. The target device name indicates its package, then pin numbers can be used as well as pin names.

Note
: the LED is on at level 0.
#define LED   (portc, 13)
 
#define LED1   (portc, 13)
 

Macro Definition Documentation

◆ HW_DEVICE_HSEHZ

#define HW_DEVICE_HSEHZ   8e6

Frequency of the HSE oscillator crystal

Examples
hwa/st/stm32/examples/02-2-clocks/main.c.

◆ HW_DEVICE_LSEHZ

#define HW_DEVICE_LSEHZ   32768

Frequency of the LSE oscillator crystal