Functions
adc14.c File Reference
#include <stdint.h>
#include <stdbool.h>
#include <ti/devices/msp432p4xx/driverlib/adc14.h>
#include <ti/devices/msp432p4xx/driverlib/debug.h>
#include <ti/devices/msp432p4xx/driverlib/interrupt.h>

Functions

void ADC14_enableModule (void)
 
bool ADC14_disableModule (void)
 
bool ADC14_enableSampleTimer (uint32_t multiSampleConvert)
 
bool ADC14_disableSampleTimer (void)
 
bool ADC14_initModule (uint32_t clockSource, uint32_t clockPredivider, uint32_t clockDivider, uint32_t internalChannelMask)
 
void ADC14_setResolution (uint32_t resolution)
 
uint_fast32_t ADC14_getResolution (void)
 
bool ADC14_setSampleHoldTrigger (uint32_t source, bool invertSignal)
 
bool ADC14_setSampleHoldTime (uint32_t firstPulseWidth, uint32_t secondPulseWidth)
 
bool ADC14_configureMultiSequenceMode (uint32_t memoryStart, uint32_t memoryEnd, bool repeatMode)
 
bool ADC14_configureSingleSampleMode (uint32_t memoryDestination, bool repeatMode)
 
bool ADC14_enableConversion (void)
 
bool ADC14_toggleConversionTrigger (void)
 
void ADC14_disableConversion (void)
 
bool ADC14_isBusy (void)
 
bool ADC14_configureConversionMemory (uint32_t memorySelect, uint32_t refSelect, uint32_t channelSelect, bool differntialMode)
 
bool ADC14_enableComparatorWindow (uint32_t memorySelect, uint32_t windowSelect)
 
bool ADC14_disableComparatorWindow (uint32_t memorySelect)
 
bool ADC14_setComparatorWindowValue (uint32_t window, int16_t low, int16_t high)
 
bool ADC14_setResultFormat (uint32_t resultFormat)
 
uint_fast16_t ADC14_getResult (uint32_t memorySelect)
 
void ADC14_getMultiSequenceResult (uint16_t *res)
 
void ADC14_getResultArray (uint32_t memoryStart, uint32_t memoryEnd, uint16_t *res)
 
bool ADC14_enableReferenceBurst (void)
 
bool ADC14_disableReferenceBurst (void)
 
bool ADC14_setPowerMode (uint32_t adcPowerMode)
 
void ADC14_enableInterrupt (uint_fast64_t mask)
 
void ADC14_disableInterrupt (uint_fast64_t mask)
 
uint_fast64_t ADC14_getInterruptStatus (void)
 
uint_fast64_t ADC14_getEnabledInterruptStatus (void)
 
void ADC14_clearInterruptFlag (uint_fast64_t mask)
 
void ADC14_registerInterrupt (void(*intHandler)(void))
 
void ADC14_unregisterInterrupt (void)
 

Copyright 2018, Texas Instruments Incorporated