40 #include <inc/hw_memmap.h>
41 #include <inc/hw_aux_wuc.h>
109 if (!refSource && (sampleTime < 6)) {
__STATIC_INLINE void ADI8BitsClear(uint32_t ui32Base, uint32_t ui32Reg, uint8_t ui8Val)
Clear specific bits in an 8 bit ADI register.
void AUXADCEnableAsync(uint32_t refSource, uint32_t trigger)
Enables the ADC for asynchronous operation.
void AUXADCDisable(void)
Disables the ADC.
__STATIC_INLINE void ADI8BitsSet(uint32_t ui32Base, uint32_t ui32Reg, uint8_t ui8Val)
Set specific bits in a single 8 bit ADI register.
void AUXADCEnableSync(uint32_t refSource, uint32_t sampleTime, uint32_t trigger)
Enables the ADC for synchronous operation.
#define AUXADC_TRIGGER_MANUAL
void AUXADCFlushFifo(void)
Flushes the ADC FIFO.
uint32_t AUXADCReadFifo(void)
Waits for and returns the first sample in the ADC FIFO.