STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
|
Macros | |
#define | ADC_E_UNINIT 0x0Au |
#define | ADC_E_ALREADY_INITIALIZED 0x0Du |
#define | ADC_E_PARAM_POINTER 0x14u |
#define | ADC_E_PARAM_GROUP 0x15u |
#define | ADC_E_WRONG_CONV_MODE 0x16u |
#define | ADC_E_WRONG_TRIGG_SRC 0x17u |
#define | ADC_E_NOTIF_CAPABILITY 0x18u |
#define | ADC_E_BUFFER_UNINIT 0x19u |
#define | ADC_E_POWER_STATE_NOT_SUPPORTED 0x1Bu |
#define | ADC_E_PERIPHERAL_NOT_PREPARED 0x1Du |
#define | ADC_E_BUSY 0x0Bu |
#define | ADC_E_IDLE 0x0Cu |
#define | ADC_E_NOT_DISENGAGED 0x1Au |
#define | ADC_E_TRANSITION_NOT_POSSIBLE 0x1Cu |
#define ADC_E_ALREADY_INITIALIZED 0x0Du |
API called while ADC is already initialized.
#define ADC_E_BUFFER_UNINIT 0x19u |
API called while result buffer pointer is not \ initialized.
#define ADC_E_BUSY 0x0Bu |
API is called while another conversion is \ already running, a HW trigger is already enabled, a \ request is already stored in the queue.
#define ADC_E_IDLE 0x0Cu |
API is called while group is in state ADC_IDLE \ or non enabled group.
#define ADC_E_NOT_DISENGAGED 0x1Au |
API called while one or more ADC groups are \ not in IDLE state.
#define ADC_E_NOTIF_CAPABILITY 0x18u |
API called and notification function pointer \ is NULL.
#define ADC_E_PARAM_GROUP 0x15u |
API called with non existing group.
#define ADC_E_PARAM_POINTER 0x14u |
API called with incorrect buffer pointer.
#define ADC_E_PERIPHERAL_NOT_PREPARED 0x1Du |
ADC not prepared for requested target power \ state.
#define ADC_E_POWER_STATE_NOT_SUPPORTED 0x1Bu |
API call with unsupported power state request.
#define ADC_E_TRANSITION_NOT_POSSIBLE 0x1Cu |
Requested power state can not be reached.
#define ADC_E_UNINIT 0x0Au |
API is called prior to initialization.
#define ADC_E_WRONG_CONV_MODE 0x16u |
API called for a group configured for \ continuous conversion mode.
#define ADC_E_WRONG_TRIGG_SRC 0x17u |
API call not allowed according group \ configuration.