Most parts of the menu structure are functional.
Error handler added Screens for warning, pause, FINISH etc yet to be added git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@255 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -44,11 +44,16 @@
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Type definitions.
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
typedef enum
|
||||
{
|
||||
COMMON_INTERLOCK = 0,
|
||||
TESLA_INTERLOCK = !COMMON_INTERLOCK
|
||||
} T_INTERLOCK_ID;
|
||||
|
||||
struct InterlockElement
|
||||
{
|
||||
struct Gpio* io;
|
||||
@@ -60,6 +65,7 @@ struct Interlock
|
||||
struct InterlockElement NO;
|
||||
struct InterlockElement NC;
|
||||
bool initialized;
|
||||
T_INTERLOCK_ID ID;
|
||||
};
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
@@ -82,7 +88,7 @@ struct Interlock
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern ErrorStatus Interlock_construct(struct Interlock* self, struct Gpio* NO, EXTI_InitTypeDef NOEXTI, struct Gpio* NC, EXTI_InitTypeDef NCEXTI);
|
||||
extern ErrorStatus Interlock_construct(struct Interlock* self, T_INTERLOCK_ID ID, struct Gpio* NO, EXTI_InitTypeDef NOEXTI, struct Gpio* NC, EXTI_InitTypeDef NCEXTI);
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user