19 lines
408 B
C
19 lines
408 B
C
//
|
|
// Created by xemon on 11.12.22.
|
|
//
|
|
#include "PeripheralInterfaces.h"
|
|
#include "DevRtc.h"
|
|
#include "CanSerialPorts.h"
|
|
//#include "main2.h"
|
|
|
|
void InitPeripheralInterfaces() {
|
|
Gpios_Init();
|
|
Adcs_Init();
|
|
SerialPorts_Init(&GPIOS.comIntDir);
|
|
I2cPorts_Init();
|
|
SpiPorts_Init(&GPIOS.accel, &GPIOS.flash);
|
|
CanSerialPorts_Init();
|
|
StorageOnFlash_Init();
|
|
// mainUsb();
|
|
Rtc_Init();
|
|
} |