This module provides empty read/write functions to a null device (framebuffer in RAM), removing the need for an actual display or controller during testing, and enabling the use of most XMEGA boards.
Functions | |
void | gfx_mono_null_init (void) |
Initialize NULL driver. More... | |
static uint8_t | framebuffer [GFX_MONO_LCD_FRAMEBUFFER_SIZE] |
#define gfx_mono_draw_pixel | ( | x, | |
y, | |||
color | |||
) | gfx_mono_framebuffer_draw_pixel(x, y, color) |
#define gfx_mono_get_byte | ( | page, | |
column | |||
) | gfx_mono_framebuffer_get_byte(page, column) |
Referenced by gfx_mono_framebuffer_mask_byte(), and gfx_mono_generic_draw_horizontal_line().
#define gfx_mono_get_page | ( | data, | |
page, | |||
column, | |||
width | |||
) | gfx_mono_framebuffer_get_page(data, page, column, width) |
Referenced by run_clear_display_test(), run_draw_circle_outline_test(), run_draw_diagonal_line_test(), run_draw_filled_circle_test(), run_draw_filled_rectangle_test(), run_draw_flash_bitmap_test(), run_draw_horizontal_line_test(), run_draw_ram_bitmap_test(), run_draw_rectangle_outline_test(), run_draw_rectangle_two_pages_test(), run_draw_rectangles_test(), run_draw_vertical_line_test(), and run_set_display_test().
#define gfx_mono_get_pixel | ( | x, | |
y | |||
) | gfx_mono_framebuffer_get_pixel(x, y) |
#define gfx_mono_init | ( | ) | gfx_mono_null_init() |
Referenced by main().
#define GFX_MONO_LCD_FRAMEBUFFER_SIZE |
#define GFX_MONO_LCD_HEIGHT 32 |
Referenced by gfx_mono_framebuffer_draw_pixel(), gfx_mono_framebuffer_get_pixel(), gfx_mono_generic_draw_vertical_line(), run_clear_display_test(), run_draw_circle_outline_test(), run_draw_diagonal_line_test(), run_draw_filled_circle_test(), run_draw_filled_rectangle_test(), run_draw_flash_bitmap_test(), run_draw_horizontal_line_test(), run_draw_ram_bitmap_test(), run_draw_rectangle_outline_test(), run_draw_rectangle_two_pages_test(), run_draw_rectangles_test(), run_draw_vertical_line_test(), and run_set_display_test().
#define GFX_MONO_LCD_PAGES |
Referenced by run_clear_display_test(), run_draw_circle_outline_test(), run_draw_diagonal_line_test(), run_draw_filled_circle_test(), run_draw_filled_rectangle_test(), run_draw_flash_bitmap_test(), run_draw_horizontal_line_test(), run_draw_ram_bitmap_test(), run_draw_rectangle_outline_test(), run_draw_rectangle_two_pages_test(), run_draw_rectangles_test(), run_draw_vertical_line_test(), and run_set_display_test().
#define GFX_MONO_LCD_PIXELS_PER_BYTE 8 |
Referenced by gfx_mono_framebuffer_draw_pixel(), and gfx_mono_framebuffer_get_pixel().
#define GFX_MONO_LCD_WIDTH 128 |
Referenced by gfx_mono_framebuffer_draw_pixel(), gfx_mono_framebuffer_get_byte(), gfx_mono_framebuffer_get_page(), gfx_mono_framebuffer_get_pixel(), gfx_mono_framebuffer_put_byte(), gfx_mono_framebuffer_put_page(), gfx_mono_generic_draw_horizontal_line(), is_page_correct(), run_clear_display_test(), run_draw_circle_outline_test(), run_draw_diagonal_line_test(), run_draw_filled_circle_test(), run_draw_filled_rectangle_test(), run_draw_flash_bitmap_test(), run_draw_horizontal_line_test(), run_draw_ram_bitmap_test(), run_draw_rectangle_outline_test(), run_draw_rectangle_two_pages_test(), run_draw_rectangles_test(), run_draw_vertical_line_test(), and run_set_display_test().
#define gfx_mono_mask_byte | ( | page, | |
column, | |||
pixel_mask, | |||
color | |||
) | gfx_mono_framebuffer_mask_byte(page, column, pixel_mask, color) |
Referenced by gfx_mono_generic_draw_vertical_line().
#define gfx_mono_put_bitmap | ( | bitmap, | |
x, | |||
y | |||
) | gfx_mono_generic_put_bitmap(bitmap, x, y) |
Referenced by run_draw_flash_bitmap_test(), and run_draw_ram_bitmap_test().
#define gfx_mono_put_byte | ( | page, | |
column, | |||
data | |||
) | gfx_mono_framebuffer_put_byte(page, column, data) |
#define gfx_mono_put_framebuffer | ( | ) | ; |
#define gfx_mono_put_page | ( | data, | |
page, | |||
column, | |||
width | |||
) | gfx_mono_framebuffer_put_page(data, page, column, width) |
Referenced by gfx_mono_generic_put_bitmap().
void gfx_mono_null_init | ( | void | ) |
Initialize NULL driver.
References framebuffer, and gfx_mono_set_framebuffer().
|
static |
Referenced by gfx_mono_null_init(), and gfx_mono_set_framebuffer().