#ifdef USE_STM8L1528_EVAL
/* Set Matrix Pixels ON to display STM on the LCD Glass */
LCD_GLASS_DisplaySTM();
/* Enable the dispaly for the ST Logo */
LCD_GLASS_DisplayLogo(ENABLE);
/* Configure the LCD Battery Level High */
LCD_GLASS_BatteryLevelConfig(BATTERYLEVEL_FULL);
/* Configure the LCD ArrowDirection */
LCD_GLASS_ArrowConfig(ARROWDIRECTION_UP);
LCD_GLASS_ArrowConfig(ARROWDIRECTION_DOWN);
LCD_GLASS_ArrowConfig(ARROWDIRECTION_LEFT);
LCD_GLASS_ArrowConfig(ARROWDIRECTION_RIGHT);
/* Configure the LCD Temperature level */
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_1);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_2);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_3);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_4);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_5);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_6);
/* Configure the LCD ValueUnit */
LCD_GLASS_ValueUnitConfig(VALUEUNIT_MILLIAMPERE);
LCD_GLASS_ValueUnitConfig(VALUEUNIT_MICROAMPERE);
LCD_GLASS_ValueUnitConfig(VALUEUNIT_NANOAMPERE);
/* Configure the LCD sign */
LCD_GLASS_SignCmd(SIGN_POSITIVE, ENABLE);
LCD_GLASS_SignCmd(SIGN_NEGATIVE, ENABLE);
RE:stm8文档之 编程手册
/* Set Matrix Pixels ON to display STM on the LCD Glass */
LCD_GLASS_DisplaySTM();
/* Enable the dispaly for the ST Logo */
LCD_GLASS_DisplayLogo(ENABLE);
/* Configure the LCD Battery Level High */
LCD_GLASS_BatteryLevelConfig(BATTERYLEVEL_FULL);
/* Configure the LCD ArrowDirection */
LCD_GLASS_ArrowConfig(ARROWDIRECTION_UP);
LCD_GLASS_ArrowConfig(ARROWDIRECTION_DOWN);
LCD_GLASS_ArrowConfig(ARROWDIRECTION_LEFT);
LCD_GLASS_ArrowConfig(ARROWDIRECTION_RIGHT);
/* Configure the LCD Temperature level */
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_1);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_2);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_3);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_4);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_5);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_6);
/* Configure the LCD ValueUnit */
LCD_GLASS_ValueUnitConfig(VALUEUNIT_MILLIAMPERE);
LCD_GLASS_ValueUnitConfig(VALUEUNIT_MICROAMPERE);
LCD_GLASS_ValueUnitConfig(VALUEUNIT_NANOAMPERE);
/* Configure the LCD sign */
LCD_GLASS_SignCmd(SIGN_POSITIVE, ENABLE);
LCD_GLASS_SignCmd(SIGN_NEGATIVE, ENABLE);
#endif /* USE_STM8L1528_EVAL */
回复:stm8文档之 编程手册
RE:stm8文档之 编程手册
RE:stm8文档之 编程手册
RE:stm8文档之 编程手册
RE:stm8文档之 编程手册
回复:stm8文档之 编程手册
回复:stm8文档之 编程手册
回复:stm8文档之 编程手册
RE:stm8文档之 编程手册
RE:stm8文档之 编程手册
stm8文档之 编程手册
RE:stm8文档之 编程手册
RE:stm8文档之 编程手册
RE:stm8文档之 编程手册