24 lines
425 B
C
24 lines
425 B
C
|
|
#include "fdcan.h"
|
|
#include "stdint.h"
|
|
#include "stdbool.h"
|
|
|
|
void Vehicle_Init();
|
|
|
|
bool Vehicle_isHeadlightOn();
|
|
|
|
bool Vehicle_isEngineRunning();
|
|
|
|
bool Vehicle_isK15On();
|
|
|
|
|
|
void Vehicle_Setup_CAN();
|
|
|
|
void Vehicle_Receive_CAN( FDCAN_RxHeaderTypeDef header, uint8_t* data);
|
|
|
|
|
|
bool Vehicle_gotUnlockMessage();
|
|
uint8_t Vehicle_Brightness();
|
|
float Vehicle_Speed();
|
|
int Vehicle_DirectionIsForward();
|
|
bool Vehicle_UnlockedSignal(); |