Searched refs:ACMP (Results 1 – 3 of 3) 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 …]
68 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 …]
35 * The ACMP example demonstrates using the analog comparator.<br>
Completed in 5 milliseconds