/** ****************************************************************************** * @file USB_Host/CDC_Standalone/Inc/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_discovery_lcd.h"#include"stm32469i_discovery.h"#include<stdio.h>Includes/* Exported types ------------------------------------------------------------*//* Exported constants --------------------------------------------------------*//* Define the LCD default text color */#defineLCD_LOG_DEFAULT_COLORLCD_COLOR_WHITE/* Comment the line below to disable the scroll back and forward features */#defineLCD_SCROLL_ENABLED1#defineLCD_LOG_HEADER_FONTFont16#defineLCD_LOG_FOOTER_FONTFont16#defineLCD_LOG_TEXT_FONTFont16/* Define the LCD LOG Color */#defineLCD_LOG_BACKGROUND_COLORLCD_COLOR_BLACK#defineLCD_LOG_TEXT_COLORLCD_COLOR_WHITE#defineLCD_LOG_SOLID_BACKGROUND_COLORLCD_COLOR_BLUE#defineLCD_LOG_SOLID_TEXT_COLORLCD_COLOR_WHITE/* Define the cache depth */#defineCACHE_SIZE100#defineYWINDOW_SIZE1011 defines#if(YWINDOW_SIZE>14)#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__ */Exported constants/* Exported macro ------------------------------------------------------------*//* Exported functions ------------------------------------------------------- *//* ... */#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.