summaryrefslogtreecommitdiff
path: root/src/c/hardware/rasberrypi/includes
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/hardware/rasberrypi/includes')
-rw-r--r--src/c/hardware/rasberrypi/includes/RPIPeripheralDigital.h4
-rw-r--r--src/c/hardware/rasberrypi/includes/RPIPeripheralPWM.h8
-rw-r--r--src/c/hardware/rasberrypi/includes/RPIPeripheralSerial.h34
-rw-r--r--src/c/hardware/rasberrypi/includes/RPIPeripheralTiming.h4
4 files changed, 25 insertions, 25 deletions
diff --git a/src/c/hardware/rasberrypi/includes/RPIPeripheralDigital.h b/src/c/hardware/rasberrypi/includes/RPIPeripheralDigital.h
index 60561cc..2f40ffb 100644
--- a/src/c/hardware/rasberrypi/includes/RPIPeripheralDigital.h
+++ b/src/c/hardware/rasberrypi/includes/RPIPeripheralDigital.h
@@ -25,8 +25,8 @@ extern "C" {
extern int phy_pin[];
-uint8 u8RPIDigitalSetups(uint8 pin, uint8 direction);
-uint8 u8RPIDigitalOuts(uint8 pin, uint8 state);
+void u8RPIDigitalSetups(uint8 pin, uint8 direction);
+void u8RPIDigitalOuts(uint8 pin, uint8 state);
uint8 u8RPIDigitalIns(uint8 pin);
#ifdef __cplusplus
diff --git a/src/c/hardware/rasberrypi/includes/RPIPeripheralPWM.h b/src/c/hardware/rasberrypi/includes/RPIPeripheralPWM.h
index 47634d0..d463d9c 100644
--- a/src/c/hardware/rasberrypi/includes/RPIPeripheralPWM.h
+++ b/src/c/hardware/rasberrypi/includes/RPIPeripheralPWM.h
@@ -19,10 +19,10 @@
extern "C" {
#endif
-uint8 u8RPIHardPWMWrites(uint8 pin, uint16 value);
-uint8 u8RPIHardPWMSetRanges(uint16 value);
-uint8 u8RPIHardPWMSetModes(uint8 mode);
-uint8 u8RPIHardPWMSetClocks(uint16 clk_divisor);
+void u8RPIHardPWMWrites(uint8 pin, uint16 value);
+void u8RPIHardPWMSetRanges(uint16 value);
+void u8RPIHardPWMSetModes(uint8 mode);
+void u8RPIHardPWMSetClocks(uint16 clk_divisor);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/includes/RPIPeripheralSerial.h b/src/c/hardware/rasberrypi/includes/RPIPeripheralSerial.h
index 199caf9..76a229e 100644
--- a/src/c/hardware/rasberrypi/includes/RPIPeripheralSerial.h
+++ b/src/c/hardware/rasberrypi/includes/RPIPeripheralSerial.h
@@ -20,27 +20,27 @@ extern "C" {
#endif
int u8RPISerialSetups(char* port, int baudrate);
-uint8 u8RPISerialCloses(int fd);
-
-uint8 u8RPISerialSendChars(int fd, uint8 data);
-uint8 u8RPISerialSendDatas(int fd, uint8 data);
-uint8 i8RPISerialSendDatas(int fd, int8 data);
-uint8 u16RPISerialSendDatas(int fd, uint16 data);
-uint8 i16RPISerialSendDatas(int fd, int16 data);
-uint8 sRPISerialSendDatas(int fd, float data);
-uint8 dRPISerialSendDatas(int fd, double data);
-uint8 u8RPISerialSendDataa(int fd, uint8* data, int size);
-uint8 i8RPISerialSendDataa(int fd, int8* data, int size);
-uint8 u16RPISerialSendDataa(int fd, uint16* data, int size);
-uint8 i16RPISerialSendDataa(int fd, int16* data, int size);
-uint8 sRPISerialSendDataa(int fd, float* data, int size);
-uint8 dRPISerialSendDataa(int fd, double* data, int size);
-uint8 gRPISerialSendDatas(int fd, uint8* data, int size);
+void u8RPISerialCloses(int fd);
+
+void u8RPISerialSendChars(int fd, uint8 data);
+void u8RPISerialSendDatas(int fd, uint8 data);
+void i8RPISerialSendDatas(int fd, int8 data);
+void u16RPISerialSendDatas(int fd, uint16 data);
+void i16RPISerialSendDatas(int fd, int16 data);
+void sRPISerialSendDatas(int fd, float data);
+void dRPISerialSendDatas(int fd, double data);
+void u8RPISerialSendDataa(int fd, void* data, int size);
+void i8RPISerialSendDataa(int fd, int8* data, int size);
+void u16RPISerialSendDataa(int fd, uint16* data, int size);
+void i16RPISerialSendDataa(int fd, int16* data, int size);
+void sRPISerialSendDataa(int fd, float* data, int size);
+void dRPISerialSendDataa(int fd, double* data, int size);
+void gRPISerialSendDatas(int fd, void* data, int size);
int16 i16RPISerialDataAvails(int fd);
int16 i16RPISerialGetChars(int fd);
-uint8 u8RPISerialFlushs(int fd);
+void u8RPISerialFlushs(int fd);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/rasberrypi/includes/RPIPeripheralTiming.h b/src/c/hardware/rasberrypi/includes/RPIPeripheralTiming.h
index d1ca027..854073f 100644
--- a/src/c/hardware/rasberrypi/includes/RPIPeripheralTiming.h
+++ b/src/c/hardware/rasberrypi/includes/RPIPeripheralTiming.h
@@ -22,8 +22,8 @@ extern "C" {
#include "types.h"
#include "wiringPi.h"
-uint8 u16RPIDelayMillis(uint16 time);
-uint8 u16RPIDelayMicros(uint16 time);
+void u16RPIDelayMillis(uint16 time);
+void u16RPIDelayMicros(uint16 time);
uint32 u32RPIGetMillis();
uint32 u32RPIGetMicros();