aboutsummaryrefslogtreecommitdiffhomepage
path: root/AT91SAM7S256/Source/c_input.iom
diff options
context:
space:
mode:
authorNicolas Schodet2012-02-08 00:03:15 +0100
committerNicolas Schodet2012-02-08 00:07:26 +0100
commit76eed9f06926683a550815f42cdd08e5e8ef1ab0 (patch)
treefb599cbd13055bc37dd42b351f478138db882259 /AT91SAM7S256/Source/c_input.iom
parente26e1958b11eb6e7540049fb84bea069bc55dc92 (diff)
parentda20f0a94f292bfbb295b558225d8989f451b991 (diff)
Merge branch 'jch-import' into jch-merge
Conflicts: AT91SAM7S256/Source/c_input.c AT91SAM7S256/Source/d_loader.h
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