45 extern void usDelay(uint32_t Count);
#define DISABLE_PROTECTED_REGISTER_WRITE_MODE
Define to disable protected register writes.
void COMP_disable(COMP_Handle compHandle)
Disables the comparator (COMP)
void COMP_disableDac(COMP_Handle compHandle)
Disables the DAC.
#define COMP_COMPCTL_COMPDACE_BITS
Defines the location of the COMPDACE bits in the COMPCTL register.
Contains public interface to various functions related to the comparator (COMP) object.
void COMP_enableDac(COMP_Handle compHandle)
Enables the DAC.
#define ENABLE_PROTECTED_REGISTER_WRITE_MODE
Define to allow protected register writes.
void COMP_enable(COMP_Handle compHandle)
Enables the comparator (COMP)
#define COMP_COMPCTL_COMPSOURCE_BITS
Defines the location of the COMPSOURCE bits in the COMPCTL register.
void usDelay(uint32_t Count)
Defines the comparator (COMP) object.
volatile uint16_t COMPCTL
COMP Control Register.
struct _COMP_Obj_ * COMP_Handle
Defines the comparator (COMP) handle.
COMP_Handle COMP_init(void *pMemory, const size_t numBytes)
Initializes the comparator (COMP) object handle.