/** ****************************************************************************** * @file lcd_log_conf.h * @author MCD Application Team * @brief LCD Log configuration file. ****************************************************************************** * @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"stm32469i_eval_lcd.h"#include<stdio.h>/* Comment the line below to disable the scroll back and forward features */#defineLCD_SCROLL_ENABLED1/* Define the Fonts */#defineLCD_LOG_HEADER_FONTFont24#defineLCD_LOG_FOOTER_FONTFont12#defineLCD_LOG_TEXT_FONTFont16/* Define the LCD LOG Color */#defineLCD_LOG_BACKGROUND_COLORLCD_COLOR_WHITE#defineLCD_LOG_TEXT_COLORLCD_COLOR_DARKBLUE#defineLCD_LOG_DEFAULT_COLORLCD_COLOR_DARKBLUE#defineLCD_LOG_SOLID_BACKGROUND_COLORLCD_COLOR_BLUE#defineLCD_LOG_SOLID_TEXT_COLORLCD_COLOR_WHITE/* Define the cache depth */#defineCACHE_SIZE100#defineYWINDOW_SIZE2511 defines#if(YWINDOW_SIZE>25)#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__ */Includes/* ... */#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.