Searched refs:LCD_InResInitStruct (Results 1 – 2 of 2) sorted by relevance
124 …tatusTypeDef HAL_LCD_InResConfig(LCD_HandleTypeDef *hlcd,LCD_InResInitTypeDef* LCD_InResInitStruct) in HAL_LCD_InResConfig() argument132 if(!IS_LCD_BiasRes(LCD_InResInitStruct->BiasRes)) return HAL_ERROR; in HAL_LCD_InResConfig()133 if(!IS_LCD_DriveMod(LCD_InResInitStruct->DriveMod)) return HAL_ERROR; in HAL_LCD_InResConfig()134 if(!IS_LCD_FastCharge(LCD_InResInitStruct->FastCharge)) return HAL_ERROR; in HAL_LCD_InResConfig()135 if(!IS_LCD_Contrast(LCD_InResInitStruct->Contrast)) return HAL_ERROR; in HAL_LCD_InResConfig()137 hlcd->Instance->CR0|=(LCD_InResInitStruct->Contrast); in HAL_LCD_InResConfig()138 hlcd->Instance->CR1|=(LCD_InResInitStruct->BiasRes|LCD_InResInitStruct->DriveMod); in HAL_LCD_InResConfig()141 …if(LCD_InResInitStruct->FastCharge==LCD_FastCharge_Enable && LCD_InResInitStruct->DriveMod==LCD_Dr… in HAL_LCD_InResConfig()143 if(!IS_LCD_PONTime(LCD_InResInitStruct->PONTime)) return HAL_ERROR; in HAL_LCD_InResConfig()144 hlcd->Instance->CR1|=(LCD_InResInitStruct->PONTime<<18); in HAL_LCD_InResConfig()
428 …atusTypeDef HAL_LCD_InResConfig(LCD_HandleTypeDef *hlcd,LCD_InResInitTypeDef* LCD_InResInitStruct);
Completed in 7 milliseconds