summaryrefslogtreecommitdiff
path: root/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
diff options
context:
space:
mode:
authorJorawar Singh2017-07-07 13:00:37 +0530
committerJorawar Singh2017-07-07 13:00:37 +0530
commitde14a5628ad439e20770d10733ebdac46562a860 (patch)
tree32373efacf2a4a6eb5a04cd222339905b077830e /src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
parent87823db220f4c3b8bee16c0b2e08027704de1efe (diff)
downloadScilab2C_fossee_old-de14a5628ad439e20770d10733ebdac46562a860.tar.gz
Scilab2C_fossee_old-de14a5628ad439e20770d10733ebdac46562a860.tar.bz2
Scilab2C_fossee_old-de14a5628ad439e20770d10733ebdac46562a860.zip
Raspberry Pi function changes and minor gui changes
Diffstat (limited to 'src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h')
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
index 6b142bd..7b70ce9 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
@@ -21,8 +21,13 @@ extern "C" {
#endif
#define u80u80u80RPI_shiftInu80(dpin,cpin,order) u8RPI_shiftIns(dpin,cpin,order);
+#define d0d0d0RPI_shiftInu80(dpin,cpin,order) u8RPI_shiftIns(dpin,cpin,order);
+
#define u80u80u80u80RPI_shiftOut(dpin,cpin,order,val) u8RPI_shiftOuts(dpin,cpin,order,val);
+#define d0d0d0d0RPI_shiftOut(dpin,cpin,order,val) u8RPI_shiftOuts(dpin,cpin,order,val);
+
#define u160u80u80u80u80RPI_sr595Setupi80(pinBase,nPins,dP,cP,lP) u16RPI_sr595Setups(pinBase,nPins,dP,cP,lP);
+#define d0d0d0d0d0RPI_sr595Setupi80(pinBase,nPins,dP,cP,lP) u16RPI_sr595Setups(pinBase,nPins,dP,cP,lP);
#ifdef __cplusplus
} /* extern "C" */