Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Dlcd.c86 uint32_t LCD_Open(S_LCD_CFG_T *pLCDCfg) in LCD_Open() argument
97 LCD->PCTL = (pLCDCfg->u32ComDuty | pLCDCfg->u32BiasLevel); in LCD_Open()
100 LCD_WAVEFORM_TYPE(pLCDCfg->u32WaveformType); in LCD_Open()
103 LCD->INTEN = pLCDCfg->u32IntSrc; in LCD_Open()
106 LCD_DRIVING_MODE(pLCDCfg->u32DrivingMode); in LCD_Open()
109 LCD_VOLTAGE_SOURCE(pLCDCfg->u32VSrc); in LCD_Open()
125 u32ComNum = ((pLCDCfg->u32ComDuty & LCD_PCTL_DUTY_Msk) >> LCD_PCTL_DUTY_Pos) + 1; in LCD_Open()
126 if((pLCDCfg->u32WaveformType & LCD_PCTL_TYPE_Msk) == LCD_PCTL_TYPE_Msk) in LCD_Open()
131 u32FreqLCD = (pLCDCfg->u32Framerate * u32ComNum); in LCD_Open()
134 u32FreqDiv = (pLCDCfg->u32SrcFreq / u32FreqLCD); in LCD_Open()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/inc/
Dlcd.h512 uint32_t LCD_Open(S_LCD_CFG_T *pLCDCfg);