///////////////check bte busy void Chk_BTE_Busy(void) { uchar temp; do { temp=LCD_StatusRead(); }while((temp&0x40)==0x40); }
/******************************************************************************* * Function Name : Chk_Busy_DIR_Access * Description : Check whether the DIR_Access is busy * Input : None * Output : None * Return : None * Attention : None *******************************************************************************/ void Chk_Busy_DIR_Access(void) { uint8_t temp; do { temp=LCD_StatusRead(); }while((temp&0x01)==0x01); }
/******************************************************************************* * Function Name : Chk_Busy_BTE * Description : Check whether the BTE is busy * Input : None * Output : None * Return : None * Attention : None *******************************************************************************/ void Chk_Busy_BTE(void) { uint8_t temp; do { temp=LCD_StatusRead(); }while((temp&0x40)==0x40); }
///////////////check busy void LCD_ChkBusy(void) { uint8_t temp; do { temp=LCD_StatusRead(); __Delay1ms(); }while((temp&0x80)==0x80); }