summaryrefslogtreecommitdiff
path: root/src/c/hardware/avr/interfaces
diff options
context:
space:
mode:
authorsiddhu89902015-12-11 18:28:43 +0530
committersiddhu89902015-12-11 18:28:43 +0530
commit96b51a5ded447676d493be9721e4480065a5ae7e (patch)
treec7a52243f195cf0887cc2141dd26e32cf332b483 /src/c/hardware/avr/interfaces
parent56d929da6683ca38ab07870173dba5aadb451403 (diff)
downloadScilab2C_fossee_old-96b51a5ded447676d493be9721e4480065a5ae7e.tar.gz
Scilab2C_fossee_old-96b51a5ded447676d493be9721e4480065a5ae7e.tar.bz2
Scilab2C_fossee_old-96b51a5ded447676d493be9721e4480065a5ae7e.zip
AVR ADC checked after some modifications
Diffstat (limited to 'src/c/hardware/avr/interfaces')
-rw-r--r--src/c/hardware/avr/interfaces/int_AVRPeripheralGPIO.h4
-rw-r--r--src/c/hardware/avr/interfaces/int_AVRUtil.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/c/hardware/avr/interfaces/int_AVRPeripheralGPIO.h b/src/c/hardware/avr/interfaces/int_AVRPeripheralGPIO.h
index a4f9b91..439532d 100644
--- a/src/c/hardware/avr/interfaces/int_AVRPeripheralGPIO.h
+++ b/src/c/hardware/avr/interfaces/int_AVRPeripheralGPIO.h
@@ -23,6 +23,10 @@ extern "C" {
#define d0d0d0AVRDigitalOutu80(in1,in2,in3) u8AVRDigitalOuts((uint8) in1,\
(uint8) in2, (uint8) in3);
+#define d0d0u80AVRDigitalOutu80(in1,in2,in3) u8AVRDigitalOuts((uint8) in1,\
+ (uint8) in2, (uint8) in3);
+
+
#ifdef __cplusplus
} /* extern "C" */
#endif
diff --git a/src/c/hardware/avr/interfaces/int_AVRUtil.h b/src/c/hardware/avr/interfaces/int_AVRUtil.h
index ce96951..2d6bbef 100644
--- a/src/c/hardware/avr/interfaces/int_AVRUtil.h
+++ b/src/c/hardware/avr/interfaces/int_AVRUtil.h
@@ -14,7 +14,7 @@
extern "C" {
#endif
-#define d0sleepu80(in1) U16AVRSleeps ((uint16) in1);
+#define d0sleepu80(in1) u16AVRSleeps ((uint16) in1);
#ifdef __cplusplus
} /* extern "C" */