|
|
constexpr | PWM ()=default |
| | Constructor.
|
| |
| | ~PWM ()=default |
| | Destructor.
|
| |
Definition at line 87 of file Stm32PWM.hxx.
◆ Channel()
| Stm32PWMGroup::Channel::Channel |
( |
Stm32PWMGroup * |
parent, |
|
|
uint32_t |
channel |
|
) |
| |
|
inline |
◆ get_duty()
| uint32_t Stm32PWMGroup::Channel::get_duty |
( |
| ) |
|
|
inlineoverridevirtual |
Gets the duty cycle.
- Returns
- counts duty cycle in counts
Implements PWM.
Definition at line 124 of file Stm32PWM.hxx.
◆ get_period()
| uint32_t Stm32PWMGroup::Channel::get_period |
( |
| ) |
|
|
inlineoverridevirtual |
◆ get_period_max()
| uint32_t Stm32PWMGroup::Channel::get_period_max |
( |
| ) |
|
|
inlineoverridevirtual |
Get max period supported.
- Returns
- period in counts
Implements PWM.
Definition at line 129 of file Stm32PWM.hxx.
◆ get_period_min()
| uint32_t Stm32PWMGroup::Channel::get_period_min |
( |
| ) |
|
|
inlineoverridevirtual |
Get min period supported.
- Returns
- period in counts
Implements PWM.
Definition at line 133 of file Stm32PWM.hxx.
◆ set_duty()
| void Stm32PWMGroup::Channel::set_duty |
( |
uint32_t |
counts | ) |
|
|
inlineoverridevirtual |
Sets the duty cycle.
- Parameters
-
| counts | duty cycle in counts |
Implements PWM.
Definition at line 105 of file Stm32PWM.hxx.
◆ set_period()
| void Stm32PWMGroup::Channel::set_period |
( |
uint32_t |
counts | ) |
|
|
inlineoverridevirtual |
◆ channel_
| uint32_t Stm32PWMGroup::Channel::channel_ |
|
private |
◆ lastDuty_
| uint32_t Stm32PWMGroup::Channel::lastDuty_ {0} |
|
private |
◆ parent_
The documentation for this class was generated from the following file: