39 lines
734 B
C
Executable File
39 lines
734 B
C
Executable File
// Created by Guangzong Chen on 6/12/23.
|
|
//
|
|
|
|
#ifndef STM32U5XX_HAL_PREPHERIALS_H
|
|
#define STM32U5XX_HAL_PREPHERIALS_H
|
|
|
|
// this file is for cpp
|
|
|
|
#include "adc.hpp"
|
|
#include "dcmi.hpp"
|
|
#include "delay.h"
|
|
#include "dma.h"
|
|
#include "exti.hpp"
|
|
#include "gpio.h"
|
|
#include "i2c.h"
|
|
#include "rtc.hpp"
|
|
#include "sdmmc.hpp"
|
|
#include "spi.hpp"
|
|
#include "tim.hpp"
|
|
#include "uart.h"
|
|
|
|
void setup_prepherials();
|
|
|
|
extern Delay delay;
|
|
extern Gpio pa, pb, pc, pd, pe, pf, pg, ph, pi;
|
|
extern Usart usart1, usart2, usart3;
|
|
extern Tim tim1, tim8;
|
|
extern I2c i2c1, i2c2, i2c3;
|
|
extern Dma dma10;
|
|
extern Dcmi dcmi;
|
|
extern Rtc rtc;
|
|
extern Sdmmc sdmmc1, sdmmc2;
|
|
extern Adc adc1;
|
|
extern Exti exti;
|
|
|
|
void dcmi_gpio_setup();
|
|
|
|
#endif // STM32U5XX_HAL_PREPHERIALS_H
|