diff options
author | Siddhesh Wani | 2017-07-04 19:55:17 +0530 |
---|---|---|
committer | GitHub | 2017-07-04 19:55:17 +0530 |
commit | e7a1a9bd776aa3ebdd13aea4d4ef838e65acb34c (patch) | |
tree | 749b476d7653774c918af42ebd952d4050ed49b6 /2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h | |
parent | c66867c874436fb37ef54c67b048885ce094e894 (diff) | |
parent | 8889f4a5edad040f47c3fcb717053352ab0d05b8 (diff) | |
download | Scilab2C-e7a1a9bd776aa3ebdd13aea4d4ef838e65acb34c.tar.gz Scilab2C-e7a1a9bd776aa3ebdd13aea4d4ef838e65acb34c.tar.bz2 Scilab2C-e7a1a9bd776aa3ebdd13aea4d4ef838e65acb34c.zip |
Merge pull request #13 from jschandi/master
Fixed standalone conversion errors with RPi files
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h')
-rw-r--r-- | 2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h index 0e1f7b42..bd82702d 100644 --- a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h +++ b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h @@ -19,11 +19,26 @@ extern "C" { #endif +//pinNumbering #define g2RPI_pinNumberingi80(seq,size) gRPI_pinNumberinga(seq,size[1]); +//getAlt #define u80RPI_getAltu80(pin) u8RPI_getAlts(pin); +#define u160RPI_getAltu80(pin) u8RPI_getAlts(pin); +#define u320RPI_getAltu80(pin) u8RPI_getAlts(pin); +#define d0RPI_getAltu80(pin) u8RPI_getAlts(pin); +//pinModeAlt #define u80u80RPI_pinModeAlt(pin,mode) u8RPI_pinModeAlts(pin,mode); +#define u160u160RPI_pinModeAlt(pin,mode) u8RPI_pinModeAlts(pin,mode); +#define u320u320RPI_pinModeAlt(pin,mode) u8RPI_pinModeAlts(pin,mode); +#define d0d0RPI_pinModeAlt(pin,mode) u8RPI_pinModeAlts(pin,mode); +//pinMode #define u80g2RPI_pinMode(pin,mode,size) u8RPI_pinModes(pin,mode,size[1]); +#define u160g2RPI_pinMode(pin,mode,size) u8RPI_pinModes(pin,mode,size[1]); +#define u320g2RPI_pinMode(pin,mode,size) u8RPI_pinModes(pin,mode,size[1]); +#define d0g2RPI_pinMode(pin,mode,size) u8RPI_pinModes(pin,mode,size[1]); +//pullControl #define u80g2RPI_pullControl(pin,mode,size) u8RPI_pullControls(pin,mode,size[1]); +#define d0g2RPI_pullControl(pin,mode,size) u8RPI_pullControls(pin,mode,size[1]); #ifdef __cplusplus } /* extern "C" */ |