MT2523 API Reference LinkIt SDK v4
This section describes the programming interfaces of the ADC HAL driver. More...
This section describes the programming interfaces of the ADC HAL driver.
The following provides descriptions to the terms commonly used in the Analog-to-Digital Converter (ADC) driver and how to use its various functions.
|ADC||ADC is an Analog-to-Digital Converter that converts a continuous physical quantity (usually voltage) to a digital number that represents the quantity's amplitude.|
The ADC is a Successive Approximation ADC . The supported channels vary based on the actual MCU devices used. Resolution of MT2523 and MT7687 is 12 bits.
|ADC init function. More...|
|ADC deinit function. More...|
|hal_adc_status_t||hal_adc_get_data_polling (hal_adc_channel_t channel, uint32_t *data)|
|ADC receives a sample data for a channel. More...|
ADC receives a sample data for a channel.
|[in]||channel||is the channel that will be sampled. This parameter can only be the value of type hal_adc_channel_t.|
|[out]||data||is the raw data of the channel.|