summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h
diff options
context:
space:
mode:
authorJorawar Singh2017-07-07 13:00:37 +0530
committerJorawar Singh2017-07-07 13:00:37 +0530
commitcaaf226244923c75586ea1d4fb1fdcd0a73d2d51 (patch)
tree7c1cc7bea08325a57c8712dbfb823f4f0b4128ee /2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h
parente9de337a34e123749927039f7011fb30fc96f7c9 (diff)
downloadScilab2C-caaf226244923c75586ea1d4fb1fdcd0a73d2d51.tar.gz
Scilab2C-caaf226244923c75586ea1d4fb1fdcd0a73d2d51.tar.bz2
Scilab2C-caaf226244923c75586ea1d4fb1fdcd0a73d2d51.zip
Raspberry Pi function changes and minor gui changes
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h')
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h
index c044cf7f..7857b3ae 100644
--- a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h
+++ b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralMcp.h
@@ -21,10 +21,19 @@ extern "C" {
#endif
#define u160u80RPI_mcp23008Setupu80(pinBase,addr) u16RPI_mcp23008Setups(pinBase,addr);
+#define d0d0RPI_mcp23008Setupu80(pinBase,addr) u16RPI_mcp23008Setups(pinBase,addr);
+
#define u160u80RPI_mcp23016Setupu80(pinBase,addr) u16RPI_mcp23016Setups(pinBase,addr);
+#define d0d0RPI_mcp23016Setupu80(pinBase,addr) u16RPI_mcp23016Setups(pinBase,addr);
+
#define u160u80RPI_mcp23017Setupu80(pinBase,addr) u16RPI_mcp23017Setups(pinBase,addr);
+#define d0d0RPI_mcp23017Setupu80(pinBase,addr) u16RPI_mcp23017Setups(pinBase,addr);
+
#define u160u80u80RPI_mcp23s08Setupu80(pinBase,spiport,devId) u16RPI_mcp23s08Setups(pinBase,spiport,devId);
+#define d0d0d0RPI_mcp23s08Setupu80(pinBase,spiport,devId) u16RPI_mcp23s08Setups(pinBase,spiport,devId);
+
#define u160u80u80RPI_mcp23s17Setupu80(pinBase,spiport,devId) u16RPI_mcp23s17Setups(pinBase,spiport,devId);
+#define d0d0d0RPI_mcp23s17Setupu80(pinBase,spiport,devId) u16RPI_mcp23s17Setups(pinBase,spiport,devId);
#ifdef __cplusplus
} /* extern "C" */