aboutsummaryrefslogtreecommitdiffhomepage
path: root/AT91SAM7S256/Source/c_input.iom
diff options
context:
space:
mode:
Diffstat (limited to 'AT91SAM7S256/Source/c_input.iom')
-rw-r--r--AT91SAM7S256/Source/c_input.iom10
1 files changed, 10 insertions, 0 deletions
diff --git a/AT91SAM7S256/Source/c_input.iom b/AT91SAM7S256/Source/c_input.iom
index dee1309..b317f54 100644
--- a/AT91SAM7S256/Source/c_input.iom
+++ b/AT91SAM7S256/Source/c_input.iom
@@ -78,6 +78,15 @@ enum
INVALID_DATA = 0x01
};
+/* Constants related to calling cInputPinFunc */
+enum
+{
+ PINDIR,
+ SETPIN,
+ CLEARPIN,
+ READPIN
+};
+
/* Constants related to Colorstruct */
enum
{
@@ -167,6 +176,7 @@ typedef struct
{
INPUTSTRUCT Inputs[NO_OF_INPUTS];
COLORSTRUCT Colors[NO_OF_INPUTS];
+ UBYTE (*pFunc)(UBYTE, UBYTE, UBYTE, UBYTE *);
}IOMAPINPUT;
#endif