Home
last modified time | relevance | path

Searched refs:ACMP_INTFLAG_BIT (Results 1 – 2 of 2) sorted by relevance

/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/
A Dacmp_15xx.h74 #define ACMP_INTFLAG_BIT (1 << 19) /* Interrupt Flag bit */ macro
173 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()
294 pACMP->ACMP[index].CMP = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) | ACMP_INTTYPE_BIT; in Chip_ACMP_SetIntTypeLevel()
314 return (pACMP->ACMP[index].CMP & ACMP_INTFLAG_BIT) != 0; in Chip_ACMP_GetIntFlag()
325 pACMP->ACMP[index].CMP |= ACMP_INTFLAG_BIT; in Chip_ACMP_ClearIntFlag()
[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()
77 uint32_t reg = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~ACMP_COMPVPSEL_MASK; in Chip_ACMP_SetPosVoltRef()
87 uint32_t reg = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~ACMP_COMPVMSEL_MASK; in Chip_ACMP_SetNegVoltRef()
97 uint32_t reg = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~ACMP_HYSTERESIS_MASK; in Chip_ACMP_SetHysteresis()
107 uint32_t reg = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~(ACMP_HYSTERESIS_MASK | in Chip_ACMP_SetupACMPRefs()
118 uint32_t reg = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~(ACMP_INTPOL_BIT | in Chip_ACMP_SetupACMPInt()
139 …uint32_t reg = (pACMP->ACMP[index].CMP & ~ACMP_INTFLAG_BIT) & ~(ACMP_LADSEL_MASK | ACMP_LADREF_BIT… in Chip_ACMP_SetupVoltLadder()

Completed in 6 milliseconds