PWM Pulse Width Modulation API - PowerPoint PPT Presentation

About This Presentation
Title:

PWM Pulse Width Modulation API

Description:

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 ... – PowerPoint PPT presentation

Number of Views:130
Avg rating:3.0/5.0
Slides: 4
Provided by: ftp1DigiC
Category:
Tags: api | pwm | modulation | pulse | width

less

Transcript and Presenter's Notes

Title: PWM Pulse Width Modulation API


1
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

2
About PWM
3
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
Write a Comment
User Comments (0)
About PowerShow.com