boards/nucleo-f070/include/periph_conf.h File Reference

Peripheral MCU configuration for the nucleo-f070 board. More...

Detailed Description

Peripheral MCU configuration for the nucleo-f070 board.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file boards/nucleo-f070/include/periph_conf.h.

#include "periph_cpu.h"
+ Include dependency graph for boards/nucleo-f070/include/periph_conf.h:

Go to the source code of this file.

Macros

Clock settings
Note
This is auto-generated from cpu/stm32_common/dist/clk_conf/clk_conf.c
#define CLOCK_CORECLOCK   (48000000U)
 
#define CLOCK_HSE   (8000000U)
 
#define CLOCK_LSE   (1)
 
#define CLOCK_AHB_DIV   RCC_CFGR_HPRE_DIV1
 
#define CLOCK_AHB   (CLOCK_CORECLOCK / 1)
 
#define CLOCK_APB1_DIV   RCC_CFGR_PPRE_DIV1 /* max 48MHz */
 
#define CLOCK_APB1   (CLOCK_CORECLOCK / 1)
 
#define CLOCK_APB2   (CLOCK_APB1)
 
#define CLOCK_PLL_PREDIV   (1)
 
#define CLOCK_PLL_MUL   (6)
 
ADC configuration
#define ADC_CONFIG
 
#define ADC_NUMOF   (6)
 
RTC configuration
#define RTC_NUMOF   (1U)
 Nucleos with MB1136 C-02 or MB1136 C-03 -sticker on it have the required LSE oscillator provided on the X2 slot. More...
 

Timer configuration

#define TIMER_0_ISR   isr_tim1_cc
 
#define TIMER_NUMOF   (sizeof(timer_config) / sizeof(timer_config[0]))
 
static const timer_conf_t timer_config []
 

UART configuration

#define UART_0_ISR   (isr_usart2)
 
#define UART_1_ISR   (isr_usart1)
 
#define UART_2_ISR   (isr_usart3_8)
 
#define UART_NUMOF   (sizeof(uart_config) / sizeof(uart_config[0]))
 
static const uart_conf_t uart_config []
 

PWM configuration

#define PWM_NUMOF   (sizeof(pwm_config) / sizeof(pwm_config[0]))
 
static const pwm_conf_t pwm_config []