MAV'RIC
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Attributes
Pwm_stm32::config_t Struct Reference

STM32_PWM configuration structure. More...

#include <pwm_stm32.hpp>

Collaboration diagram for Pwm_stm32::config_t:
Collaboration graph
[legend]

List of all members.

Public Attributes

gpio_stm32_conf_t gpio_config
 specify which gpio is used
uint32_t timer
 specify which timer is used
rcc_periph_clken rcc_timer
 rcc reference to the timer
pwm_stm32_channel_t channel
 specify which channel is used
uint32_t prescaler
 specify the clk divider
uint32_t period
 specify the period of the PWM
uint32_t pulse_us
 specify the pulse length in microseconds

Detailed Description

STM32_PWM configuration structure.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines