summaryrefslogtreecommitdiff
path: root/2.3-1/macros/Hardware
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/macros/Hardware')
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRADCSetup.binbin0 -> 5212 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRADCSetup.sci24
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRDigitalIn.binbin0 -> 4864 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRDigitalIn.sci12
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRDigitalOut.binbin0 -> 5376 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRDigitalOut.sci10
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.binbin0 -> 5188 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.sci11
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRDigitalSetup.binbin0 -> 5584 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRDigitalSetup.sci13
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRGetTimerValue.binbin0 -> 3256 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRGetTimerValue.sci16
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.binbin0 -> 3536 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.sci17
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRPWM0Setup.binbin0 -> 8196 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRPWM0Setup.sci57
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.binbin0 -> 6764 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.sci20
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRPWM1Setup.binbin0 -> 10604 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRPWM1Setup.sci54
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.binbin0 -> 3580 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.sci11
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRPWM2Setup.binbin0 -> 8464 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRPWM2Setup.sci48
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRReadADC.binbin0 -> 4896 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRReadADC.sci15
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRSleep.binbin0 -> 88 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRSleep.sci19
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRTimerSetup.binbin0 -> 7880 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRTimerSetup.sci45
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRUARTReceive.binbin0 -> 2504 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRUARTReceive.sci9
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRUARTSetup.binbin0 -> 8212 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRUARTSetup.sci44
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRUARTTransmit.binbin0 -> 2756 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/AVRUARTTransmit.sci16
-rw-r--r--2.3-1/macros/Hardware/AVR/GetAVRSupportFunctions.binbin0 -> 2516 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/GetPeripheral.binbin0 -> 2364 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/InsertPeripheralInList.binbin0 -> 1928 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/IsAVRSupportFunction.binbin0 -> 2712 bytes
-rw-r--r--2.3-1/macros/Hardware/AVR/libbin948 -> 928 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/GetRPISupportFunctions.binbin0 -> 4760 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/IsRPISupportFunction.binbin0 -> 4292 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_DelayMicro.binbin0 -> 3280 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_DelayMilli.binbin0 -> 3596 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.binbin0 -> 5264 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_DigitalOut.binbin0 -> 5352 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.binbin0 -> 5336 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_GetMicros.binbin0 -> 3568 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_GetMillis.binbin0 -> 3556 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetClock.binbin0 -> 3488 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetMode.binbin0 -> 2448 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetRange.binbin0 -> 3340 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMWrite.binbin0 -> 4628 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_PinISR.binbin0 -> 6952 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_SerialClose.binbin0 -> 2724 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_SerialFlush.binbin0 -> 3120 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_SerialGetChar.binbin0 -> 3404 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendChar.binbin0 -> 3344 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendData.binbin0 -> 3344 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/RPI_SerialSetup.binbin0 -> 3356 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/libbin952 -> 932 bytes
-rw-r--r--2.3-1/macros/Hardware/RasberryPi/u16RPISerialDataAvail.binbin0 -> 3520 bytes
63 files changed, 200 insertions, 241 deletions
diff --git a/2.3-1/macros/Hardware/AVR/AVRADCSetup.bin b/2.3-1/macros/Hardware/AVR/AVRADCSetup.bin
new file mode 100644
index 00000000..a1cbcf3c
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRADCSetup.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRADCSetup.sci b/2.3-1/macros/Hardware/AVR/AVRADCSetup.sci
index 603873b3..264062bc 100644
--- a/2.3-1/macros/Hardware/AVR/AVRADCSetup.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRADCSetup.sci
@@ -17,28 +17,26 @@ function AVRADCSetup(prescaler,adc_ref)
// Parameters
// prescaler: prescaler to be used for generating ADC clock (0-7)
// adc_ref : reference voltage to be used for ADC conversion
+// 0 -> Voltage on VREF pin
+// 1 -> Voltage on AVCC pin
+// 2 -> Internal 2.56 reference voltage
//
// Description
-// This function initialises ADc of AVR with given parameters. 'prescaler' is needed for deciding ADC clock. ADC clock should be between 50KHz and 200KHz and it given as (MCU clock/2^prescaler). Select appropriate prescaler depending on MCU clock. 'adc_ref' selects one of the available reference voltage sources available.
-//
-// The adc_ref can take the following values-
-// <itemizedlist>
-// <listitem><para>0 -> Voltage on VREF pin</para></listitem>
-// <listitem><para>1 -> Voltage on AVCC pin</para></listitem>
-// <listitem><para>2 -> Internal 2.56 reference voltage</para></listitem>
-// </itemizedlist>
-//
-// This is curretly dummy function. It provides no functionality but is required for providing support for generating C code for AVR.
-//
+// This function initialises ADc of AVR with given parameters. 'prescaler' is
+// needed for deciding ADC clock. ADC clock should be between 50KHz and 200KHz
+// and it given as (MCU clock/2^prescaler). Select appropriate prescaler depending
+// on MCU clock. 'adc_ref' selects one of the available reference voltage sources
+// available
// Examples
// AVRADCSetup(128,0)
// See also
// AVRReadADC
//
// Authors
-// Siddhesh Wani
-// Ashish Kamble
+// Siddhesh Wani Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
if(prescaler>=8)
disp("Error : Invalid input argument ''prescaler'' in AVRADCSetup function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRDigitalIn.bin b/2.3-1/macros/Hardware/AVR/AVRDigitalIn.bin
new file mode 100644
index 00000000..0fdfab82
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRDigitalIn.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRDigitalIn.sci b/2.3-1/macros/Hardware/AVR/AVRDigitalIn.sci
index 7addd663..54eb327b 100644
--- a/2.3-1/macros/Hardware/AVR/AVRDigitalIn.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRDigitalIn.sci
@@ -18,6 +18,8 @@ function state = AVRDigitalIn(port,pin)
// Parameters
// port : port of microcontroller to be used
// pin : pin of port (mentioned above) to be used
+// Returns
+// state : state of an input pin (HIGH\LOW)
//
// Description
// Each AVR microcontroller has pins which can be configured as digital
@@ -25,18 +27,18 @@ function state = AVRDigitalIn(port,pin)
// User has to select one of these port and which pin of that port as
// digital input.
//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
-//
// Examples
// pinA0 = AVRDigitalIn(1,0) //To read state on pin 0 of port A
+//
// See also
// AVRDigitalOut AVRDigitalSetup
//
+//
// Authors
-// Siddhesh Wani
-// Ashish Kamble
+// Siddhesh Wani Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
if((port==0)|(port>=5)) then
disp("Error : Inavalid input argument ''port'' in AVRDigitalIn function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRDigitalOut.bin b/2.3-1/macros/Hardware/AVR/AVRDigitalOut.bin
new file mode 100644
index 00000000..7e56e466
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRDigitalOut.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRDigitalOut.sci b/2.3-1/macros/Hardware/AVR/AVRDigitalOut.sci
index 0efc927b..a86a5aa9 100644
--- a/2.3-1/macros/Hardware/AVR/AVRDigitalOut.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRDigitalOut.sci
@@ -26,18 +26,18 @@ function AVRDigitalOut(port,pin,state)
// digital output. Also, desired output state must be specified as
// 'HIGH' or 'LOW'.
//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
-//
// Examples
// AVRDigitalOut('A',0,HIGH)
+//
// See also
// AVRDigitalIn
//
+//
// Authors
-// Siddhesh Wani
-// Ashish Kamble
+// Siddhesh Wani Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
if((port==0)|(port>=8)) then
disp("Error : Inavalid input argument ''port'' in AVRDigitalOut function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.bin b/2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.bin
new file mode 100644
index 00000000..cf96fbb1
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.sci b/2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.sci
index 65e8494a..5f0b9671 100644
--- a/2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.sci
@@ -15,7 +15,7 @@ function AVRDigitalPortSetup(port,direction)
// AVRDigitalPortSetup(port,direction)
//
// Parameters
-// port : port of microcontroller to be used(1 for PORTA, 2 for PORTB,...)
+// port : port of microcontroller to be used(1 for PORTA, 2 for PORTB,...)
// direction : direction to be set for pin (0 for INPUT, 1 for OUTPUT)
//
// Description
@@ -25,19 +25,18 @@ function AVRDigitalPortSetup(port,direction)
// used as digital output/input. Also, desired direction must be specified as
// 'INPUT' or 'OUTPUT'.
//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
-//
// Examples
// AVRDigitalPortSetup(1,0); //This function will make PortA as input port
//
// See also
// AVRDigitalIn AVRDigitalOut
//
+//
// Authors
-// Siddhesh Wani
-// Ashish Kamble
+// Siddhesh Wani Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
if((port==0)|(port>=5)) then
disp("Error : Invalid input argument ''port'' in AVRDigitalPortSetup function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRDigitalSetup.bin b/2.3-1/macros/Hardware/AVR/AVRDigitalSetup.bin
new file mode 100644
index 00000000..dec6eb2a
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRDigitalSetup.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRDigitalSetup.sci b/2.3-1/macros/Hardware/AVR/AVRDigitalSetup.sci
index ed6cf306..e707d4fa 100644
--- a/2.3-1/macros/Hardware/AVR/AVRDigitalSetup.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRDigitalSetup.sci
@@ -15,8 +15,8 @@ function AVRDigitalSetup(port,pin,direction)
// AVRDigitalSetup(port,pin,direction)
//
// Parameters
-// port : port of microcontroller to be used
-// pin : pin of port (mentioned above) to be used
+// port : port of microcontroller to be used
+// pin : pin of port (mentioned above) to be used
// direction : direction to be set for pin (INPUT\OUTPUT)
//
// Description
@@ -26,19 +26,18 @@ function AVRDigitalSetup(port,pin,direction)
// used as digital output/input. Also, desired direction must be specified as
// 'INPUT' or 'OUTPUT'.
//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
-//
// Examples
// AVRDigitalSetup('A',0,OUTPUT)
//
// See also
// AVRDigitalIn AVRDigitalOut
//
+//
// Authors
-// Siddhesh Wani
-// Ashish Kamble
+// Siddhesh Wani Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
if((port==0)|(port>=5)) then
disp("Error : Invalid input argument ''port'' in AVRDigitalSetup function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRGetTimerValue.bin b/2.3-1/macros/Hardware/AVR/AVRGetTimerValue.bin
new file mode 100644
index 00000000..1b883131
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRGetTimerValue.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRGetTimerValue.sci b/2.3-1/macros/Hardware/AVR/AVRGetTimerValue.sci
index 05919b38..afb47ac8 100644
--- a/2.3-1/macros/Hardware/AVR/AVRGetTimerValue.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRGetTimerValue.sci
@@ -18,26 +18,20 @@ function count = AVRGetTimerValue(timer)
// 2 for timer2
//
// Description
-// This function returns the count value of a desired timer.By knowing the count value certain interrupt action can be taken.
-//
-// Timer can take the following values
-// <itemizedlist>
-// <listitem><para>0 -> for timer0</para></listitem>
-// <listitem><para>1 -> for timer1</para></listitem>
-// <listitem><para>2 -> for timer2</para></listitem>
-// </itemizedlist>
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
+// This function returns the count value of a desired timer.By knowing the count value
+// certain interrupt action can be taken.
//
// Examples
// AVRGetTimerValue(0); //returns present count of the TCNT0 counter
+//
// See also
// AVRTimerSetup
//
// Authors
// Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
if(timer>=3) then
disp("Error : Invalid input argument ''timer'' in AVRGetTimerValue function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.bin b/2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.bin
new file mode 100644
index 00000000..1518222d
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.sci b/2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.sci
index c3815d10..604d2f40 100644
--- a/2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.sci
@@ -9,18 +9,15 @@
// Email: toolbox@scilab.in
function AVRPWM0SetDuty(duty)
-//Function to Set Duty cycle of PWM Output generated by Timer0 at OC0 pin.
-//
+//Function to Set Duty cycle of PWM Output generated by Timer0 at OC0 pin.
//Parameters
-// duty : It holds an integer value from 0 to 100 which sets the percentage of time for which signal is active.
-//
+// duty : It holds an integer value from 0 to 100 which sets the percentage
+// of time for which signal is active.
//Description
// Each Micro controller has PWM output pins which can generate varying voltage
-// from 0V-5V.In this function by varying the duty cycle, varying voltage can be produced.
-//
-// This is curretly dummy function. It provides no functionality but is required for providing support for generating C code for AVR.
-//
-//Examples
+// from 0V-5V.In this function by varying the duty cycle, varying voltage can be
+// produced.
+//Example
// AVRPWM0SetDuty(50); //Produces 2.5V at OC0 pin
// AVRPWM0SetDuty(0); //Produces 0V at OC0 pin
//See also
@@ -29,6 +26,8 @@ function AVRPWM0SetDuty(duty)
//Authors
// Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
if(duty>100) then
disp("Error : Invalid input argument ''duty'' in AVRPWM0SetDuty function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM0Setup.bin b/2.3-1/macros/Hardware/AVR/AVRPWM0Setup.bin
new file mode 100644
index 00000000..08867048
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRPWM0Setup.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM0Setup.sci b/2.3-1/macros/Hardware/AVR/AVRPWM0Setup.sci
index c391f71e..39861c86 100644
--- a/2.3-1/macros/Hardware/AVR/AVRPWM0Setup.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRPWM0Setup.sci
@@ -10,48 +10,43 @@
function AVRPWM0Setup(waveform_mode,output_mode)
//Function to Setup OC0 pin for required PWM mode
-//
-//Parameters
-// waveform_mode: integer, from 0 to 2
-// output_mode: integer, from 0 to 1 (or 2) depending on the waveform_mode
-//
//Description
// Every Micro controller has PWM pins which can generate varying voltages
// from 0V-5V.This function helps to use OC0 pin to produce required
// output waveform by setting the waveform mode and otput mode.
//
-// waveform_mode can take values-
-// <itemizedlist>
-// <listitem><para>0 -> for Phase correct PWM Mode</para></listitem>
-// <listitem><para>1 -> for Fast PWM Mode</para></listitem>
-// <listitem><para>2 -> for CTC Mode</para></listitem>
-// </itemizedlist>
-//
-// output_mode can take values-
-// <itemizedlist>
-// For Phase correct PWM Mode:
-// <listitem><para>0 for Clear OC0 on compare match when up-counting. Set OC0 on compare match when down-counting.</para></listitem>
-// <listitem><para>1 for Set OC0 on compare match when up-counting. Clear OC0 on compare match when down-counting.</para></listitem>
-// For Fast PWM Mode:
-// <listitem><para>0 for non-inverted output i.e Clear OC0 on compare match, set OC0 at BOTTOM.</para></listitem>
-// <listitem><para>1 for inverted output i.e Set OC0 on compare match, clear OC0 at BOTTOM.</para></listitem>
-// For CTC Mode:
-// <listitem><para>0 to Clear OC0 on compare match</para></listitem>
-// <listitem><para>1 to Set OC0 on compare match</para></listitem>
-// <listitem><para>2 to toggle OC0 on compare match</para></listitem>
-// </itemizedlist>
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
-//
-//Examples
-// AVRPWM0Setup(2,0); //This function will select CTC waveform mode and will clear OC0 on compare match
+//Parameters
+// waveform_mode:
+// 0 for Phase correct PWM Mode
+// 1 for Fast PWM Mode
+// 2 for CTC Mode
+// output_mode:
+// For Phase Correct PWM Mode:
+// 0 for Clear OC0 on compare match when up-counting. Set OC0 on compare
+// match when down-counting.
+// 1 for Set OC0 on compare match when up-counting. Clear OC0 on compare
+// match when down-counting.
+//
+// For Fast PWM Mode:
+// 0 for non-inverted output i.e Clear OC0 on compare match, set OC0 at BOTTOM.
+// 1 for inverted output i.e Set OC0 on compare match, clear OC0 at BOTTOM.
+//
+// For CTC Mode:
+// 0 to Clear OC0 on compare match
+// 1 to Set OC0 on compare match
+// 2 to toggle OC0 on compare match
+//
+//Example
+// AVRPWM0Setup(2,0); //This function will select CTC waveform mode and will clear OC0 on
+// compare match
//See also
// AVRPWM0SetDuty
//
//Authors
// Ashish Kamble
//
+//This is curretly dummy function. It provides no functionality but is required
+//for providing support for generating C code for AVR.
if(waveform_mode>=3) then
disp("Error : Invalid input argument ''waveform_mode'' in AVRPWM0Setup function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.bin b/2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.bin
new file mode 100644
index 00000000..79e4ab62
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.sci b/2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.sci
index fd6e7baf..60dc0a9f 100644
--- a/2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.sci
@@ -11,28 +11,34 @@
function AVRPWM1SetDuty(output_pin,duty,Top_Value)
//Function to Set Duty cycle of PWM Output generated by Timer1 at OC1A or OC1B pin.
//Parameters
-// ouput_pin: integer, 0 (for OC1A) or 1 (for OC1B)
+// ouput_pin:
+// 0 for selecting OC1A as output pin
+// 1 for selecting OC1B as output pin
//
-// duty: It holds an integer value from 0 to 100 which sets the percentage of time for which signal is active.
+// duty: It holds an integer value from 0 to 100 which sets the percentage
+// of time for which signal is active.
//
-// Top_Value: It holds an integer value from 0 to 65535.This value sets the Top value of the counter TCNT1 i.e ICR.(for more info refer datasheet)
+// Top_Value: It holds an integer value from 0 to 65535.This value sets the Top
+// value of the counter TCNT1 i.e ICR.(for more info refer datasheet)
//
//Description
// Each Micro controller has PWM output pins which can generate varying voltage
// from 0V-5V.This function Sets the duty cycle of output PWM signal.Also this function
// decides the Top Vale of TCNT1 and the output pin to output PWM signal.
//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
-//
//Example
-// AVRPWM1SetDuty(0,50,40000); //This function will produce PWM signal of 50% duty cycle on OC1A pin and TCNT1 will reset at 40000 instead at 65535.
+// AVRPWM1SetDuty(0,50,40000); //This function will produce PWM signal of 50% duty
+// cycle on OC1A pin and TCNT1 will reset at 40000 instead
+// at 65535.
+//
//See also
// AVRPWM1Setup
//
//Authors
// Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
if(output_pin>=2) then
disp("Error : Invalid input argument ''output_pin'' in AVRPWM1SetDuty function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM1Setup.bin b/2.3-1/macros/Hardware/AVR/AVRPWM1Setup.bin
new file mode 100644
index 00000000..235cdba2
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRPWM1Setup.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM1Setup.sci b/2.3-1/macros/Hardware/AVR/AVRPWM1Setup.sci
index fbd96ce3..51aa25b1 100644
--- a/2.3-1/macros/Hardware/AVR/AVRPWM1Setup.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRPWM1Setup.sci
@@ -10,40 +10,38 @@
function AVRPWM1Setup(waveform_mode,output_mode,output_pin)
//Function to Setup OC1A or OC1B pin for required PWM mode
-//
-//Parameters
-// waveform_mode: integer, from 0 to 2
-// output_mode: integer, from 0 to 1 (or 2) depending on the waveform_mode
-// output_pin: 0 (for OC1A) or 1 for (OC1B)
-//
//Description
// Every Micro controller has PWM pins which can generate varying voltages
// from 0V-5V.This function helps to use OC1A or OC1B pin to produces required
// output waveform by setting the waveform mode and otput mode.
//
-// waveform_mode can take values-
-// <itemizedlist>
-// <listitem><para>0 -> for Phase correct PWM Mode</para></listitem>
-// <listitem><para>1 -> for Fast PWM Mode</para></listitem>
-// <listitem><para>2 -> for CTC Mode</para></listitem>
-// </itemizedlist>
+//Parameters
+// waveform_mode:
+// 0 for Phase correct PWM Mode
+// 1 for Fast PWM Mode
+// 2 for CTC Mode
//
-// output_mode can take values-
-// <itemizedlist>
-// For Phase correct PWM Mode:
-// <listitem><para>0 for Clear OC1A or OC1B on compare match when up-counting. Set OC1A or OC1B on compare match when down-counting.</para></listitem>
-// <listitem><para>1 for Set OC1A or OC1B on compare match when up-counting. Clear OC1A or OC1B on compare match when down-counting.</para></listitem>
-// For Fast PWM Mode:
-// <listitem><para>0 for non-inverted output i.e Clear OC1A or OC1B on compare match, set OC1A or OC1B at BOTTOM.</para></listitem>
-// <listitem><para>1 for inverted output i.e Set OC1A or OC1B on compare match, clear OC1A or OC1B at BOTTOM.</para></listitem>
-// For CTC Mode:
-// <listitem><para>0 to Clear OC1A or OC1B on compare match</para></listitem>
-// <listitem><para>1 to Set OC1A or OC1B on compare match</para></listitem>
-// <listitem><para>2 to toggle OC1A or OC1B on compare match</para></listitem>
-// </itemizedlist>
+// output_mode:
+// For Phase Correct PWM Mode:
+// 0 for Clear OC1A or OC1B on compare match when up-counting. Set OC1A or OC1B
+// on compare match when down-counting.
+// 1 for Set OC1A or OC1B on compare match when up-counting. Clear OC1A or OC1B
+// on compare match when down-counting.
+//
+// For Fast PWM Mode:
+// 0 for non-inverted output i.e Clear OC1A or OC1B on compare match, set OC1A
+// OC1B at BOTTOM.
+// 1 for inverted output i.e Set OC1A or OC1B on compare match, clear OC1A or OC1B
+// at BOTTOM.
+//
+// For CTC Mode:
+// 0 to Clear OC1A or OC1B on compare match
+// 1 to Set OC1A or OC1B on compare match
+// 2 to toggle OC1A or OC1B on compare match
//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
+// output_pin:
+// 0 for selecting OC1A as output pin
+// 1 for selecting OC1B as output pin
//
//Example
// AVRPWM1Setup(2,0,0); //This function will select CTC mode and will clear OC1A or OC1B
@@ -55,6 +53,8 @@ function AVRPWM1Setup(waveform_mode,output_mode,output_pin)
//Authors
// Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
if(waveform_mode>=3) then
disp("Error : Invalid input argument ''waveform_mode'' in AVRPWM1Setup function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.bin b/2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.bin
new file mode 100644
index 00000000..a1c7f3b2
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.sci b/2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.sci
index 81d1761e..929c1a0a 100644
--- a/2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.sci
@@ -10,17 +10,14 @@
function AVRPWM2SetDuty(duty)
//Function to Set Duty cycle of PWM Output generated by Timer2 at OC2 pin.
-//
-//Parameters
-// duty : It holds an integer value from 0 to 100 which sets the percentage of time for which signal is active.
-//
//Description
// Each Micro controller has PWM output pins which can generate varying voltage
// from 0V-5V.In this function by varying the duty cycle, varying voltage can be
// produced.
//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
+//Parameters
+// duty : It holds an integer value from 0 to 100 which sets the percentage
+// of time for which signal is active.
//
//Example
// AVRPWM2SetDuty(50); //Produces 2.5V at OC2 pin
@@ -32,6 +29,8 @@ function AVRPWM2SetDuty(duty)
//Authors
// Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
if(duty>100) then
disp("Error : Invalid input argument ''duty'' in AVRPWM2SetDuty function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM2Setup.bin b/2.3-1/macros/Hardware/AVR/AVRPWM2Setup.bin
new file mode 100644
index 00000000..66996c08
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRPWM2Setup.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM2Setup.sci b/2.3-1/macros/Hardware/AVR/AVRPWM2Setup.sci
index 11d9b019..d4bc74a6 100644
--- a/2.3-1/macros/Hardware/AVR/AVRPWM2Setup.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRPWM2Setup.sci
@@ -10,40 +10,32 @@
function AVRPWM2Setup(waveform_mode,output_mode)
//Function to Setup OC2 pin for required PWM mode
-//
-//Parameters
-// waveform_mode: integer, from 0 to 2
-// output_mode: integer, from 0 to 1 (or 2) depending on the waveform_mode
-//
//Description
// Every Micro controller has PWM pins which can generate varying voltages
// from 0V-5V.This function helps to use OC2 pin to produces required
// output waveform by setting the waveform mode and otput mode.
//
-// waveform_mode can take values-
-// <itemizedlist>
-// <listitem><para>0 -> for Phase correct PWM Mode</para></listitem>
-// <listitem><para>1 -> for Fast PWM Mode</para></listitem>
-// <listitem><para>2 -> for CTC Mode</para></listitem>
-// </itemizedlist>
-//
-// output_mode can take values-
-// <itemizedlist>
-// For Phase correct PWM Mode:
-// <listitem><para>0 for Clear OC2 on compare match when up-counting. Set OC2 on compare match when down-counting.</para></listitem>
-// <listitem><para>1 for Set OC2 on compare match when up-counting. Clear OC2 on compare match when down-counting.</para></listitem>
+//Parameters
+// waveform_mode:
+// 0 for Phase correct PWM Mode
+// 1 for Fast PWM Mode
+// 2 for CTC Mode
+//output_mode:
+// For Phase Correct PWM Mode:
+// 0 for Clear OC2 on compare match when up-counting. Set OC2 on compare
+// match when down-counting.
+// 1 for Set OC2 on compare match when up-counting. Clear OC2 on compare
+// match when down-counting.
+//
// For Fast PWM Mode:
-// <listitem><para>0 for non-inverted output i.e Clear OC2 on compare match, set OC2 at BOTTOM.</para></listitem>
-// <listitem><para>1 for inverted output i.e Set OC2 on compare match, clear OC2 at BOTTOM.</para></listitem>
+// 0 for non-inverted output i.e Clear OC2 on compare match, set OC2 at BOTTOM.
+// 1 for inverted output i.e Set OC2 on compare match, clear OC2 at BOTTOM.
+//
// For CTC Mode:
-// <listitem><para>0 to Clear OC2 on compare match</para></listitem>
-// <listitem><para>1 to Set OC2 on compare match</para></listitem>
-// <listitem><para>2 to toggle OC2 on compare match</para></listitem>
-// </itemizedlist>
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
-//
+// 0 to Clear OC2 on compare match
+// 1 to Set OC2 on compare match
+// 2 to toggle OC2 on compare match
+//
//Example
// AVRPWM2Setup(2,0); //This function will select CTC waveform mode and will clear OC2 on
// compare match
@@ -53,6 +45,8 @@ function AVRPWM2Setup(waveform_mode,output_mode)
//Authors
// Ashish Kamble
//
+//This is curretly dummy function. It provides no functionality but is required
+//for providing support for generating C code for AVR.
if(waveform_mode>=3) then
disp("Error : Invalid input argument ''waveform_mode'' in AVRPWM2Setup function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRReadADC.bin b/2.3-1/macros/Hardware/AVR/AVRReadADC.bin
new file mode 100644
index 00000000..25b45a83
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRReadADC.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRReadADC.sci b/2.3-1/macros/Hardware/AVR/AVRReadADC.sci
index 71cafa7e..7fd3e67e 100644
--- a/2.3-1/macros/Hardware/AVR/AVRReadADC.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRReadADC.sci
@@ -15,7 +15,11 @@ function adc_result = AVRReadADC(channel)
// u8AVRReadADCs(channel)
//
// Parameters
-// channel : Select which channel is to be read. Values from 0-7 select one of the pins ADC0-ADC7. For other possible channel values refer datasheet
+// channel : Select which channel is to be read. Values from 0-7 select one
+// of the pins ADC0-ADC7. For other possible channel values refer
+// datasheet
+// Returns->
+// result : Digital value for the voltage present on channel selected
//
// Description
// This function returns digital value for present on adc pins. 'channel'
@@ -24,15 +28,14 @@ function adc_result = AVRReadADC(channel)
// voltages between some pins. For channel values for those options, please
// refer datasheet.
//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
-//
// Examples
// adc_result = u8AVRReadADC(0) //Read ADC0
+//
// Authors
-// Siddhesh Wani
-// Ashish Kamble
+// Siddhesh Wani Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
if(channel>=8) then
disp("Error : Inavlid input argument ''channel'' in AVRReadADC function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRSleep.bin b/2.3-1/macros/Hardware/AVR/AVRSleep.bin
new file mode 100644
index 00000000..e4b10d83
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRSleep.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRSleep.sci b/2.3-1/macros/Hardware/AVR/AVRSleep.sci
index eec6e5a2..a1b6add2 100644
--- a/2.3-1/macros/Hardware/AVR/AVRSleep.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRSleep.sci
@@ -1,21 +1,4 @@
function AVRSleep(delay)
-// Function to pause the execution for the given time.
-//
-// Parameter
-// delay : The time, in milliseconds, for which the execution is to be paused
-//
-// Description
-// This function causes the execution to stop for the given amount of time.
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
-//
-//Examples
-// AVRSleep(5000);
-//See also
-//
-// Authors
-// Jorawar Singh
-//
+
endfunction
diff --git a/2.3-1/macros/Hardware/AVR/AVRTimerSetup.bin b/2.3-1/macros/Hardware/AVR/AVRTimerSetup.bin
new file mode 100644
index 00000000..775d718a
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRTimerSetup.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRTimerSetup.sci b/2.3-1/macros/Hardware/AVR/AVRTimerSetup.sci
index 55fd55fa..7c5dd1da 100644
--- a/2.3-1/macros/Hardware/AVR/AVRTimerSetup.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRTimerSetup.sci
@@ -10,44 +10,37 @@
function AVRTimerSetup(timer,prescaler,clock_source)
//Function to setup Timers in ATmega16
-//
-//Parameters:
-// timer : integer, from 0 to 2
-// prescaler : integer.
-// clock_source : integer, 0 (for internal) or 1 (for external)
-//
//Descrpition:
// This function tells the micro controller which clock source you will be using.
// The timer value and prescaler value passed in this function setup the timer as per
// your requirement.
//
-// timer can take values-
-// <itemizedlist>
-// <listitem><para>0 -> for timer0</para></listitem>
-// <listitem><para>1 -> for timer1</para></listitem>
-// <listitem><para>2 -> for timer2</para></listitem>
-// </itemizedlist>
-//
-// prescaler can take values-
-// <itemizedlist>
-// <listitem><para>1 for no prescaling i.e clock will run at max 16Hz frequency</para></listitem>
-// <listitem><para>8 for prescaling clock by 8 i.e new clock frequency will be (clk/8)</para></listitem>
-// <listitem><para>64 for prescaling clock by 64 i.e new clock frequency will be (clk/64)</para></listitem>
-// <listitem><para>256 for prescaling clock by 256 i.e new clock frequency will be (clk/256)</para></listitem>
-// <listitem><para>1024 for prescaling clock by 1024 i.e new clock frequency will be (clk/1024)</para></listitem>
-// </itemizedlist>
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
-//
+//Parameters:
+// timer : It is an integer value.
+// 0 to setup timer0
+// 1 to setup timer1
+// 2 to setup timer2
+// prescaler : It is an integer value.
+// 1 for no prescaling i.e clock will run at max 16Hz frequency
+// 8 for prescaling clock by 8 i.e new clock frequency will be (clk/8)
+// 64 for prescaling clock by 64 i.e new clock frequency will be (clk/64)
+// 256 for prescaling clock by 256 i.e new clock frequency will be (clk/256)
+// 1024 for prescaling clock by 1024 i.e new clock frequency will be (clk/1024)
+// clock_source : It is an integer value.
+// 0 if you are using internal clock source
+// 1 if you are using external clock source
//Example
-// AVRTimerSetup(0,64,0); //This function will select timer0 with timer running as per internal clock source and prescaled by 64.
+// AVRTimerSetup(0,64,0); //This function will select timer0 with timer running as per
+// internal clock source and prescaled by 64.
+//
//See also
// AVRGetTimerValues
//
//Authors
// Ashish Kamble
//
+//This is curretly dummy function. It provides no functionality but is required
+//for providing support for generating C code for AVR.
if(timer>=3) then
disp("Error : Invalid input argument ''timer'' in AVRTimerSetup function.");
diff --git a/2.3-1/macros/Hardware/AVR/AVRUARTReceive.bin b/2.3-1/macros/Hardware/AVR/AVRUARTReceive.bin
new file mode 100644
index 00000000..013036e3
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRUARTReceive.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRUARTReceive.sci b/2.3-1/macros/Hardware/AVR/AVRUARTReceive.sci
index 7fdf6f05..790894fb 100644
--- a/2.3-1/macros/Hardware/AVR/AVRUARTReceive.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRUARTReceive.sci
@@ -10,16 +10,13 @@
function received = AVRUARTReceive()
// Function to Receive Char value send to ATmega16 using UART or USART.
-//
// Description
// This function Receives Char as 8 bit value.This value is stored in UDR at receiving
// end.
//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
-//
//Examples
-// state = AVRUARTReceive(); //This function will Receive char and return the entire value
+// state = AVRUARTReceive(); //This function will Receive char and return the entire value
+//
//See also
// AVRUARTSetup
// AVRUARTTransmit
@@ -27,5 +24,7 @@ function received = AVRUARTReceive()
// Authors
// Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
received = 0; // received has been initialised to avoid runtime error.
endfunction
diff --git a/2.3-1/macros/Hardware/AVR/AVRUARTSetup.bin b/2.3-1/macros/Hardware/AVR/AVRUARTSetup.bin
new file mode 100644
index 00000000..82ec2911
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRUARTSetup.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRUARTSetup.sci b/2.3-1/macros/Hardware/AVR/AVRUARTSetup.sci
index 6ecf2a07..32e5db86 100644
--- a/2.3-1/macros/Hardware/AVR/AVRUARTSetup.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRUARTSetup.sci
@@ -10,34 +10,29 @@
function AVRUARTSetup(mode, baudrate, stopbits, parity)
// Function to Setup Serial Communication i.e UART or USART in ATmega16.
-//
-// Parameters
-// mode : integer, from 0 to 2
-// baudrate : Enter one of the following available baudrates (2400 , 4800 , 9600 , 14400 , 19200 , 28800 , 38400 , 57600 , 768000 , 115200 , 230400 , 250000 , 1000000)
-// stopbits : integer, (0 for one stopbit) or (1 for two stopbits)
-// parity : integer, from 0 to 2
-//
// Description
// This function Setup the UART or USART for Serial Communicaion between ATmega16
// and different micro controllers or between ATmega16 and Computer.
+//
+// Parameters
+// mode :
+// 0 for Asynchronous Normal mode
+// 1 for Asynchronous Double Speed mode
+// 2 for Synchronous mode
+//
+// baudrate : Enter one of the following available baudrates
+// 2400 , 4800 , 9600 , 14400 , 19200 , 28800 , 38400 , 57600 ,
+// 768000 , 115200 , 230400 , 250000 , 1000000 .
//
-// mode can take values:
-// <itemizedlist>
-// <listitem><para>0 for Asynchronous Normal mode</para></listitem>
-// <listitem><para>1 for Asynchronous Double Speed mode</para></listitem>
-// <listitem><para>2 for Synchronous mode</para></listitem>
-// </itemizedlist>
-//
-// parity can take values:
-// <itemizedlist>
-// <listitem><para>0 for parity disabled</para></listitem>
-// <listitem><para>1 for even parity</para></listitem>
-// <listitem><para>2 for odd parity</para></listitem>
-// </itemizedlist>
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
+// stopbits :
+// 0 for one stopbit
+// 1 for two stopbits
//
+// parity :
+// 0 for parity disabled
+// 1 for even parity
+// 2 for odd parity
+//
//Examples
// AVRUARTSetup(0,9600,0,0); //This function will enable UART Communication for ATmega16
// with 9600 as baudrate,one stop bit and parity disabled
@@ -48,7 +43,8 @@ function AVRUARTSetup(mode, baudrate, stopbits, parity)
// Authors
// Ashish Kamble
//
-
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
if(mode>=3) then
disp("Error : Invalid input argument ''mode'' in AVRUARTSetup function.");
end
diff --git a/2.3-1/macros/Hardware/AVR/AVRUARTTransmit.bin b/2.3-1/macros/Hardware/AVR/AVRUARTTransmit.bin
new file mode 100644
index 00000000..9e53d9a6
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/AVRUARTTransmit.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/AVRUARTTransmit.sci b/2.3-1/macros/Hardware/AVR/AVRUARTTransmit.sci
index 695c708d..eb358499 100644
--- a/2.3-1/macros/Hardware/AVR/AVRUARTTransmit.sci
+++ b/2.3-1/macros/Hardware/AVR/AVRUARTTransmit.sci
@@ -10,19 +10,17 @@
function AVRUARTTransmit(data)
// Function to Transmit data using UART or USART.
-//
-// Parameter
-// data : The data to be transmitted can be a Char,String,Unsigned Int,Signed Int.
-//
// Description
// This function Tranmits data over UART or USART.The data to be transmitted can
// be a Char , String , Unsigned Int, Signed Int.
-//
-// This is curretly dummy function. It provides no functionality but is required
-// for providing support for generating C code for AVR.
+//
+// Parameter
+// data :
+// The data to be transmitted can be a Char,String,Unsigned Int,Signed Int.
//
//Examples
-// AVRUARTTransmit("This is example"); //This function will transmit the entered string.
+// AVRUARTTransmit("This is example"); //This function will transmit the entered string.
+//
//See also
// AVRUARTSetup
// AVRUARTReceive
@@ -30,4 +28,6 @@ function AVRUARTTransmit(data)
// Authors
// Ashish Kamble
//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
endfunction
diff --git a/2.3-1/macros/Hardware/AVR/GetAVRSupportFunctions.bin b/2.3-1/macros/Hardware/AVR/GetAVRSupportFunctions.bin
new file mode 100644
index 00000000..48ab5cd8
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/GetAVRSupportFunctions.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/GetPeripheral.bin b/2.3-1/macros/Hardware/AVR/GetPeripheral.bin
new file mode 100644
index 00000000..b496bbb0
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/GetPeripheral.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/InsertPeripheralInList.bin b/2.3-1/macros/Hardware/AVR/InsertPeripheralInList.bin
new file mode 100644
index 00000000..c49f4e04
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/InsertPeripheralInList.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/IsAVRSupportFunction.bin b/2.3-1/macros/Hardware/AVR/IsAVRSupportFunction.bin
new file mode 100644
index 00000000..e2382308
--- /dev/null
+++ b/2.3-1/macros/Hardware/AVR/IsAVRSupportFunction.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/AVR/lib b/2.3-1/macros/Hardware/AVR/lib
index f1c7384d..5f9662bb 100644
--- a/2.3-1/macros/Hardware/AVR/lib
+++ b/2.3-1/macros/Hardware/AVR/lib
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/GetRPISupportFunctions.bin b/2.3-1/macros/Hardware/RasberryPi/GetRPISupportFunctions.bin
new file mode 100644
index 00000000..a70999c0
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/GetRPISupportFunctions.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/IsRPISupportFunction.bin b/2.3-1/macros/Hardware/RasberryPi/IsRPISupportFunction.bin
new file mode 100644
index 00000000..11533d3e
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/IsRPISupportFunction.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_DelayMicro.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_DelayMicro.bin
new file mode 100644
index 00000000..a4d32cb6
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_DelayMicro.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_DelayMilli.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_DelayMilli.bin
new file mode 100644
index 00000000..b6eeb30b
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_DelayMilli.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.bin
new file mode 100644
index 00000000..f4c16f39
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalOut.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalOut.bin
new file mode 100644
index 00000000..b7ad06e5
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalOut.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.bin
new file mode 100644
index 00000000..1ac5b582
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_GetMicros.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_GetMicros.bin
new file mode 100644
index 00000000..3e6c08fa
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_GetMicros.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_GetMillis.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_GetMillis.bin
new file mode 100644
index 00000000..b9143650
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_GetMillis.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetClock.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetClock.bin
new file mode 100644
index 00000000..1efe0803
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetClock.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetMode.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetMode.bin
new file mode 100644
index 00000000..075d6e60
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetMode.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetRange.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetRange.bin
new file mode 100644
index 00000000..8ded2709
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetRange.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMWrite.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMWrite.bin
new file mode 100644
index 00000000..9957f3a4
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMWrite.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_PinISR.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_PinISR.bin
new file mode 100644
index 00000000..ddeff684
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_PinISR.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_SerialClose.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialClose.bin
new file mode 100644
index 00000000..dce972dc
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialClose.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_SerialFlush.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialFlush.bin
new file mode 100644
index 00000000..2a3704d0
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialFlush.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_SerialGetChar.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialGetChar.bin
new file mode 100644
index 00000000..928f28a3
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialGetChar.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendChar.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendChar.bin
new file mode 100644
index 00000000..7614ebcb
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendChar.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendData.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendData.bin
new file mode 100644
index 00000000..a3524a6c
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendData.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSetup.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSetup.bin
new file mode 100644
index 00000000..0128c27b
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSetup.bin
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/lib b/2.3-1/macros/Hardware/RasberryPi/lib
index cf045366..370158ba 100644
--- a/2.3-1/macros/Hardware/RasberryPi/lib
+++ b/2.3-1/macros/Hardware/RasberryPi/lib
Binary files differ
diff --git a/2.3-1/macros/Hardware/RasberryPi/u16RPISerialDataAvail.bin b/2.3-1/macros/Hardware/RasberryPi/u16RPISerialDataAvail.bin
new file mode 100644
index 00000000..3789bd6c
--- /dev/null
+++ b/2.3-1/macros/Hardware/RasberryPi/u16RPISerialDataAvail.bin
Binary files differ