Lines Matching refs:tmpReg
38 uint32_t tmpReg = 0U; in CMP_Init() local
50 …tmpReg = (PMC->COMP & ~(PMC_COMP_LOWPOWER_MASK | PMC_COMP_HYST_MASK | PMC_COMP_FILTERCGF_CLKDIV_MA… in CMP_Init()
55 tmpReg |= PMC_COMP_LOWPOWER_MASK; in CMP_Init()
59 tmpReg &= ~PMC_COMP_LOWPOWER_MASK; in CMP_Init()
64 tmpReg |= PMC_COMP_HYST_MASK; in CMP_Init()
68 tmpReg &= ~PMC_COMP_HYST_MASK; in CMP_Init()
71 tmpReg |= (PMC_COMP_FILTERCGF_CLKDIV(config->filterClockDivider) | in CMP_Init()
74 PMC->COMP = tmpReg; in CMP_Init()
123 uint32_t tmpReg = PMC->COMP & ~(PMC_COMP_VREF_MASK | PMC_COMP_VREFINPUT_MASK); in CMP_SetVREF() local
125 tmpReg |= PMC_COMP_VREFINPUT(config->vrefSource) | PMC_COMP_VREF(config->vrefValue); in CMP_SetVREF()
127 PMC->COMP = tmpReg; in CMP_SetVREF()