Defines | Enumerations

QADCMCR register settings

Defines

#define ADC_DISABLE_STOP_MODE   0
 This macro defines the value for disabling the ADC stop mode.
#define ADC_ENABLE_STOP_MODE   1
 This macro defines the value for enabling the ADC stop mode.
#define ADC_IGNORE_FREEZE   0
 This macro defines the value for ignoring the freeze commands provided in CCWs.
#define ADC_ENABLE_FREEZE   1
 This macro defines the value for enabling the freeze commands provided in CCWs.
#define ADC_MODE_LOCK_ENABLE   0
 This macro defines the value for locking the ADC mode of operation. This prevents accidental change in mode of operation.
#define ADC_MODE_LOCK_DISABLE   1
 This macro defines the value for unlocking the ADC mode of operation. This will enable change in mode of operation.

Enumerations

enum  QADC_OpMode {
  ADC_LEGACY_OP_MODE,
  ADC_ENHANCED_OP_MODE
}
enum  QADC_RegAcc {
  ADC_LIMITED_SUPV_ACC,
  ADC_FULL_SUPV_ACC
}

Define Documentation

#define ADC_DISABLE_STOP_MODE   0

This macro defines the value for disabling the ADC stop mode.

Definition at line 29 of file adc_Cfg.h.

Referenced by ADC_Init().

#define ADC_ENABLE_FREEZE   1

This macro defines the value for enabling the freeze commands provided in CCWs.

Definition at line 38 of file adc_Cfg.h.

Referenced by ADC_Init().

#define ADC_ENABLE_STOP_MODE   1

This macro defines the value for enabling the ADC stop mode.

Definition at line 31 of file adc_Cfg.h.

#define ADC_IGNORE_FREEZE   0

This macro defines the value for ignoring the freeze commands provided in CCWs.

Definition at line 35 of file adc_Cfg.h.

#define ADC_MODE_LOCK_DISABLE   1

This macro defines the value for unlocking the ADC mode of operation. This will enable change in mode of operation.

Definition at line 45 of file adc_Cfg.h.

Referenced by ADC_Init().

#define ADC_MODE_LOCK_ENABLE   0

This macro defines the value for locking the ADC mode of operation. This prevents accidental change in mode of operation.

Definition at line 42 of file adc_Cfg.h.

Referenced by ADC_Init().


Enumeration Type Documentation

Enumerator:
ADC_LEGACY_OP_MODE 

ADC "Legacy Mode" of operation.

ADC_ENHANCED_OP_MODE 

ADC "Enhanced Mode" of operation.

Definition at line 79 of file adc.h.

Enumerator:
ADC_LIMITED_SUPV_ACC 

Defines the value to configure the module configuration register, test register, and interrupt register as supervisor-only data space. Access to all other locations is unrestricted

ADC_FULL_SUPV_ACC 

Defines the value to configure all QADC64E registers and CCW/result tables as supervisor-only data space

Definition at line 88 of file adc.h.