STM32F1

CPU specific implementations for the STM32F1. More...

Detailed Description

Files

file  cpu/stm32f1/include/cpu_conf.h
 Implementation specific CPU configuration options.
 
file  stm32f1/include/periph_cpu.h
 CPU specific definitions for internal peripheral handling.
 

Functions

void cpu_clock_scale (uint32_t source, uint32_t target, uint32_t *prescale)
 Configure the CPU's clock system. More...
 
#define CPU_DEFAULT_IRQ_PRIO   (1U)
 ARM Cortex-M specific CPU configuration.
 
#define CPU_IRQ_NUMOF   (60U)
 
#define CPU_FLASH_BASE   FLASH_BASE
 
#define FLASHPAGE_SIZE   (2048U)
 Flash page configuration.
 

Function Documentation

void cpu_clock_scale ( uint32_t  source,
uint32_t  target,
uint32_t *  prescale 
)
Parameters
[in]sourcesource clock frequency
[in]targettarget clock frequency
[in]prescaleprescaler to use