Defines | Enumerations

QACR1 register settings

Defines

#define ADC_Q1_COMP_INT_DISABLE   0
 This macro used to disable completion interrupt for Queue-1.
#define ADC_Q1_COMP_INT_ENABLE   1
 This macro used to enable completion interrupt for Queue-1.
#define ADC_Q1_PAUSE_INT_DISABLE   0
 This macro used to disable pause interrupt for Queue-1.
#define ADC_Q1_PAUSE_INT_ENABLE   1
 This macro used to enable pause interrupt for Queue-1.

Enumerations

enum  QADC_Q1_SingleScanOpt {
  ADC_Q1_SINGLE_SCAN_DISABLE,
  ADC_Q1_SINGLE_SCAN_ENABLE
}
 

Provides Queue-1 Single scan operation status.

More...
enum  ADC_Q1_OpModes {
  ADC_OP_Q1_DISABLE,
  ADC_OP_Q1_SW_TRIG_SINGLE_SCAN,
  ADC_OP_Q1_EXT_TRIG_RISING_EDGE_SINGLE_SCAN,
  ADC_OP_Q1_EXT_TRIG_FALLING_EDGE_SINGLE_SCAN,
  ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_128_QCLK,
  ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_256_QCLK,
  ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_512_QCLK,
  ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_1024_QCLK,
  ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_2048_QCLK,
  ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_4096_QCLK,
  ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_8192_QCLK,
  ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_16384_QCLK,
  ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_32768_QCLK,
  ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_65536_QCLK,
  ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_131072_QCLK,
  ADC_OP_Q1_EXT_GATED_SINGLE_SCAN,
  ADC_OP_Q1_RESERVED_1,
  ADC_OP_Q1_SW_TRIG_CONTINOUS_SCAN,
  ADC_OP_Q1_EXT_TRIG_RISING_EDGE_CONTINOUS_SCAN,
  ADC_OP_Q1_EXT_TRIG_FALLING_EDGE_CONTINOUS_SCAN,
  ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_128_QCLK,
  ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_256_QCLK,
  ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_512_QCLK,
  ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_1024_QCLK,
  ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_2048_QCLK,
  ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_4096_QCLK,
  ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_8192_QCLK,
  ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_16384_QCLK,
  ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_32768_QCLK,
  ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_65536_QCLK,
  ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_131072_QCLK,
  ADC_OP_Q1_EXT_GATED_CONTINOUS_SCAN
}
 

This enum provides all Queue-1 operation modes.

More...

Define Documentation

#define ADC_Q1_COMP_INT_DISABLE   0

This macro used to disable completion interrupt for Queue-1.

Definition at line 64 of file adc_Cfg.h.

#define ADC_Q1_COMP_INT_ENABLE   1

This macro used to enable completion interrupt for Queue-1.

Definition at line 66 of file adc_Cfg.h.

Referenced by ADC_Init().

#define ADC_Q1_PAUSE_INT_DISABLE   0

This macro used to disable pause interrupt for Queue-1.

Definition at line 70 of file adc_Cfg.h.

#define ADC_Q1_PAUSE_INT_ENABLE   1

This macro used to enable pause interrupt for Queue-1.

Definition at line 72 of file adc_Cfg.h.

Referenced by ADC_Init().


Enumeration Type Documentation

This enum provides all Queue-1 operation modes.

Enumerator:
ADC_OP_Q1_DISABLE 

Disabled mode, conversions do not occur.

ADC_OP_Q1_SW_TRIG_SINGLE_SCAN 

Software triggered single-scan mode (started with SSE1)

ADC_OP_Q1_EXT_TRIG_RISING_EDGE_SINGLE_SCAN 

External trigger rising edge single-scan mode.

ADC_OP_Q1_EXT_TRIG_FALLING_EDGE_SINGLE_SCAN 

External trigger falling edge single-scan mode.

ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_128_QCLK 

Interval timer single-scan mode: time = QCLK period x (2^7)

ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_256_QCLK 

Interval timer single-scan mode: time = QCLK period x (2^8)

ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_512_QCLK 

Interval timer single-scan mode: time = QCLK period x (2^9)

ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_1024_QCLK 

Interval timer single-scan mode: time = QCLK period x (2^10)

ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_2048_QCLK 

Interval timer single-scan mode: time = QCLK period x (2^11)

ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_4096_QCLK 

Interval timer single-scan mode: time = QCLK period x (2^12)

ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_8192_QCLK 

Interval timer single-scan mode: time = QCLK period x (2^13)

ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_16384_QCLK 

Interval timer single-scan mode: time = QCLK period x (2^14)

ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_32768_QCLK 

Interval timer single-scan mode: time = QCLK period x (2^15)

ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_65536_QCLK 

Interval timer single-scan mode: time = QCLK period x (2^16)

ADC_OP_Q1_INTVAL_TIMER_SINGLE_SCAN_131072_QCLK 

Interval timer single-scan mode: time = QCLK period x (2^17)

ADC_OP_Q1_EXT_GATED_SINGLE_SCAN 

External gated single-scan mode (started with SSE1)

ADC_OP_Q1_RESERVED_1 

Reserved mode.

ADC_OP_Q1_SW_TRIG_CONTINOUS_SCAN 

Software triggered continuous-scan mode.

ADC_OP_Q1_EXT_TRIG_RISING_EDGE_CONTINOUS_SCAN 

External trigger rising edge continuous-scan mode.

ADC_OP_Q1_EXT_TRIG_FALLING_EDGE_CONTINOUS_SCAN 

External trigger falling edge continuous-scan mode.

ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_128_QCLK 

Periodic timer continuous-scan mode: time = QCLK period x (2^7)

ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_256_QCLK 

Periodic timer continuous-scan mode: time = QCLK period x (2^8)

ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_512_QCLK 

Periodic timer continuous-scan mode: time = QCLK period x (2^9)

ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_1024_QCLK 

Periodic timer continuous-scan mode: time = QCLK period x (2^10)

ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_2048_QCLK 

Periodic timer continuous-scan mode: time = QCLK period x (2^11)

ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_4096_QCLK 

Periodic timer continuous-scan mode: time = QCLK period x (2^12)

ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_8192_QCLK 

Periodic timer continuous-scan mode: time = QCLK period x (2^13)

ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_16384_QCLK 

Periodic timer continuous-scan mode: time = QCLK period x (2^14)

ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_32768_QCLK 

Periodic timer continuous-scan mode: time = QCLK period x (2^15)

ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_65536_QCLK 

Periodic timer continuous-scan mode: time = QCLK period x (2^16)

ADC_OP_Q1_PERIO_TIMER_CONT_SCAN_131072_QCLK 

Periodic timer continuous-scan mode: time = QCLK period x (2^17)

ADC_OP_Q1_EXT_GATED_CONTINOUS_SCAN 

External gated continuous-scan mode.

Definition at line 142 of file adc.h.

Provides Queue-1 Single scan operation status.

Enumerator:
ADC_Q1_SINGLE_SCAN_DISABLE 

Disables single scan operation for Queue-1

ADC_Q1_SINGLE_SCAN_ENABLE 

Enables single scan operation for Queue-1

Definition at line 132 of file adc.h.