From aef4e8398f2b1848b0e4cdd9580dbbe93e4006f9 Mon Sep 17 00:00:00 2001 From: Jorawar Singh Date: Fri, 30 Jun 2017 11:28:58 +0530 Subject: Help files, modified Raspberry Pi code conversion --- help/en_US/scilab_en_US_help/AVRPWM0Setup.html | 98 ++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 help/en_US/scilab_en_US_help/AVRPWM0Setup.html (limited to 'help/en_US/scilab_en_US_help/AVRPWM0Setup.html') diff --git a/help/en_US/scilab_en_US_help/AVRPWM0Setup.html b/help/en_US/scilab_en_US_help/AVRPWM0Setup.html new file mode 100644 index 00000000..d24d9d8d --- /dev/null +++ b/help/en_US/scilab_en_US_help/AVRPWM0Setup.html @@ -0,0 +1,98 @@ + + + AVRPWM0Setup + + + +
+ + + + +
+ << AVRPWM0SetDuty + + + Scilab 2 C Converter + + + AVRPWM1SetDuty >> + +
+
+
+ + + + Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM0Setup + +

+

AVRPWM0Setup

+

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- +

+

output_mode can take values- +

+

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
+ +

See also

+
+ +

Authors

+
+
+ +
+ + + + + + +
Report an issue
+ << AVRPWM0SetDuty + + + Scilab 2 C Converter + + + AVRPWM1SetDuty >> + +
+
+
+ + -- cgit From a3dfa2a4069740517ca6e83f99dd4e0dbb71c377 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Sat, 1 Jul 2017 06:52:51 +0530 Subject: Merged Jorawer's work, Help files, RPi-scilab2c --- help/en_US/scilab_en_US_help/AVRPWM0Setup.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'help/en_US/scilab_en_US_help/AVRPWM0Setup.html') diff --git a/help/en_US/scilab_en_US_help/AVRPWM0Setup.html b/help/en_US/scilab_en_US_help/AVRPWM0Setup.html index d24d9d8d..8ceda9e4 100644 --- a/help/en_US/scilab_en_US_help/AVRPWM0Setup.html +++ b/help/en_US/scilab_en_US_help/AVRPWM0Setup.html @@ -16,7 +16,7 @@ - Scilab 2 C Converter + Scilab 2 C Converter @@ -29,7 +29,7 @@ - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM0Setup + Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM0Setup

AVRPWM0Setup

@@ -84,7 +84,7 @@ for providing support for generating C code for AVR.

- Scilab 2 C Converter + Scilab 2 C Converter -- cgit