STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
|
Macros | |
#define | PWM_E_INIT_FAILED 0x10u |
#define | PWM_E_UNINIT 0x11u |
#define | PWM_E_PARAM_CHANNEL 0x12u |
#define | PWM_E_PERIOD_UNCHANGEABLE 0x13u |
#define | PWM_E_ALREADY_INITIALIZED 0x14u |
#define | PWM_E_PARAM_POINTER 0x15u |
#define | PWM_E_POWER_STATE_NOT_SUPPORTED 0x17u |
#define | PWM_E_TRANSITION_NOT_POSSIBLE 0x18u |
#define | PWM_E_PERIPHERAL_NOT_PREPARED 0x19u |
#define | PWM_E_NOT_DISENGAGED 0x16u |
#define PWM_E_ALREADY_INITIALIZED 0x14u |
API Pwm_Init service called while the PWM driver has already been initialised
#define PWM_E_INIT_FAILED 0x10u |
API Pwm_Init service called with wrong parameter
#define PWM_E_NOT_DISENGAGED 0x16u |
API Pwm_SetPowerState is called while the PWM module is still in use.
#define PWM_E_PARAM_CHANNEL 0x12u |
API service used with an invalid channel Identifier
#define PWM_E_PARAM_POINTER 0x15u |
API Pwm_GetVersionInfo is called with a NULL parameter.
#define PWM_E_PERIOD_UNCHANGEABLE 0x13u |
Usage of unauthorized PWM service on PWM channel configured a fixed period
#define PWM_E_PERIPHERAL_NOT_PREPARED 0x19u |
PWM_E_PERIPHERAL_NOT_PREPARED.
#define PWM_E_POWER_STATE_NOT_SUPPORTED 0x17u |
The requested power state is not supported by the PWM module.
#define PWM_E_TRANSITION_NOT_POSSIBLE 0x18u |
The requested power state is not reachable from the current one.
#define PWM_E_UNINIT 0x11u |
API service used without module initialization