ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

Functions

pwm_lld.c File Reference

PWM Driver subsystem low level driver source template. More...

#include "ch.h"
#include "hal.h"

Go to the source code of this file.

Functions

void pwm_lld_init (void)
 Low level PWM driver initialization.
void pwm_lld_start (PWMDriver *pwmp)
 Configures and activates the PWM peripheral.
void pwm_lld_stop (PWMDriver *pwmp)
 Deactivates the PWM peripheral.
bool_t pwm_lld_is_enabled (PWMDriver *pwmp, pwmchannel_t channel)
 Determines whatever the PWM channel is already enabled.
void pwm_lld_set_callback (PWMDriver *pwmp, pwmchannel_t channel, pwmedge_t edge, pwmcallback_t callback)
 Enables a callback mode for the specified PWM channel.
void pwm_lld_enable_channel (PWMDriver *pwmp, pwmchannel_t channel, pwmcnt_t width)
 Enables a PWM channel.
void pwm_lld_disable_channel (PWMDriver *pwmp, pwmchannel_t channel)
 Disables a PWM channel.

Detailed Description

PWM Driver subsystem low level driver source template.

Definition in file templates/pwm_lld.c.


Generated on Sun Oct 24 2010 09:40:38 for ChibiOS/RT by doxygen 1.7.1