uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ADC Public Types

Enumerations

enum  ADC_CHANNEL_SELECTION {
  ADC_CHANNEL_0 = 0, ADC_CHANNEL_1, ADC_CHANNEL_2, ADC_CHANNEL_3,
  ADC_CHANNEL_4, ADC_CHANNEL_5, ADC_CHANNEL_6, ADC_CHANNEL_7
}
 ADC enumeration. More...
 
enum  ADC_START_OPT {
  ADC_START_CONTINUOUS =0, ADC_START_NOW, ADC_START_ON_EINT0, ADC_START_ON_CAP01,
  ADC_START_ON_MAT01, ADC_START_ON_MAT03, ADC_START_ON_MAT10, ADC_START_ON_MAT11
}
 Type of start option. More...
 
enum  ADC_START_ON_EDGE_OPT { ADC_START_ON_RISING = 0, ADC_START_ON_FALLING }
 Type of edge when start conversion on the selected CAP/MAT signal. More...
 
enum  ADC_TYPE_INT_OPT {
  ADC_ADINTEN0 = 0, ADC_ADINTEN1, ADC_ADINTEN2, ADC_ADINTEN3,
  ADC_ADINTEN4, ADC_ADINTEN5, ADC_ADINTEN6, ADC_ADINTEN7,
  ADC_ADGINTEN
}
 
  • ADC type interrupt enum
More...
 
enum  ADC_DATA_STATUS { ADC_DATA_BURST = 0, ADC_DATA_DONE }
 ADC Data status. More...
 

Detailed Description

Enumeration Type Documentation

ADC enumeration.

Channel Selection

Enumerator
ADC_CHANNEL_0 

Channel 0

ADC_CHANNEL_1 

Channel 1

ADC_CHANNEL_2 

Channel 2

ADC_CHANNEL_3 

Channel 3

ADC_CHANNEL_4 

Channel 4

ADC_CHANNEL_5 

Channel 5

ADC_CHANNEL_6 

Channel 6

ADC_CHANNEL_7 

Channel 7

Definition at line 181 of file lpc17xx_adc.h.

ADC Data status.

Enumerator
ADC_DATA_BURST 
ADC_DATA_DONE 

Definition at line 237 of file lpc17xx_adc.h.

Type of edge when start conversion on the selected CAP/MAT signal.

Enumerator
ADC_START_ON_RISING 

Start conversion on a rising edge on the selected CAP/MAT signal

ADC_START_ON_FALLING 

Start conversion on a falling edge on the selected CAP/MAT signal

Definition at line 214 of file lpc17xx_adc.h.

Type of start option.

Enumerator
ADC_START_CONTINUOUS 

Continuous mode

ADC_START_NOW 

Start conversion now

ADC_START_ON_EINT0 

Start conversion when the edge selected by bit 27 occurs on P2.10/EINT0

ADC_START_ON_CAP01 

Start conversion when the edge selected by bit 27 occurs on P1.27/CAP0.1

ADC_START_ON_MAT01 

Start conversion when the edge selected by bit 27 occurs on MAT0.1

ADC_START_ON_MAT03 

Start conversion when the edge selected by bit 27 occurs on MAT0.3

ADC_START_ON_MAT10 

Start conversion when the edge selected by bit 27 occurs on MAT1.0

ADC_START_ON_MAT11 

Start conversion when the edge selected by bit 27 occurs on MAT1.1

Definition at line 194 of file lpc17xx_adc.h.

  • ADC type interrupt enum

Enumerator
ADC_ADINTEN0 

Interrupt channel 0

ADC_ADINTEN1 

Interrupt channel 1

ADC_ADINTEN2 

Interrupt channel 2

ADC_ADINTEN3 

Interrupt channel 3

ADC_ADINTEN4 

Interrupt channel 4

ADC_ADINTEN5 

Interrupt channel 5

ADC_ADINTEN6 

Interrupt channel 6

ADC_ADINTEN7 

Interrupt channel 7

ADC_ADGINTEN 

Individual channel/global flag done generate an interrupt

Definition at line 223 of file lpc17xx_adc.h.