Go to the source code of this file.
◆ hal_adc_err_t
Return values.
Enumerator |
---|
HAL_ADC_SUCCESS | Success.
|
HAL_ADC_WRONG_PIN | Wrong pin selected.
|
HAL_ADC_MODULE_ERROR | Object wasn't closed.
|
HAL_ADC_UNSUPPORTED_RESOLUTION | Wrong resolution error.
|
HAL_ADC_UNSUPPORTED_VREF | Wrong voltage referebnce source error.
|
HAL_ADC_WRONG_CHANNEL | Wrong channel error.
|
HAL_ADC_ERROR | Error.
|
◆ hal_adc_resolution_t
Predefined enum values for ADC resolution.
Enumerator |
---|
HAL_ADC_RESOLUTION_NOT_SET | Resolution not set.
|
HAL_ADC_RESOLUTION_6_BIT | 6 bit resolution.
|
HAL_ADC_RESOLUTION_8_BIT | 8 bit resolution.
|
HAL_ADC_RESOLUTION_10_BIT | 10 bit resolution.
|
HAL_ADC_RESOLUTION_12_BIT | 12 bit resolution.
|
HAL_ADC_RESOLUTION_14_BIT | 14 bit resolution.
|
HAL_ADC_RESOLUTION_16_BIT | 16 bit resolution.
|
HAL_ADC_RESOLUTION_DEFAULT | Default resolution.
|
◆ hal_adc_vref_t
Predefined enum values for ADC voltage reference source.
Enumerator |
---|
HAL_ADC_VREF_EXTERNAL | External voltage reference source.
|
HAL_ADC_VREF_INTERNAL | Internal voltage reference source.
|
HAL_ADC_VREF_DEFAULT | Default (external voltage reference source)
|