Lines Matching refs:pstcSegCom

311  en_result_t LCD_GetSegCom(stc_lcd_segcompara_t *pstcSegComPara,stc_lcd_segcom_t *pstcSegCom)  in LCD_GetSegCom()  argument
323 pstcSegCom->bMux = 1; in LCD_GetSegCom()
324 pstcSegCom->Seg32_39VLcdCom7_4_t.SegVLcdCom = 0xff; in LCD_GetSegCom()
333 pstcSegCom->bMux = 0; in LCD_GetSegCom()
334 pstcSegCom->Seg32_39VLcdCom7_4_t.SegVLcdCom = 0x0f;//seg32_35置0 in LCD_GetSegCom()
342 pstcSegCom->u8Com0_3 = 0xfe; in LCD_GetSegCom()
343 pstcSegCom->Seg32_39VLcdCom7_4_t.SegVLcdCom &= 0xff; in LCD_GetSegCom()
346 pstcSegCom->u8Com0_3 = 0xfc;//COM口配置,默认按顺序进行配置com0/com1 in LCD_GetSegCom()
347 pstcSegCom->Seg32_39VLcdCom7_4_t.SegVLcdCom &= 0xff; in LCD_GetSegCom()
350 pstcSegCom->u8Com0_3 = 0xf8;//只取低4bit in LCD_GetSegCom()
351 pstcSegCom->Seg32_39VLcdCom7_4_t.SegVLcdCom &= 0xff; in LCD_GetSegCom()
354 pstcSegCom->u8Com0_3 = 0xf0;//只取低4bit in LCD_GetSegCom()
355 pstcSegCom->Seg32_39VLcdCom7_4_t.SegVLcdCom &= 0xff; in LCD_GetSegCom()
362 pstcSegCom->u8Com0_3 = 0xf0;//只取低4bit in LCD_GetSegCom()
363 pstcSegCom->Seg32_39VLcdCom7_4_t.SegVLcdCom &= 0xfc; in LCD_GetSegCom()
370 pstcSegCom->u8Com0_3 = 0xf0;//只取低4bit in LCD_GetSegCom()
371 pstcSegCom->Seg32_39VLcdCom7_4_t.SegVLcdCom &= 0xf0; in LCD_GetSegCom()
387 en_result_t LCD_SetSegCom(stc_lcd_segcom_t *pstcSegCom) in LCD_SetSegCom() argument
390 M0P_LCD->POEN0 = pstcSegCom->u32Seg0_31; in LCD_SetSegCom()
391 M0P_LCD->POEN1 = (uint32_t)(pstcSegCom->Seg32_39VLcdCom7_4_t.SegVLcdCom); in LCD_SetSegCom()
392 M0P_LCD->POEN1_f.MUX = pstcSegCom->bMux; in LCD_SetSegCom()
393 M0P_LCD->POEN1_f.C0 = pstcSegCom->u8Com0_3&0x01; in LCD_SetSegCom()
394 M0P_LCD->POEN1_f.C1 = pstcSegCom->u8Com0_3&0x02; in LCD_SetSegCom()
395 M0P_LCD->POEN1_f.C2 = pstcSegCom->u8Com0_3&0x04; in LCD_SetSegCom()
396 M0P_LCD->POEN1_f.C3 = pstcSegCom->u8Com0_3&0x08; in LCD_SetSegCom()