Esempio n. 1
0
/**
  * @brief  Get the ILI9325 ID.
  * @param  None
  * @retval The ILI9325 ID 
  */
uint16_t ili9325_ReadID(void)
{
  if(Is_ili9325_Initialized == 0)
  {
    ili9325_Init();  
  }
  return (ili9325_ReadReg(0x00));
}
Esempio n. 2
0
/**
  * @brief  Initializes the LCD.
  * @param  None
  * @retval LCD state
  */
static void LCD_LL_Init(void)
{
  if (ili9320_drv.ReadID() == ILI9320_ID)
  {
    ili9320_Init();
  }
  else
  {
    ili9325_Init();
  }
}
/**
  * @brief  Initializes the LCD.
  * @param  None
  * @retval LCD state
  */
void LCD_LL_Init(void)
{ 
  /* LCD Init */
  STM_FSMC_BANK3_Init();
  
  if(ili9320_drv.ReadID() == ILI9320_ID)
  {
    ili9320_Init();
  }
  else if(ili9325_drv.ReadID() == ILI9325_ID)
  {
    ili9325_Init();
  }
}
/**
  * @brief  Initializes the LCD.
  * @param  None
  * @retval LCD state
  */
void LCD_LL_Init(void)
{ 
  /* LCD Init */
  STM_FMC_BANK1_Init();
  ili9325_Init();
}
Esempio n. 5
0
/**
  * @brief  Initializes the LCD.
  * @param  None
  * @retval LCD state
  */
void LCD_LL_Init(void)
{ 
  /* LCD Init */
  ili9325_Init();
}