refactor Functions to group everything connected to the vehicle to a central location
This commit is contained in:
22
Application/Vehicle/Vehicle.h
Normal file
22
Application/Vehicle/Vehicle.h
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
#include "fdcan.h"
|
||||
#include "stdint.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();
|
||||
Reference in New Issue
Block a user