EE445M RTOS
Taken at the University of Texas Spring 2015
adc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ADC_TRIGGER_PROCESSOR   0x00000000
 
#define ADC_TRIGGER_COMP0   0x00000001
 
#define ADC_TRIGGER_COMP1   0x00000002
 
#define ADC_TRIGGER_COMP2   0x00000003
 
#define ADC_TRIGGER_EXTERNAL   0x00000004
 
#define ADC_TRIGGER_TIMER   0x00000005
 
#define ADC_TRIGGER_PWM0   0x00000006
 
#define ADC_TRIGGER_PWM1   0x00000007
 
#define ADC_TRIGGER_PWM2   0x00000008
 
#define ADC_TRIGGER_PWM3   0x00000009
 
#define ADC_TRIGGER_NEVER   0x0000000E
 
#define ADC_TRIGGER_ALWAYS   0x0000000F
 
#define ADC_TRIGGER_PWM_MOD0   0x00000000
 
#define ADC_TRIGGER_PWM_MOD1   0x00000010
 
#define ADC_CTL_TS   0x00000080
 
#define ADC_CTL_IE   0x00000040
 
#define ADC_CTL_END   0x00000020
 
#define ADC_CTL_D   0x00000010
 
#define ADC_CTL_CH0   0x00000000
 
#define ADC_CTL_CH1   0x00000001
 
#define ADC_CTL_CH2   0x00000002
 
#define ADC_CTL_CH3   0x00000003
 
#define ADC_CTL_CH4   0x00000004
 
#define ADC_CTL_CH5   0x00000005
 
#define ADC_CTL_CH6   0x00000006
 
#define ADC_CTL_CH7   0x00000007
 
#define ADC_CTL_CH8   0x00000008
 
#define ADC_CTL_CH9   0x00000009
 
#define ADC_CTL_CH10   0x0000000A
 
#define ADC_CTL_CH11   0x0000000B
 
#define ADC_CTL_CH12   0x0000000C
 
#define ADC_CTL_CH13   0x0000000D
 
#define ADC_CTL_CH14   0x0000000E
 
#define ADC_CTL_CH15   0x0000000F
 
#define ADC_CTL_CH16   0x00000100
 
#define ADC_CTL_CH17   0x00000101
 
#define ADC_CTL_CH18   0x00000102
 
#define ADC_CTL_CH19   0x00000103
 
#define ADC_CTL_CH20   0x00000104
 
#define ADC_CTL_CH21   0x00000105
 
#define ADC_CTL_CH22   0x00000106
 
#define ADC_CTL_CH23   0x00000107
 
#define ADC_CTL_CMP0   0x00080000
 
#define ADC_CTL_CMP1   0x00090000
 
#define ADC_CTL_CMP2   0x000A0000
 
#define ADC_CTL_CMP3   0x000B0000
 
#define ADC_CTL_CMP4   0x000C0000
 
#define ADC_CTL_CMP5   0x000D0000
 
#define ADC_CTL_CMP6   0x000E0000
 
#define ADC_CTL_CMP7   0x000F0000
 
#define ADC_CTL_SHOLD_4   0x00000000
 
#define ADC_CTL_SHOLD_8   0x00200000
 
#define ADC_CTL_SHOLD_16   0x00400000
 
#define ADC_CTL_SHOLD_32   0x00600000
 
#define ADC_CTL_SHOLD_64   0x00800000
 
#define ADC_CTL_SHOLD_128   0x00A00000
 
#define ADC_CTL_SHOLD_256   0x00C00000
 
#define ADC_COMP_TRIG_NONE   0x00000000
 
#define ADC_COMP_TRIG_LOW_ALWAYS   0x00001000
 
#define ADC_COMP_TRIG_LOW_ONCE   0x00001100
 
#define ADC_COMP_TRIG_LOW_HALWAYS   0x00001200
 
#define ADC_COMP_TRIG_LOW_HONCE   0x00001300
 
#define ADC_COMP_TRIG_MID_ALWAYS   0x00001400
 
#define ADC_COMP_TRIG_MID_ONCE   0x00001500
 
#define ADC_COMP_TRIG_HIGH_ALWAYS   0x00001C00
 
#define ADC_COMP_TRIG_HIGH_ONCE   0x00001D00
 
#define ADC_COMP_TRIG_HIGH_HALWAYS   0x00001E00
 
#define ADC_COMP_TRIG_HIGH_HONCE   0x00001F00
 
#define ADC_COMP_INT_NONE   0x00000000
 
#define ADC_COMP_INT_LOW_ALWAYS   0x00000010
 
#define ADC_COMP_INT_LOW_ONCE   0x00000011
 
#define ADC_COMP_INT_LOW_HALWAYS   0x00000012
 
#define ADC_COMP_INT_LOW_HONCE   0x00000013
 
#define ADC_COMP_INT_MID_ALWAYS   0x00000014
 
#define ADC_COMP_INT_MID_ONCE   0x00000015
 
#define ADC_COMP_INT_HIGH_ALWAYS   0x0000001C
 
#define ADC_COMP_INT_HIGH_ONCE   0x0000001D
 
#define ADC_COMP_INT_HIGH_HALWAYS   0x0000001E
 
#define ADC_COMP_INT_HIGH_HONCE   0x0000001F
 
#define ADC_TRIGGER_WAIT   0x08000000
 
#define ADC_TRIGGER_SIGNAL   0x80000000
 
#define ADC_PHASE_0   0x00000000
 
#define ADC_PHASE_22_5   0x00000001
 
#define ADC_PHASE_45   0x00000002
 
#define ADC_PHASE_67_5   0x00000003
 
#define ADC_PHASE_90   0x00000004
 
#define ADC_PHASE_112_5   0x00000005
 
#define ADC_PHASE_135   0x00000006
 
#define ADC_PHASE_157_5   0x00000007
 
#define ADC_PHASE_180   0x00000008
 
#define ADC_PHASE_202_5   0x00000009
 
#define ADC_PHASE_225   0x0000000A
 
#define ADC_PHASE_247_5   0x0000000B
 
#define ADC_PHASE_270   0x0000000C
 
#define ADC_PHASE_292_5   0x0000000D
 
#define ADC_PHASE_315   0x0000000E
 
#define ADC_PHASE_337_5   0x0000000F
 
#define ADC_REF_INT   0x00000000
 
#define ADC_REF_EXT_3V   0x00000001
 
#define ADC_REF_EXT_1V   0x00000003
 
#define ADC_INT_SS0   0x00000001
 
#define ADC_INT_SS1   0x00000002
 
#define ADC_INT_SS2   0x00000004
 
#define ADC_INT_SS3   0x00000008
 
#define ADC_INT_DMA_SS0   0x00000100
 
#define ADC_INT_DMA_SS1   0x00000200
 
#define ADC_INT_DMA_SS2   0x00000400
 
#define ADC_INT_DMA_SS3   0x00000800
 
#define ADC_INT_DCON_SS0   0x00010000
 
#define ADC_INT_DCON_SS1   0x00020000
 
#define ADC_INT_DCON_SS2   0x00040000
 
#define ADC_INT_DCON_SS3   0x00080000
 
#define ADC_CLOCK_RATE_FULL   0x00000070
 
#define ADC_CLOCK_RATE_HALF   0x00000050
 
#define ADC_CLOCK_RATE_FOURTH   0x00000030
 
#define ADC_CLOCK_RATE_EIGHTH   0x00000010
 
#define ADC_CLOCK_SRC_PLL   0x00000000
 
#define ADC_CLOCK_SRC_PIOSC   0x00000001
 
#define ADC_CLOCK_SRC_ALTCLK   0x00000001
 
#define ADC_CLOCK_SRC_MOSC   0x00000002
 

Functions

void ADCIntRegister (uint32_t ui32Base, uint32_t ui32SequenceNum, void(*pfnHandler)(void))
 
void ADCIntUnregister (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
void ADCIntDisable (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
void ADCIntEnable (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
uint32_t ADCIntStatus (uint32_t ui32Base, uint32_t ui32SequenceNum, bool bMasked)
 
void ADCIntClear (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
void ADCSequenceEnable (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
void ADCSequenceDisable (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
void ADCSequenceConfigure (uint32_t ui32Base, uint32_t ui32SequenceNum, uint32_t ui32Trigger, uint32_t ui32Priority)
 
void ADCSequenceStepConfigure (uint32_t ui32Base, uint32_t ui32SequenceNum, uint32_t ui32Step, uint32_t ui32Config)
 
int32_t ADCSequenceOverflow (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
void ADCSequenceOverflowClear (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
int32_t ADCSequenceUnderflow (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
void ADCSequenceUnderflowClear (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
int32_t ADCSequenceDataGet (uint32_t ui32Base, uint32_t ui32SequenceNum, uint32_t *pui32Buffer)
 
void ADCProcessorTrigger (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
void ADCSoftwareOversampleConfigure (uint32_t ui32Base, uint32_t ui32SequenceNum, uint32_t ui32Factor)
 
void ADCSoftwareOversampleStepConfigure (uint32_t ui32Base, uint32_t ui32SequenceNum, uint32_t ui32Step, uint32_t ui32Config)
 
void ADCSoftwareOversampleDataGet (uint32_t ui32Base, uint32_t ui32SequenceNum, uint32_t *pui32Buffer, uint32_t ui32Count)
 
void ADCHardwareOversampleConfigure (uint32_t ui32Base, uint32_t ui32Factor)
 
void ADCClockConfigSet (uint32_t ui32Base, uint32_t ui32Config, uint32_t ui32ClockDiv)
 
uint32_t ADCClockConfigGet (uint32_t ui32Base, uint32_t *pui32ClockDiv)
 
void ADCComparatorConfigure (uint32_t ui32Base, uint32_t ui32Comp, uint32_t ui32Config)
 
void ADCComparatorRegionSet (uint32_t ui32Base, uint32_t ui32Comp, uint32_t ui32LowRef, uint32_t ui32HighRef)
 
void ADCComparatorReset (uint32_t ui32Base, uint32_t ui32Comp, bool bTrigger, bool bInterrupt)
 
void ADCComparatorIntDisable (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
void ADCComparatorIntEnable (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
uint32_t ADCComparatorIntStatus (uint32_t ui32Base)
 
void ADCComparatorIntClear (uint32_t ui32Base, uint32_t ui32Status)
 
void ADCIntDisableEx (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void ADCIntEnableEx (uint32_t ui32Base, uint32_t ui32IntFlags)
 
uint32_t ADCIntStatusEx (uint32_t ui32Base, bool bMasked)
 
void ADCIntClearEx (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void ADCSequenceDMAEnable (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
void ADCSequenceDMADisable (uint32_t ui32Base, uint32_t ui32SequenceNum)
 
bool ADCBusy (uint32_t ui32Base)
 
void ADCReferenceSet (uint32_t ui32Base, uint32_t ui32Ref)
 
uint32_t ADCReferenceGet (uint32_t ui32Base)
 
void ADCPhaseDelaySet (uint32_t ui32Base, uint32_t ui32Phase)
 
uint32_t ADCPhaseDelayGet (uint32_t ui32Base)
 
void ADCSampleRateSet (uint32_t ui32Base, uint32_t ui32ADCClock, uint32_t ui32Rate)
 
uint32_t ADCSampleRateGet (uint32_t ui32Base)
 

Macro Definition Documentation

#define ADC_CLOCK_RATE_EIGHTH   0x00000010

Definition at line 238 of file adc.h.

#define ADC_CLOCK_RATE_FOURTH   0x00000030

Definition at line 237 of file adc.h.

#define ADC_CLOCK_RATE_FULL   0x00000070

Definition at line 235 of file adc.h.

Referenced by ADCClockConfigSet().

#define ADC_CLOCK_RATE_HALF   0x00000050

Definition at line 236 of file adc.h.

#define ADC_CLOCK_SRC_ALTCLK   0x00000001

Definition at line 241 of file adc.h.

#define ADC_CLOCK_SRC_MOSC   0x00000002

Definition at line 242 of file adc.h.

#define ADC_CLOCK_SRC_PIOSC   0x00000001

Definition at line 240 of file adc.h.

#define ADC_CLOCK_SRC_PLL   0x00000000

Definition at line 239 of file adc.h.

#define ADC_COMP_INT_HIGH_ALWAYS   0x0000001C

Definition at line 160 of file adc.h.

#define ADC_COMP_INT_HIGH_HALWAYS   0x0000001E

Definition at line 163 of file adc.h.

#define ADC_COMP_INT_HIGH_HONCE   0x0000001F

Definition at line 166 of file adc.h.

#define ADC_COMP_INT_HIGH_ONCE   0x0000001D

Definition at line 162 of file adc.h.

#define ADC_COMP_INT_LOW_ALWAYS   0x00000010

Definition at line 150 of file adc.h.

#define ADC_COMP_INT_LOW_HALWAYS   0x00000012

Definition at line 153 of file adc.h.

#define ADC_COMP_INT_LOW_HONCE   0x00000013

Definition at line 156 of file adc.h.

#define ADC_COMP_INT_LOW_ONCE   0x00000011

Definition at line 152 of file adc.h.

#define ADC_COMP_INT_MID_ALWAYS   0x00000014

Definition at line 157 of file adc.h.

#define ADC_COMP_INT_MID_ONCE   0x00000015

Definition at line 159 of file adc.h.

#define ADC_COMP_INT_NONE   0x00000000

Definition at line 149 of file adc.h.

#define ADC_COMP_TRIG_HIGH_ALWAYS   0x00001C00

Definition at line 141 of file adc.h.

#define ADC_COMP_TRIG_HIGH_HALWAYS   0x00001E00

Definition at line 144 of file adc.h.

#define ADC_COMP_TRIG_HIGH_HONCE   0x00001F00

Definition at line 146 of file adc.h.

#define ADC_COMP_TRIG_HIGH_ONCE   0x00001D00

Definition at line 143 of file adc.h.

#define ADC_COMP_TRIG_LOW_ALWAYS   0x00001000

Definition at line 132 of file adc.h.

#define ADC_COMP_TRIG_LOW_HALWAYS   0x00001200

Definition at line 135 of file adc.h.

#define ADC_COMP_TRIG_LOW_HONCE   0x00001300

Definition at line 137 of file adc.h.

#define ADC_COMP_TRIG_LOW_ONCE   0x00001100

Definition at line 134 of file adc.h.

#define ADC_COMP_TRIG_MID_ALWAYS   0x00001400

Definition at line 138 of file adc.h.

#define ADC_COMP_TRIG_MID_ONCE   0x00001500

Definition at line 140 of file adc.h.

#define ADC_COMP_TRIG_NONE   0x00000000

Definition at line 131 of file adc.h.

#define ADC_CTL_CH0   0x00000000

Definition at line 85 of file adc.h.

Referenced by main().

#define ADC_CTL_CH1   0x00000001

Definition at line 86 of file adc.h.

#define ADC_CTL_CH10   0x0000000A

Definition at line 95 of file adc.h.

#define ADC_CTL_CH11   0x0000000B

Definition at line 96 of file adc.h.

#define ADC_CTL_CH12   0x0000000C

Definition at line 97 of file adc.h.

#define ADC_CTL_CH13   0x0000000D

Definition at line 98 of file adc.h.

#define ADC_CTL_CH14   0x0000000E

Definition at line 99 of file adc.h.

#define ADC_CTL_CH15   0x0000000F

Definition at line 100 of file adc.h.

#define ADC_CTL_CH16   0x00000100

Definition at line 101 of file adc.h.

#define ADC_CTL_CH17   0x00000101

Definition at line 102 of file adc.h.

#define ADC_CTL_CH18   0x00000102

Definition at line 103 of file adc.h.

#define ADC_CTL_CH19   0x00000103

Definition at line 104 of file adc.h.

#define ADC_CTL_CH2   0x00000002

Definition at line 87 of file adc.h.

#define ADC_CTL_CH20   0x00000104

Definition at line 105 of file adc.h.

#define ADC_CTL_CH21   0x00000105

Definition at line 106 of file adc.h.

#define ADC_CTL_CH22   0x00000106

Definition at line 107 of file adc.h.

#define ADC_CTL_CH23   0x00000107

Definition at line 108 of file adc.h.

#define ADC_CTL_CH3   0x00000003

Definition at line 88 of file adc.h.

#define ADC_CTL_CH4   0x00000004

Definition at line 89 of file adc.h.

#define ADC_CTL_CH5   0x00000005

Definition at line 90 of file adc.h.

#define ADC_CTL_CH6   0x00000006

Definition at line 91 of file adc.h.

#define ADC_CTL_CH7   0x00000007

Definition at line 92 of file adc.h.

#define ADC_CTL_CH8   0x00000008

Definition at line 93 of file adc.h.

#define ADC_CTL_CH9   0x00000009

Definition at line 94 of file adc.h.

#define ADC_CTL_CMP0   0x00080000

Definition at line 109 of file adc.h.

#define ADC_CTL_CMP1   0x00090000

Definition at line 110 of file adc.h.

#define ADC_CTL_CMP2   0x000A0000

Definition at line 111 of file adc.h.

#define ADC_CTL_CMP3   0x000B0000

Definition at line 112 of file adc.h.

#define ADC_CTL_CMP4   0x000C0000

Definition at line 113 of file adc.h.

#define ADC_CTL_CMP5   0x000D0000

Definition at line 114 of file adc.h.

#define ADC_CTL_CMP6   0x000E0000

Definition at line 115 of file adc.h.

#define ADC_CTL_CMP7   0x000F0000

Definition at line 116 of file adc.h.

#define ADC_CTL_D   0x00000010

Definition at line 84 of file adc.h.

#define ADC_CTL_END   0x00000020

Definition at line 83 of file adc.h.

Referenced by main().

#define ADC_CTL_IE   0x00000040

Definition at line 82 of file adc.h.

Referenced by main().

#define ADC_CTL_SHOLD_128   0x00A00000

Definition at line 122 of file adc.h.

#define ADC_CTL_SHOLD_16   0x00400000

Definition at line 119 of file adc.h.

#define ADC_CTL_SHOLD_256   0x00C00000

Definition at line 123 of file adc.h.

#define ADC_CTL_SHOLD_32   0x00600000

Definition at line 120 of file adc.h.

#define ADC_CTL_SHOLD_4   0x00000000

Definition at line 117 of file adc.h.

#define ADC_CTL_SHOLD_64   0x00800000

Definition at line 121 of file adc.h.

#define ADC_CTL_SHOLD_8   0x00200000

Definition at line 118 of file adc.h.

#define ADC_CTL_TS   0x00000080

Definition at line 81 of file adc.h.

#define ADC_INT_DCON_SS0   0x00010000

Definition at line 225 of file adc.h.

Referenced by ADCIntStatusEx().

#define ADC_INT_DCON_SS1   0x00020000

Definition at line 226 of file adc.h.

Referenced by ADCIntStatusEx().

#define ADC_INT_DCON_SS2   0x00040000

Definition at line 227 of file adc.h.

Referenced by ADCIntStatusEx().

#define ADC_INT_DCON_SS3   0x00080000

Definition at line 228 of file adc.h.

Referenced by ADCIntStatusEx().

#define ADC_INT_DMA_SS0   0x00000100

Definition at line 221 of file adc.h.

#define ADC_INT_DMA_SS1   0x00000200

Definition at line 222 of file adc.h.

#define ADC_INT_DMA_SS2   0x00000400

Definition at line 223 of file adc.h.

#define ADC_INT_DMA_SS3   0x00000800

Definition at line 224 of file adc.h.

#define ADC_INT_SS0   0x00000001

Definition at line 217 of file adc.h.

#define ADC_INT_SS1   0x00000002

Definition at line 218 of file adc.h.

#define ADC_INT_SS2   0x00000004

Definition at line 219 of file adc.h.

#define ADC_INT_SS3   0x00000008

Definition at line 220 of file adc.h.

#define ADC_PHASE_0   0x00000000

Definition at line 185 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_112_5   0x00000005

Definition at line 190 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_135   0x00000006

Definition at line 191 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_157_5   0x00000007

Definition at line 192 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_180   0x00000008

Definition at line 193 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_202_5   0x00000009

Definition at line 194 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_225   0x0000000A

Definition at line 195 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_22_5   0x00000001

Definition at line 186 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_247_5   0x0000000B

Definition at line 196 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_270   0x0000000C

Definition at line 197 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_292_5   0x0000000D

Definition at line 198 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_315   0x0000000E

Definition at line 199 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_337_5   0x0000000F

Definition at line 200 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_45   0x00000002

Definition at line 187 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_67_5   0x00000003

Definition at line 188 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_PHASE_90   0x00000004

Definition at line 189 of file adc.h.

Referenced by ADCPhaseDelaySet().

#define ADC_REF_EXT_1V   0x00000003

Definition at line 209 of file adc.h.

Referenced by ADCReferenceSet().

#define ADC_REF_EXT_3V   0x00000001

Definition at line 208 of file adc.h.

Referenced by ADCReferenceSet().

#define ADC_REF_INT   0x00000000

Definition at line 207 of file adc.h.

Referenced by adc_init(), and ADCReferenceSet().

#define ADC_TRIGGER_ALWAYS   0x0000000F

Definition at line 71 of file adc.h.

Referenced by ADCSequenceConfigure().

#define ADC_TRIGGER_COMP0   0x00000001

Definition at line 61 of file adc.h.

Referenced by ADCSequenceConfigure().

#define ADC_TRIGGER_COMP1   0x00000002

Definition at line 62 of file adc.h.

Referenced by ADCSequenceConfigure().

#define ADC_TRIGGER_COMP2   0x00000003

Definition at line 63 of file adc.h.

Referenced by ADCSequenceConfigure().

#define ADC_TRIGGER_EXTERNAL   0x00000004

Definition at line 64 of file adc.h.

Referenced by ADCSequenceConfigure().

#define ADC_TRIGGER_NEVER   0x0000000E

Definition at line 70 of file adc.h.

#define ADC_TRIGGER_PROCESSOR   0x00000000

Definition at line 60 of file adc.h.

Referenced by ADCSequenceConfigure().

#define ADC_TRIGGER_PWM0   0x00000006

Definition at line 66 of file adc.h.

Referenced by ADCSequenceConfigure().

#define ADC_TRIGGER_PWM1   0x00000007

Definition at line 67 of file adc.h.

Referenced by ADCSequenceConfigure().

#define ADC_TRIGGER_PWM2   0x00000008

Definition at line 68 of file adc.h.

Referenced by ADCSequenceConfigure().

#define ADC_TRIGGER_PWM3   0x00000009

Definition at line 69 of file adc.h.

Referenced by ADCSequenceConfigure().

#define ADC_TRIGGER_PWM_MOD0   0x00000000

Definition at line 72 of file adc.h.

Referenced by ADCSequenceConfigure().

#define ADC_TRIGGER_PWM_MOD1   0x00000010

Definition at line 73 of file adc.h.

Referenced by ADCSequenceConfigure().

#define ADC_TRIGGER_SIGNAL   0x80000000

Definition at line 177 of file adc.h.

#define ADC_TRIGGER_TIMER   0x00000005

Definition at line 65 of file adc.h.

Referenced by adc_interrupt_init(), ADCSequenceConfigure(), and main().

#define ADC_TRIGGER_WAIT   0x08000000

Definition at line 176 of file adc.h.

Function Documentation

uint32_t ADCSampleRateGet ( uint32_t  ui32Base)
void ADCSampleRateSet ( uint32_t  ui32Base,
uint32_t  ui32ADCClock,
uint32_t  ui32Rate 
)