initial check in based on SVN revision 575
This commit is contained in:
30
source/sys_chk.h
Normal file
30
source/sys_chk.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* sys_chk.h
|
||||
*
|
||||
* Created on: Nov 11, 2022
|
||||
* Author: Keith.Lloyd
|
||||
*/
|
||||
|
||||
#ifndef SYS_CHK_H_
|
||||
#define SYS_CHK_H_
|
||||
#define USB_STATE_TOP 0b00000001
|
||||
#define USB_STATE_MID 0
|
||||
#define USB_STATE_BOT 0x24 // MAIN PSU OFF BACKLIGHT ON
|
||||
#define OPEN_CIRCUIT_CURRENT 0.009 // 7mA
|
||||
|
||||
void System_Check(void);
|
||||
void Safety_Check(void);
|
||||
void Normal_Bypass_Chk(void);
|
||||
void Check_For_Connected_Volts(void);
|
||||
void Check_Selected_Current(void);
|
||||
bool Demand_Check(void);
|
||||
void Check_Trickle_Current(void);
|
||||
void Check_For_Usb(void);
|
||||
void Clear_All_Bits(void);
|
||||
bool Short_Circuit_Chk(void);
|
||||
bool Check_Maxed_Out(void);
|
||||
void Chk_Selected_Current2(void);
|
||||
bool Open_Circuit_Chk(void);
|
||||
void Check_For_Open_Circuit(void);
|
||||
|
||||
#endif /* SYS_CHK_H_ */
|
||||
Reference in New Issue
Block a user