
UM10800
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2016. All rights reserved.
User manual
Rev. 1.2 — 5 October 2016
430 of 487
30.1 How to read this chapter
The ADC ROM driver routines are available on all parts.
30.2 Features
•
ADC calibration
•
Triggered ADC conversions
•
ADC interrupt handling
30.3 General description
The ADC API handles the calibration and set-up of the ADC and allows the user to
perform analog-to-digital conversion using the 12-bit ADC.
UM10800
Chapter 30: LPC82x ROM API ADC drivers
Rev. 1.2 — 5 October 2016
User manual
Fig 64. ADC driver routines pointer structure
Ptr to ROM Driver table
Ptr to Device Table 2
Ptr to Device Table 1
Ptr to Device Table 0
…
…
Ptr to Device Table n
ADC driver routines function table
ROM Driver Table
0x1FFF 1FF8
+0x00
+0x04
+0x08
+0x10
+0x20
+0x0C
Ptr to Device Table 3
Ptr to Device Table 4
Ptr to ADC driver routines
adc_get_mem_size
adc_setup
...
adc_thcmp_isr