STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
Loading...
Searching...
No Matches
Pwm Developtment Error Types

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
 

Detailed Description

Macro Definition Documentation

◆ PWM_E_ALREADY_INITIALIZED

#define PWM_E_ALREADY_INITIALIZED   0x14u

API Pwm_Init service called while the PWM driver has already been initialised

◆ PWM_E_INIT_FAILED

#define PWM_E_INIT_FAILED   0x10u

API Pwm_Init service called with wrong parameter

◆ PWM_E_NOT_DISENGAGED

#define PWM_E_NOT_DISENGAGED   0x16u

API Pwm_SetPowerState is called while the PWM module is still in use.

◆ PWM_E_PARAM_CHANNEL

#define PWM_E_PARAM_CHANNEL   0x12u

API service used with an invalid channel Identifier

◆ PWM_E_PARAM_POINTER

#define PWM_E_PARAM_POINTER   0x15u

API Pwm_GetVersionInfo is called with a NULL parameter.

◆ PWM_E_PERIOD_UNCHANGEABLE

#define PWM_E_PERIOD_UNCHANGEABLE   0x13u

Usage of unauthorized PWM service on PWM channel configured a fixed period

◆ PWM_E_PERIPHERAL_NOT_PREPARED

#define PWM_E_PERIPHERAL_NOT_PREPARED   0x19u

PWM_E_PERIPHERAL_NOT_PREPARED.

◆ PWM_E_POWER_STATE_NOT_SUPPORTED

#define PWM_E_POWER_STATE_NOT_SUPPORTED   0x17u

The requested power state is not supported by the PWM module.

◆ PWM_E_TRANSITION_NOT_POSSIBLE

#define PWM_E_TRANSITION_NOT_POSSIBLE   0x18u

The requested power state is not reachable from the current one.

◆ PWM_E_UNINIT

#define PWM_E_UNINIT   0x11u

API service used without module initialization