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

Functions

bool COMP_E_initModule (uint32_t comparator, const COMP_E_Config *config)
 
void COMP_E_setReferenceVoltage (uint32_t comparator, uint_fast16_t supplyVoltageReferenceBase, uint_fast16_t lowerLimitSupplyVoltageFractionOf32, uint_fast16_t upperLimitSupplyVoltageFractionOf32)
 
void COMP_E_setReferenceAccuracy (uint32_t comparator, uint_fast16_t referenceAccuracy)
 
void COMP_E_setPowerMode (uint32_t comparator, uint_fast16_t powerMode)
 
void COMP_E_enableModule (uint32_t comparator)
 
void COMP_E_disableModule (uint32_t comparator)
 
void COMP_E_shortInputs (uint32_t comparator)
 
void COMP_E_unshortInputs (uint32_t comparator)
 
void COMP_E_disableInputBuffer (uint32_t comparator, uint_fast16_t inputPort)
 
void COMP_E_enableInputBuffer (uint32_t comparator, uint_fast16_t inputPort)
 
void COMP_E_swapIO (uint32_t comparator)
 
uint8_t COMP_E_outputValue (uint32_t comparator)
 
void COMP_E_enableInterrupt (uint32_t comparator, uint_fast16_t mask)
 
uint_fast16_t COMP_E_getEnabledInterruptStatus (uint32_t comparator)
 
void COMP_E_disableInterrupt (uint32_t comparator, uint_fast16_t mask)
 
void COMP_E_clearInterruptFlag (uint32_t comparator, uint_fast16_t mask)
 
uint_fast16_t COMP_E_getInterruptStatus (uint32_t comparator)
 
void COMP_E_setInterruptEdgeDirection (uint32_t comparator, uint_fast8_t edgeDirection)
 
void COMP_E_toggleInterruptEdgeDirection (uint32_t comparator)
 
void COMP_E_registerInterrupt (uint32_t comparator, void(*intHandler)(void))
 
void COMP_E_unregisterInterrupt (uint32_t comparator)
 

Copyright 2018, Texas Instruments Incorporated