Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/slcd/
Dfsl_slcd.c86 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()
108gcrReg |= 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()
[all …]