STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
|
Hardware control unit structure More...
#include <Pwm_Types.h>
Data Fields | |
const Pwm_ConfigType * | Config |
Pwm_StatusType | HwUnitState |
Pwm_ChannelClassType | Pwm_ChannelClass |
uint8 | Pwm_channelNumber |
uint16 | Duty_Cycle |
Pwm_PeriodType | Period |
Hardware control unit structure
This structure contains the hardware unit configuration and the state of the hardware unit pointers to controller structures.
const Pwm_ConfigType* _Pwm_HwUnit::Config |
Pointer to the configuration structure
uint16 _Pwm_HwUnit::Duty_Cycle |
Pwm Duty Cycle
Pwm_StatusType _Pwm_HwUnit::HwUnitState |
Pwm hardware unit state
Pwm_PeriodType _Pwm_HwUnit::Period |
Pwm Period
Pwm_ChannelClassType _Pwm_HwUnit::Pwm_ChannelClass |
Pwm channel class
uint8 _Pwm_HwUnit::Pwm_channelNumber |
Pwm channel number