diff options
author | Siddhu8990 | 2017-07-04 20:20:46 +0530 |
---|---|---|
committer | Siddhu8990 | 2017-07-04 20:20:46 +0530 |
commit | e9de337a34e123749927039f7011fb30fc96f7c9 (patch) | |
tree | 4056424cb082605c759d213cff058c2491b6d43d /2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSetup.h | |
parent | 9981dc71e9478fee921175d300d69fd5ba655dc5 (diff) | |
parent | e7a1a9bd776aa3ebdd13aea4d4ef838e65acb34c (diff) | |
download | Scilab2C-e9de337a34e123749927039f7011fb30fc96f7c9.tar.gz Scilab2C-e9de337a34e123749927039f7011fb30fc96f7c9.tar.bz2 Scilab2C-e9de337a34e123749927039f7011fb30fc96f7c9.zip |
Removed wiringPi.h include bug, added amell, bug removed for dct and idct
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" */ |