/** ****************************************************************************** * @file BSP/Inc/lcd_log_conf.h * @author MCD Application Team * @brief lcd_log configuration template file. * This file should be copied to the application folder and modified * as follows: * - Rename it to 'lcd_log_conf.h'. * - Update the name of the LCD driver's header file, depending on * the EVAL board you are using, see line40 below (be default this * file will generate compile error unless you do this modification). ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... *//* Define to prevent recursive inclusion -------------------------------------*/#ifndef__LCD_LOG_CONF_H__#define__LCD_LOG_CONF_H__/* Includes ------------------------------------------------------------------*/#include"stm32446e_eval_lcd.h"#include<stdio.h>/** @addtogroup LCD_LOG * @{ *//* ... *//** @defgroup LCD_LOG * @brief This file is the * @{ *//* ... *//** @defgroup LCD_LOG_CONF_Exported_Defines * @{ *//* ... *//* Comment the line below to disable the scroll back and forward features */#defineLCD_SCROLL_ENABLED1/* Define the Fonts */#defineLCD_LOG_HEADER_FONTFont16#defineLCD_LOG_FOOTER_FONTFont12#defineLCD_LOG_TEXT_FONTFont12/* Define the LCD LOG Color */#defineLCD_LOG_BACKGROUND_COLORLCD_COLOR_WHITE#defineLCD_LOG_TEXT_COLORLCD_COLOR_DARKBLUE#defineLCD_LOG_SOLID_BACKGROUND_COLORLCD_COLOR_BLUE#defineLCD_LOG_SOLID_TEXT_COLORLCD_COLOR_WHITE/* Define the cache depth */#defineCACHE_SIZE100#defineYWINDOW_SIZE1710 defines#if(YWINDOW_SIZE>17)#error"Wrong YWINDOW SIZE"#endif/* Redirect the printf to the LCD */#ifdef__GNUC__/* With GCC, small printf (option LD Linker->Libraries->Small printf set to 'Yes') calls __io_putchar() *//* ... */#defineLCD_LOG_PUTCHARint__io_putchar(intch)/* ... */#else#defineLCD_LOG_PUTCHARintfputc(intch,FILE*f)#endif/* __GNUC__ *//** @defgroup LCD_LOG_CONF_Exported_TypesDefinitions * @{ *//* ... *//** * @} *//* ... *//** @defgroup LCD_LOG_Exported_Macros * @{ *//* ... *//** * @} *//* ... *//** @defgroup LCD_LOG_CONF_Exported_Variables * @{ *//* ... *//** * @} *//* ... *//** @defgroup LCD_LOG_CONF_Exported_FunctionsPrototype * @{ *//* ... *//** * @} *//* ... *//* ... */#endif//__LCD_LOG_CONF_H__/** * @} *//* ... *//** * @} *//* ... */
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.