Searched refs:pACMP (Results 1 – 2 of 2) sorted by relevance
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()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 …]
48 void Chip_ACMP_Init(LPC_CMP_T *pACMP) in Chip_ACMP_Init() argument57 void Chip_ACMP_Deinit(LPC_CMP_T *pACMP) in Chip_ACMP_Deinit() argument68 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()80 pACMP->ACMP[index].CMP = reg | (uint32_t) Posinput; in Chip_ACMP_SetPosVoltRef()90 pACMP->ACMP[index].CMP = reg | (uint32_t) Neginput; in Chip_ACMP_SetNegVoltRef()94 void Chip_ACMP_SetHysteresis(LPC_CMP_T *pACMP, uint8_t index, CHIP_ACMP_HYS_T hys) in Chip_ACMP_SetHysteresis() argument99 pACMP->ACMP[index].CMP = reg | (uint32_t) hys; in Chip_ACMP_SetHysteresis()114 void Chip_ACMP_SetupACMPInt(LPC_CMP_T *pACMP, uint8_t index, bool level, in Chip_ACMP_SetupACMPInt() argument132 pACMP->ACMP[index].CMP = reg; in Chip_ACMP_SetupACMPInt()[all …]
Completed in 4 milliseconds