libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Defined Constants and Types for the LPC43xx A/D Converter More...
Macros | |
#define | ADC0 ADC0_BASE |
#define | ADC1 ADC1_BASE |
#define | ADC_CR(port) MMIO32((port) + 0x000) |
#define | ADC0_CR ADC_CR(ADC0) |
#define | ADC1_CR ADC_CR(ADC1) |
#define | ADC_GDR(port) MMIO32((port) + 0x004) |
#define | ADC0_GDR ADC_GDR(ADC0) |
#define | ADC1_GDR ADC_GDR(ADC1) |
#define | ADC_INTEN(port) MMIO32((port) + 0x00C) |
#define | ADC0_INTEN ADC_INTEN(ADC0) |
#define | ADC1_INTEN ADC_INTEN(ADC1) |
#define | ADC_DR0(port) MMIO32((port) + 0x010) |
#define | ADC0_DR0 ADC_DR0(ADC0) |
#define | ADC1_DR0 ADC_DR0(ADC1) |
#define | ADC_DR1(port) MMIO32((port) + 0x014) |
#define | ADC0_DR1 ADC_DR1(ADC0) |
#define | ADC1_DR1 ADC_DR1(ADC1) |
#define | ADC_DR2(port) MMIO32((port) + 0x018) |
#define | ADC0_DR2 ADC_DR2(ADC0) |
#define | ADC1_DR2 ADC_DR2(ADC1) |
#define | ADC_DR3(port) MMIO32((port) + 0x01C) |
#define | ADC0_DR3 ADC_DR3(ADC0) |
#define | ADC1_DR3 ADC_DR3(ADC1) |
#define | ADC_DR4(port) MMIO32((port) + 0x020) |
#define | ADC0_DR4 ADC_DR4(ADC0) |
#define | ADC1_DR4 ADC_DR4(ADC1) |
#define | ADC_DR5(port) MMIO32((port) + 0x024) |
#define | ADC0_DR5 ADC_DR5(ADC0) |
#define | ADC1_DR5 ADC_DR5(ADC1) |
#define | ADC_DR6(port) MMIO32((port) + 0x028) |
#define | ADC0_DR6 ADC_DR6(ADC0) |
#define | ADC1_DR6 ADC_DR6(ADC1) |
#define | ADC_DR7(port) MMIO32((port) + 0x02C) |
#define | ADC0_DR7 ADC_DR7(ADC0) |
#define | ADC1_DR7 ADC_DR7(ADC1) |
#define | ADC_STAT(port) MMIO32((port) + 0x030) |
#define | ADC0_STAT ADC_STAT(ADC0) |
#define | ADC1_STAT ADC_STAT(ADC1) |
Defined Constants and Types for the LPC43xx A/D Converter
LGPL License Terms libopencm3 License