Lines Matching refs:gcrReg
86 uint32_t gcrReg = 0; in SLCD_Init() local
100 gcrReg = LCD_GCR_RVEN((uint32_t)configure->powerSupply & 0x1U) | in SLCD_Init()
105 gcrReg |= LCD_GCR_SOURCE(((uint32_t)configure->clkConfig->clkSource) & 0x1U) | in SLCD_Init()
108 …gcrReg |= LCD_GCR_DUTY(configure->dutyCycle) | LCD_GCR_LCDSTP((uint32_t)configure->lowPowerBehavio… in SLCD_Init()
114 gcrReg |= LCD_GCR_LCDWAIT(((uint32_t)configure->lowPowerBehavior >> 1U) & 0x1U); in SLCD_Init()
118 gcrReg |= LCD_GCR_LCDDOZE(((uint32_t)configure->lowPowerBehavior >> 1U) & 0x1U); in SLCD_Init()
123 gcrReg |= LCD_GCR_LCDIEN(configure->frameFreqIntEnable); in SLCD_Init()
128 gcrReg |= LCD_GCR_ALTSOURCE((((uint32_t)configure->clkConfig->clkSource) >> 1U) & 0x1U); in SLCD_Init()
133 gcrReg |= LCD_GCR_FFR(configure->clkConfig->fastFrameRateEnable ? 1U : 0U); in SLCD_Init()
137 gcrReg |= LCD_GCR_RVTRIM(configure->voltageTrim); in SLCD_Init()
140 base->GCR = (base->GCR & ~gcrMsk) | gcrReg; in SLCD_Init()
313 uint32_t gcrReg = base->GCR; in SLCD_DisableInterrupts() local
318 gcrReg &= ~LCD_GCR_FDCIEN_MASK; in SLCD_DisableInterrupts()
324 gcrReg &= ~LCD_GCR_LCDIEN_MASK; in SLCD_DisableInterrupts()
328 base->GCR = gcrReg; in SLCD_DisableInterrupts()