Loading...
Searching...
No Matches
periph_conf.h File Reference

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

Detailed Description

Peripheral MCU configuration for the nucleo-f722ze board.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file periph_conf.h.

#include "periph_cpu.h"
#include "clk_conf.h"
#include "cfg_i2c1_pb8_pb9.h"
#include "cfg_rtt_default.h"
#include "cfg_timer_tim2.h"
#include "cfg_usb_otg_fs.h"
+ Include dependency graph for periph_conf.h:

Go to the source code of this file.

Macros

#define VBAT_ADC   ADC_LINE(6)
 VBAT ADC line.
 
#define ADC_CLK_MAX   MHZ(36)
 Use a faster than default ADC clock.
 
#define ADC_NUMOF   ARRAY_SIZE(adc_config)
 

Variables

static const adc_conf_t adc_config []
 
#define CONFIG_BOARD_HAS_LSE   1
 
#define CONFIG_BOARD_HAS_HSE   1
 

UART configuration

#define UART_0_ISR   (isr_usart3)
 
#define UART_0_DMA_ISR   (isr_dma1_stream6)
 
#define UART_1_ISR   (isr_usart6)
 
#define UART_1_DMA_ISR   (isr_dma1_stream5)
 
#define UART_2_ISR   (isr_usart2)
 
#define UART_2_DMA_ISR   (isr_dma1_stream4)
 
#define UART_NUMOF   ARRAY_SIZE(uart_config)
 
static const uart_conf_t uart_config []
 

Macro Definition Documentation

◆ ADC_CLK_MAX

#define ADC_CLK_MAX   MHZ(36)

Use a faster than default ADC clock.

Definition at line 114 of file periph_conf.h.

◆ ADC_NUMOF

#define ADC_NUMOF   ARRAY_SIZE(adc_config)

Definition at line 116 of file periph_conf.h.

◆ CONFIG_BOARD_HAS_HSE

#define CONFIG_BOARD_HAS_HSE   1

Definition at line 29 of file periph_conf.h.

◆ CONFIG_BOARD_HAS_LSE

#define CONFIG_BOARD_HAS_LSE   1

Definition at line 24 of file periph_conf.h.

◆ UART_0_DMA_ISR

#define UART_0_DMA_ISR   (isr_dma1_stream6)

Definition at line 93 of file periph_conf.h.

◆ UART_0_ISR

#define UART_0_ISR   (isr_usart3)

Definition at line 92 of file periph_conf.h.

◆ UART_1_DMA_ISR

#define UART_1_DMA_ISR   (isr_dma1_stream5)

Definition at line 95 of file periph_conf.h.

◆ UART_1_ISR

#define UART_1_ISR   (isr_usart6)

Definition at line 94 of file periph_conf.h.

◆ UART_2_DMA_ISR

#define UART_2_DMA_ISR   (isr_dma1_stream4)

Definition at line 97 of file periph_conf.h.

◆ UART_2_ISR

#define UART_2_ISR   (isr_usart2)

Definition at line 96 of file periph_conf.h.

◆ UART_NUMOF

#define UART_NUMOF   ARRAY_SIZE(uart_config)

Definition at line 99 of file periph_conf.h.

◆ VBAT_ADC

#define VBAT_ADC   ADC_LINE(6)

VBAT ADC line.

Definition at line 112 of file periph_conf.h.

Variable Documentation

◆ adc_config

const adc_conf_t adc_config[]
static
Initial value:
= {
{GPIO_PIN(PORT_A, 3), .dev = 2, .chan = 3},
{GPIO_PIN(PORT_C, 0), .dev = 2, .chan = 10},
{GPIO_PIN(PORT_C, 3), .dev = 2, .chan = 13},
{GPIO_PIN(PORT_F, 3), .dev = 2, .chan = 9},
{GPIO_PIN(PORT_F, 5), .dev = 2, .chan = 15},
{GPIO_PIN(PORT_F, 10), .dev = 2, .chan = 8},
{GPIO_UNDEF, .dev = 0, .chan = 18},
}
@ PORT_C
port C
Definition periph_cpu.h:49
@ PORT_F
port F
Definition periph_cpu.h:52
@ PORT_A
port A
Definition periph_cpu.h:47
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition periph_cpu.h:46
#define GPIO_UNDEF
Definition of a fitting UNDEF value.

Definition at line 102 of file periph_conf.h.

◆ uart_config

const uart_conf_t uart_config[]
static

Definition at line 47 of file periph_conf.h.