aboutsummaryrefslogtreecommitdiff
path: root/SrcShared/Hardware/TRG/EmHandEra330Defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'SrcShared/Hardware/TRG/EmHandEra330Defs.h')
-rw-r--r--SrcShared/Hardware/TRG/EmHandEra330Defs.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/SrcShared/Hardware/TRG/EmHandEra330Defs.h b/SrcShared/Hardware/TRG/EmHandEra330Defs.h
new file mode 100644
index 0000000..4b2e3a5
--- /dev/null
+++ b/SrcShared/Hardware/TRG/EmHandEra330Defs.h
@@ -0,0 +1,40 @@
+/* -*- mode: C++; tab-width: 4 -*- */
+/* ===================================================================== *\
+ Copyright (c) 2000-2001 Palm, Inc. or its subsidiaries.
+ All rights reserved.
+
+ This file is part of the Palm OS Emulator.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+\* ===================================================================== */
+#ifndef EmHandEra330Defs_h
+#define EmHandEra330Defs_h
+
+#include "EmHandEraCFBus.h"
+#include "EmHandEraSDBus.h"
+
+#define HE330_NUM_KEY_ROWS 4
+
+typedef struct {
+ uint16 Row[HE330_NUM_KEY_ROWS];
+} HandEra330Keys;
+
+typedef struct {
+ HandEra330Keys Keys;
+ CFBusManager CFBus;
+ SDBusManager SDBus;
+ Bool LCDOn;
+ Bool BacklightOn;
+ Bool IRPortOn;
+ Bool SenseCurrent;
+ Bool pendingIRQ2;
+ Bool CFInserted;
+ Bool SDInserted;
+ Bool PowerConnected;
+ Bool SDChipSelect;
+} HandEra330PortManager;
+
+#endif // EmHandEra330Defs_h