25 lines
605 B
C
25 lines
605 B
C
//
|
|
// Created by cfif on 17.03.2024.
|
|
//
|
|
#include "n32g45x.h"
|
|
#include "CanSerialPort.h"
|
|
|
|
#ifndef NATION_CAN_TEST_CANSERIALPORTS_H
|
|
#define NATION_CAN_TEST_CANSERIALPORTS_H
|
|
|
|
typedef struct {
|
|
tCanSerialPortNation can1;
|
|
tSerialPortIO can1IO;
|
|
|
|
tCanSerialPortNation can2;
|
|
tSerialPortIO can2IO;
|
|
} tCanSerialPorts;
|
|
|
|
void CanSerialPorts_Init();
|
|
void vCanSerialPort_InitCAN1(tCanSerialPortNation *env);
|
|
void vCanSerialPort_InitCAN2(tCanSerialPortNation *env);
|
|
extern tCanSerialPorts CAN_SERIAL_PORTS;
|
|
void vCanSerialPorts_InitRCC();
|
|
void CanHWControlSet();
|
|
#endif //NATION_CAN_TEST_CANSERIALPORTS_H
|