322 uint16_t length = 0 ;
323 uint16_t ptr = 0, index = 0;
354 (uint8_t *)(LCD_CacheBuffer[index].line));
361 #if( LCD_SCROLL_ENABLED == 1)
ErrorStatus LCD_LOG_ScrollBack(void)
Display previous text frame.
#define LCD_LOG_SOLID_TEXT_COLOR
void BSP_LCD_SetFont(sFONT *fonts)
Sets the LCD text font.
ErrorStatus LCD_LOG_ScrollForward(void)
Display next text frame.
void LCD_LOG_Init(void)
Initializes the LCD Log module.
void BSP_LCD_FillRect(uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height)
Draws a full rectangle in currently active layer.
void LCD_LOG_UpdateDisplay(void)
Update the text area display.
void BSP_LCD_DisplayStringAtLine(uint16_t Line, uint8_t *ptr)
Displays a maximum of 60 characters on the LCD.
sFONT * BSP_LCD_GetFont(void)
Gets the LCD text font.
#define LCD_LOG_HEADER_FONT
uint32_t BSP_LCD_GetXSize(void)
Gets the LCD X size.
uint16_t LCD_CacheBuffer_yptr_bottom_bak
LCD_LOG_PUTCHAR
Redirect the printf to the LCD.
#define LCD_LOG_TEXT_FONT
void BSP_LCD_SetBackColor(uint32_t Color)
Sets the LCD background color.
void BSP_LCD_DisplayStringAt(uint16_t Xpos, uint16_t Ypos, uint8_t *Text, Text_AlignModeTypdef Mode)
Displays characters in currently active layer.
uint16_t LCD_ScrollBackStep
uint16_t LCD_CacheBuffer_xptr
#define LCD_LOG_TEXT_COLOR
void LCD_LOG_ClearTextZone(void)
Clear the Text Zone.
void BSP_LCD_Clear(uint32_t Color)
Clears the whole currently active layer of LTDC.
FunctionalState LCD_Scrolled
LCD_LOG_line LCD_CacheBuffer[LCD_CACHE_DEPTH]
void LCD_LOG_DeInit(void)
DeInitializes the LCD Log module.
#define LCD_LOG_FOOTER_FONT
void LCD_LOG_SetFooter(uint8_t *footer)
Display the application footer on the LCD screen.
void BSP_LCD_ClearStringLine(uint32_t Line)
Clears the selected line in currently active layer.
void BSP_LCD_SetTextColor(uint32_t Color)
Sets the LCD text color.
uint16_t LCD_CacheBuffer_yptr_top
header for the lcd_log.c file
uint32_t BSP_LCD_GetYSize(void)
Gets the LCD Y size.
FunctionalState LCD_ScrollActive
uint16_t LCD_CacheBuffer_yptr_bottom
uint16_t LCD_CacheBuffer_yptr_top_bak
FunctionalState LCD_CacheBuffer_yptr_invert
void LCD_LOG_SetHeader(uint8_t *header)
Display the application header on the LCD screen.
#define LCD_LOG_BACKGROUND_COLOR
#define LCD_LOG_SOLID_BACKGROUND_COLOR