22#include "px_gfx_disp.h"
23#include "px_lcd_st7567_jhd12864.h"
42void px_gfx_disp_buf_clear(
void)
60 *data |= (0x01 << (y % 8));
62 case PX_GFX_COLOR_OFF:
63 *data &= ~(0x01 << (y % 8));
65 case PX_GFX_COLOR_INVERT:
66 *data ^= (0x01 << (y % 8));
78 for(page = area->
y1 / 8; page <= (area->
y2 / 8); page++)
86void px_gfx_disp_log_report_buf(
void)
90 for(y = 0; y < PX_GFX_DISP_SIZE_Y; y++)
92 for(x = 0; x < PX_GFX_DISP_SIZE_X; x++)
uint8_t px_gfx_frame_buf[PX_GFX_DISP_SIZE_Y][PX_GFX_DISP_SIZE_X]
Allocate space for frame buffer [row(y)][col(x)].
px_gfx_color_t
Foreground and background color definitions.
int16_t px_gfx_xy_t
Size definition of an X or Y coordinate.
void px_lcd_wr_disp_data(uint8_t *data, size_t nr_of_bytes)
Write data to display.
void px_lcd_sel_page(uint8_t page)
Select LCD page (y) for display data.
void px_lcd_sel_col(uint8_t col)
Select LCD starting column (x) for display data.
#define PX_LOG_NAME(name)
Macro to declare a log name string once for each file to reduce code size.
#define PX_LOG_TRACE_CHAR(c)
Macro to output a char if PX_LOG=1.