From 45bb4c81ba70d5f711d8a5ea207ac18b141d0cb2 Mon Sep 17 00:00:00 2001 From: Sandeep Gupta Date: Fri, 7 Jul 2017 11:21:16 +0530 Subject: Removed HTML and XML files --- help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html | 83 ------------------------ 1 file changed, 83 deletions(-) delete mode 100644 help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html (limited to 'help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html') diff --git a/help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html b/help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html deleted file mode 100644 index 521d615e..00000000 --- a/help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html +++ /dev/null @@ -1,83 +0,0 @@ - - - AVRPWM1SetDuty - - - -
- - - - -
- << AVRPWM0Setup - - - Scilab 2 C Converter - - - AVRPWM1Setup >> - -
-
-
- - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM1SetDuty - -

-

AVRPWM1SetDuty

-

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)

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

- -

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.

- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << AVRPWM0Setup - - - Scilab 2 C Converter - - - AVRPWM1Setup >> - -
-
-
- - -- cgit