NuMicro® NUC029LEE/NUC029SEE32-bit Arm® Cortex® -M0 MicrocontrollerAug, 2018 Page 472 of 497 Rev 1.00NUMICRO® NUC029LEE/NUC029SEE TECHNICAL REFERENCE MANUAL6.17 Analog-to-Digital Converter (ADC)6.17.1 OverviewThe NuMicro® NUC029LEE/NUC029SEE contains one 12-bit successive approximation analog-to-digital converters (SAR A/D converter) with 12 input channels. The A/D converter supportsthree operation modes: single, single-cycle scan and continuous scan mode. The A/D convertercan be started by software, PWM Center-aligned trigger and external STADC pin.6.17.2 Features Analog input voltage range: 0~VREF 12-bit resolution and 10-bit accuracy is guaranteed Up to 12 single-end analog input channels or 5 differential analog input channels Up to 1 MSPS conversion rate (chip working at 5V) Three operating modes- Single mode: A/D conversion is performed one time on a specified channel- Single-cycle scan mode: A/D conversion is performed one cycle on all specifiedchannels with the sequence from the smallest numbered channel to the largestnumbered channel- Continuous scan mode: A/D converter continuously performs Single-cycle scanmode until software stops A/D conversion An A/D conversion can be started by:- Writing 1 to ADST bit (ADCR[11])through software- PWM Center-aligned trigger- External pin STADC Conversion results are held in data registers for each channel with valid and overrunindicators Supports two set digital comparators. The conversion result can be compared withspecify value and user can select whether to generate an interrupt when conversionresult matches the compare register setting Channel 7 supports 3 input sources: external analog voltage, internal Band-gapvoltage, and internal temperature sensor output