Home
last modified time | relevance | path

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

/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/
A Dacmp_15xx.h173 pACMP->ACMP[index].CMP = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) | ACMP_CMPEN_BIT; in Chip_ACMP_EnableComp()
184 pACMP->ACMP[index].CMP = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~ACMP_CMPEN_BIT; in Chip_ACMP_DisableComp()
196 pACMP->ACMP[index].CMP = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) | ACMP_INTEN_BIT; in Chip_ACMP_EnableCompInt()
208 pACMP->ACMP[index].CMP = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~ACMP_INTEN_BIT; in Chip_ACMP_DisableCompInt()
258 pACMP->ACMP[index].CMP = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) | ACMP_INTPOL_BIT; in Chip_ACMP_SetIntPolarity()
270 pACMP->ACMP[index].CMP = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~ACMP_INTPOL_BIT; in Chip_ACMP_ClearIntPolarity()
282 pACMP->ACMP[index].CMP = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~ACMP_INTTYPE_BIT; in Chip_ACMP_SetIntTypeEdge()
294 pACMP->ACMP[index].CMP = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) | ACMP_INTTYPE_BIT; in Chip_ACMP_SetIntTypeLevel()
373 pACMP->ACMP[index].CMP = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) | ACMP_LADENAB_BIT; in Chip_ACMP_EnableVoltLadder()
385 pACMP->ACMP[index].CMP = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~ACMP_LADENAB_BIT; in Chip_ACMP_DisableVoltLadder()
[all …]
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/src/
A Dacmp_15xx.c68 uint32_t reg = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~ACMP_INTEDGE_MASK; in Chip_ACMP_SetIntEdgeSelection()
70 pACMP->ACMP[index].CMP = reg | (uint32_t) edgeSel; in Chip_ACMP_SetIntEdgeSelection()
77 uint32_t reg = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~ACMP_COMPVPSEL_MASK; in Chip_ACMP_SetPosVoltRef()
80 pACMP->ACMP[index].CMP = reg | (uint32_t) Posinput; in Chip_ACMP_SetPosVoltRef()
87 uint32_t reg = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~ACMP_COMPVMSEL_MASK; in Chip_ACMP_SetNegVoltRef()
90 pACMP->ACMP[index].CMP = reg | (uint32_t) Neginput; in Chip_ACMP_SetNegVoltRef()
97 uint32_t reg = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~ACMP_HYSTERESIS_MASK; in Chip_ACMP_SetHysteresis()
99 pACMP->ACMP[index].CMP = reg | (uint32_t) hys; in Chip_ACMP_SetHysteresis()
118 uint32_t reg = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~(ACMP_INTPOL_BIT | in Chip_ACMP_SetupACMPInt()
132 pACMP->ACMP[index].CMP = reg; in Chip_ACMP_SetupACMPInt()
[all …]
/lk-master/external/platform/lpc15xx/lpcopen/periph_acmp/example/
A Dreadme.dox35 * The ACMP example demonstrates using the analog comparator.<br>

Completed in 5 milliseconds