|
#define | FSL_LPADC_DRIVER_VERSION (MAKE_VERSION(2, 6, 1)) |
| LPADC driver version 2.6.1.
|
|
#define | LPADC_GET_ACTIVE_COMMAND_STATUS(statusVal) ((statusVal & ADC_STAT_CMDACT_MASK) >> ADC_STAT_CMDACT_SHIFT) |
| Define the MACRO function to get command status from status value. More...
|
|
#define | LPADC_GET_ACTIVE_TRIGGER_STATUE(statusVal) ((statusVal & ADC_STAT_TRGACT_MASK) >> ADC_STAT_TRGACT_SHIFT) |
| Define the MACRO function to get trigger status from status value. More...
|
|
enum | _lpadc_status_flags { kLPADC_ResultFIFOOverflowFlag = ADC_STAT_FOF_MASK
, kLPADC_ResultFIFOReadyFlag = ADC_STAT_RDY_MASK
} |
| Define hardware flags of the module. More...
|
|
enum | _lpadc_interrupt_enable { kLPADC_ResultFIFOOverflowInterruptEnable = ADC_IE_FOFIE_MASK
, kLPADC_FIFOWatermarkInterruptEnable = ADC_IE_FWMIE_MASK
} |
| Define interrupt switchers of the module. More...
|
|
enum | _lpadc_sample_scale_mode { kLPADC_SamplePartScale
, kLPADC_SampleFullScale = 1U
} |
| Define enumeration of sample scale mode. More...
|
|
enum | _lpadc_sample_channel_mode { kLPADC_SampleChannelSingleEndSideA = 0U
, kLPADC_SampleChannelSingleEndSideB = 1U
} |
| Define enumeration of channel sample mode. More...
|
|
enum | _lpadc_hardware_average_mode {
kLPADC_HardwareAverageCount1 = 0U
, kLPADC_HardwareAverageCount2 = 1U
, kLPADC_HardwareAverageCount4 = 2U
, kLPADC_HardwareAverageCount8 = 3U
,
kLPADC_HardwareAverageCount16 = 4U
, kLPADC_HardwareAverageCount32 = 5U
, kLPADC_HardwareAverageCount64 = 6U
, kLPADC_HardwareAverageCount128 = 7U
} |
| Define enumeration of hardware average selection. More...
|
|
enum | _lpadc_sample_time_mode {
kLPADC_SampleTimeADCK3 = 0U
, kLPADC_SampleTimeADCK5 = 1U
, kLPADC_SampleTimeADCK7 = 2U
, kLPADC_SampleTimeADCK11 = 3U
,
kLPADC_SampleTimeADCK19 = 4U
, kLPADC_SampleTimeADCK35 = 5U
, kLPADC_SampleTimeADCK67 = 6U
, kLPADC_SampleTimeADCK131 = 7U
} |
| Define enumeration of sample time selection. More...
|
|
enum | _lpadc_hardware_compare_mode { kLPADC_HardwareCompareDisabled = 0U
, kLPADC_HardwareCompareStoreOnTrue = 2U
, kLPADC_HardwareCompareRepeatUntilTrue = 3U
} |
| Define enumeration of hardware compare mode. More...
|
|
enum | _lpadc_reference_voltage_mode { kLPADC_ReferenceVoltageAlt1 = 0U
, kLPADC_ReferenceVoltageAlt2 = 1U
, kLPADC_ReferenceVoltageAlt3 = 2U
} |
| Define enumeration of reference voltage source. More...
|
|
enum | _lpadc_power_level_mode { kLPADC_PowerLevelAlt1 = 0U
, kLPADC_PowerLevelAlt2 = 1U
, kLPADC_PowerLevelAlt3 = 2U
, kLPADC_PowerLevelAlt4 = 3U
} |
| Define enumeration of power configuration. More...
|
|
enum | _lpadc_trigger_priority_policy { kLPADC_TriggerPriorityPreemptImmediately = 0U
, kLPADC_TriggerPriorityPreemptSoftly = 1U
} |
| Define enumeration of trigger priority policy. More...
|
|
typedef enum _lpadc_sample_scale_mode | lpadc_sample_scale_mode_t |
| Define enumeration of sample scale mode. More...
|
|
typedef enum _lpadc_sample_channel_mode | lpadc_sample_channel_mode_t |
| Define enumeration of channel sample mode. More...
|
|
typedef enum _lpadc_hardware_average_mode | lpadc_hardware_average_mode_t |
| Define enumeration of hardware average selection. More...
|
|
typedef enum _lpadc_sample_time_mode | lpadc_sample_time_mode_t |
| Define enumeration of sample time selection. More...
|
|
typedef enum _lpadc_hardware_compare_mode | lpadc_hardware_compare_mode_t |
| Define enumeration of hardware compare mode. More...
|
|
typedef enum _lpadc_reference_voltage_mode | lpadc_reference_voltage_source_t |
| Define enumeration of reference voltage source. More...
|
|
typedef enum _lpadc_power_level_mode | lpadc_power_level_mode_t |
| Define enumeration of power configuration. More...
|
|
typedef enum _lpadc_trigger_priority_policy | lpadc_trigger_priority_policy_t |
| Define enumeration of trigger priority policy. More...
|
|