Home
last modified time | relevance | path

Searched refs:comparator (Results 1 – 3 of 3) sorted by relevance

/hal_ti-3.4.0/simplelink/source/ti/devices/msp432p4xx/driverlib/
Dcomp_e.c81 bool COMP_E_initModule(uint32_t comparator, const COMP_E_Config *config) in COMP_E_initModule() argument
96 COMP_E_CMSIS(comparator)->CTL0 = 0; in COMP_E_initModule()
97 COMP_E_CMSIS(comparator)->INT = 0; in COMP_E_initModule()
103 COMP_E_CMSIS(comparator)->CTL0 |= COMP_E_CTL0_IPEN in COMP_E_initModule()
107 COMP_E_CMSIS(comparator)->CTL3 |= (1 << positiveTerminalInput); in COMP_E_initModule()
111 BITBAND_PERI(COMP_E_CMSIS(comparator)->CTL2,COMP_E_CTL2_RSEL_OFS) = 0; in COMP_E_initModule()
118 COMP_E_CMSIS(comparator)->CTL0 |= COMP_E_CTL0_IMEN in COMP_E_initModule()
122 COMP_E_CMSIS(comparator)->CTL3 |= (1 << negativeTerminalInput); in COMP_E_initModule()
126 BITBAND_PERI(COMP_E_CMSIS(comparator)->CTL2, COMP_E_CTL2_RSEL_OFS) = 1; in COMP_E_initModule()
130 COMP_E_CMSIS(comparator)->CTL1 = config->powerMode in COMP_E_initModule()
[all …]
Dcomp_e.h219 extern bool COMP_E_initModule(uint32_t comparator, const COMP_E_Config *config);
254 extern void COMP_E_setReferenceVoltage(uint32_t comparator,
280 extern void COMP_E_setReferenceAccuracy(uint32_t comparator,
301 extern void COMP_E_setPowerMode(uint32_t comparator, uint_fast16_t powerMode);
318 extern void COMP_E_enableModule(uint32_t comparator);
336 extern void COMP_E_disableModule(uint32_t comparator);
354 extern void COMP_E_shortInputs(uint32_t comparator);
372 extern void COMP_E_unshortInputs(uint32_t comparator);
413 extern void COMP_E_disableInputBuffer(uint32_t comparator,
453 extern void COMP_E_enableInputBuffer(uint32_t comparator,
[all …]
Drom.h345 ((bool (*)(uint32_t comparator, \
351 ((void (*)(uint32_t comparator, \
359 ((void (*)(uint32_t comparator, \
365 ((void (*)(uint32_t comparator, \
371 ((void (*)(uint32_t comparator))ROM_COMPTABLE[4])
376 ((void (*)(uint32_t comparator))ROM_COMPTABLE[5])
381 ((void (*)(uint32_t comparator))ROM_COMPTABLE[6])
386 ((void (*)(uint32_t comparator))ROM_COMPTABLE[7])
391 ((void (*)(uint32_t comparator, \
397 ((void (*)(uint32_t comparator, \
[all …]