From c38f18c2a32e3c91a9d0b1c18c0a52ee3d47f12e Mon Sep 17 00:00:00 2001 From: afanofosc Date: Wed, 3 Aug 2011 23:38:17 +0000 Subject: Fast I2C support Direct digital pin control support CommHSRead system call changes to support partial buffer reads git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc/branches/version_131@42 c9361245-7fe8-9947-84e8-057757c4e366 --- AT91SAM7S256/Source/c_input.iom | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'AT91SAM7S256/Source/c_input.iom') 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 -- cgit v1.2.3