Microchip® Advanced Software Framework

gfx_mono_screen_dump.h File Reference

Service for performing a screen dump to XPM image file.

Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.

#include <serial.h>
#include <gfx_mono.h>

Macros

#define _XPM_HEADER(w, h)
 
#define GFX_MONO_LCD_PAGE_COUNT   GFX_MONO_LCD_HEIGHT / LCD_PAGE_HEIGHT
 
#define LCD_PAGE_HEIGHT   8
 TODO: This define should be fetched from the GFX display header file. More...
 
#define str(s)   # s
 
#define XPM_HEADER   _XPM_HEADER(GFX_MONO_LCD_WIDTH, GFX_MONO_LCD_HEIGHT)
 

Functions

static void gfx_mono_screen_dump (void)
 Function for dumping a LCD framebuffer. More...
 
static void gfx_mono_screen_dump_init (dump_usart_t *usart, const usart_serial_options_t *options)
 Init the framebuffer dump function. More...
 

Variables

dump_usart_t * dump_usart
 storage for the usart to use when dumping data More...
 
static const uint8_t xpm_header [] = XPM_HEADER