コード例 #1
0
ファイル: RA8875.c プロジェクト: AtomSoftTech/RA8875PIC328080
///////////////check bte busy
void Chk_BTE_Busy(void)
{
	uchar temp;
	do
	{
	temp=LCD_StatusRead();
	}while((temp&0x40)==0x40);
}
コード例 #2
0
ファイル: LCD_Functions.c プロジェクト: samunake/Othar
/*******************************************************************************
* 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);
}
コード例 #3
0
ファイル: LCD_Functions.c プロジェクト: samunake/Othar
/*******************************************************************************
* 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);
}
コード例 #4
0
ファイル: RA8875.c プロジェクト: lengmi/PlasterV2_0
///////////////check busy
void LCD_ChkBusy(void)
{
	uint8_t temp; 	
	do
	{
		temp=LCD_StatusRead();
		__Delay1ms();
	}while((temp&0x80)==0x80);		   
}