ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

Data Fields

PWMDriver Struct Reference
[PWM Low Level DriverPWM Driver]

Structure representing an PWM driver. More...

#include <pwm_lld.h>

Collaboration diagram for PWMDriver:
Collaboration graph
[legend]

Data Fields

pwmstate_t pd_state
 Driver state.
const PWMConfigpd_config
 Current configuration data.
uint32_t pd_enabled_channels
 Bit mask of the enabled channels.
TIM_TypeDef * pd_tim
 Pointer to the TIMx registers block.

Detailed Description

Structure representing an PWM driver.

Structure representing a PWM driver.

Note:
Implementations may extend this structure to contain more, architecture dependent, fields.

Definition at line 128 of file templates/pwm_lld.h.


Field Documentation

Current configuration data.

Current driver configuration data.

Definition at line 136 of file templates/pwm_lld.h.

Referenced by pwm_lld_enable_channel(), pwm_lld_start(), pwmObjectInit(), and pwmStart().

Bit mask of the enabled channels.

Definition at line 215 of file platforms/STM32/pwm_lld.h.

Referenced by pwm_lld_disable_channel(), pwm_lld_enable_channel(), pwm_lld_init(), pwm_lld_start(), and pwm_lld_stop().

TIM_TypeDef* PWMDriver::pd_tim

Pointer to the TIMx registers block.

Definition at line 219 of file platforms/STM32/pwm_lld.h.

Referenced by pwm_lld_disable_channel(), pwm_lld_enable_channel(), pwm_lld_init(), pwm_lld_start(), and pwm_lld_stop().


Generated on Sun Nov 28 2010 14:09:59 for ChibiOS/RT by doxygen 1.7.1