pwm pulse width modulation api n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
PWM Pulse Width Modulation API PowerPoint Presentation
Download Presentation
PWM Pulse Width Modulation API

Loading in 2 Seconds...

play fullscreen
1 / 3

PWM Pulse Width Modulation API - PowerPoint PPT Presentation


  • 100 Views
  • Uploaded on

PWM Pulse Width Modulation API. Achieves PWM by cascading 2 timers… The output of lower order will be fed to input of upper order timer… The output of lower order timer is also used to control the pulse width… The output of higher order timer will decide the period…

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'PWM Pulse Width Modulation API' - hussein-naif


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
pwm pulse width modulation api
PWMPulse Width Modulation API
  • Achieves PWM by cascading 2 timers…
  • The output of lower order will be fed to input of upper order timer…
    • The output of lower order timer is also used to control the pulse width…
    • The output of higher order timer will decide the period…
    • Duty cycle = pulse width/period
about pwm

Timer/

Counter 2

Pulse width Control

PWM1

PWM1 output

Timer/

Counter 3

Period Control

Pulse width Control

Period Control

PWM1 output

About PWM
api calls
API Calls
  • naPwmOpen
    • Opens the specified channel and returns the handle
  • naPwmSetPulseWidth
    • Sets the pulse width and period in nanoseconds, returns the actual value set
  • naPwmStart
    • Enables the PWM channel
  • naPwmStop
    • Disables the PWM channel
  • naPwmClose
    • Closes the channel and releases the resources