Functions
comp.c File Reference
#include <ti/devices/msp432e4/inc/msp432e411y.h>
#include "types.h"
#include <stdbool.h>
#include <stdint.h>
#include "inc/hw_comp.h"
#include "comp.h"
#include "debug.h"
#include "interrupt.h"

Functions

void ComparatorConfigure (uint32_t ui32Base, uint32_t ui32Comp, uint32_t ui32Config)
 
void ComparatorRefSet (uint32_t ui32Base, uint32_t ui32Ref)
 
bool ComparatorValueGet (uint32_t ui32Base, uint32_t ui32Comp)
 
void ComparatorIntRegister (uint32_t ui32Base, uint32_t ui32Comp, void(*pfnHandler)(void))
 
void ComparatorIntUnregister (uint32_t ui32Base, uint32_t ui32Comp)
 
void ComparatorIntEnable (uint32_t ui32Base, uint32_t ui32Comp)
 
void ComparatorIntDisable (uint32_t ui32Base, uint32_t ui32Comp)
 
bool ComparatorIntStatus (uint32_t ui32Base, uint32_t ui32Comp, bool bMasked)
 
void ComparatorIntClear (uint32_t ui32Base, uint32_t ui32Comp)
 
Copyright 2017, Texas Instruments Incorporated