summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h
diff options
context:
space:
mode:
authorBrijeshcr2017-07-07 22:46:29 +0530
committerBrijeshcr2017-07-07 22:46:29 +0530
commitce61940a1398e66d9d09b81241789576c1ceca01 (patch)
tree45a111d7e55aa9cbfc1a675662149b106bb0e2ff /2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h
parent6ff1c85175485eafabb6a943bc47f30d20ff8382 (diff)
parent9ac9018159cd030c688d8f5ad9167519a8a1d44c (diff)
downloadScilab2C-ce61940a1398e66d9d09b81241789576c1ceca01.tar.gz
Scilab2C-ce61940a1398e66d9d09b81241789576c1ceca01.tar.bz2
Scilab2C-ce61940a1398e66d9d09b81241789576c1ceca01.zip
RPi functions, Gui mods and updated toeplitz
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h')
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h
index 49c58c04..fd1a1b08 100644
--- a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h
+++ b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h
@@ -21,10 +21,18 @@ extern "C" {
#endif
#define u80u160RPI_pwmWrite(pin,value) u8RPI_pwmWrites(pin,value);
+#define d0d0RPI_pwmWrite(pin,value) u8RPI_pwmWrites(pin,value);
+
#define u320RPI_pwmRange(value) u32RPI_pwmRanges(value);
+#define d0RPI_pwmRange(value) u32RPI_pwmRanges(value);
+
#define g2RPI_pwmMode(mode) gRPI_pwmModea(mode);
+
#define u160RPI_pwmClock(divisor) u16RPI_pwmClocks(divisor);
+#define d0RPI_pwmClock(divisor) u16RPI_pwmClocks(divisor);
+
#define u80u160RPI_pwmToneWrite(pin,value) u8RPI_pwmToneWrites(pin,value);
+#define d0d0RPI_pwmToneWrite(pin,value) u8RPI_pwmToneWrites(pin,value);
#ifdef __cplusplus
} /* extern "C" */