mikroSDK Reference Manual
|
ADC HAL initialization configuration structure, consisted of the following fields : More...
Data Fields | |
hal_pin_name_t | pin |
hal_adc_resolution_t | resolution |
hal_adc_vref_t | vref_input |
float | vref_value |
User needs to specifiy values herein.
Example
hal_pin_name_t hal_adc_config_t::pin |
ADC HAL pin name.
hal_adc_resolution_t hal_adc_config_t::resolution |
ADC HAL resolution. See hal_adc_resolution_t for valid resolution values.
hal_adc_vref_t hal_adc_config_t::vref_input |
ADC HAL voltage reference voltage source. See hal_adc_vref_t for valid voltage reference source values.
float hal_adc_config_t::vref_value |
ADC HAL voltage reference voltage value.