Atmel Software Framework

gfx_mono_c12832_a1z.h File Reference

Haven Display C12832 A1Z display glue code for display controller.

Copyright (c) 2011-2015 Atmel Corporation. All rights reserved.

#include "compiler.h"
#include "st7565r.h"
#include "gfx_mono.h"
#include "gfx_mono_framebuffer.h"

Macros

#define gfx_mono_draw_circle(x, y, radius, color, octant_mask)
 
#define gfx_mono_draw_filled_circle(x, y, radius, color, quadrant_mask)
 
#define gfx_mono_draw_filled_rect(x, y, width, height, color)
 
#define gfx_mono_draw_horizontal_line(x, y, length, color)   gfx_mono_generic_draw_horizontal_line(x, y, length, color)
 
#define gfx_mono_draw_line(x1, y1, x2, y2, color)   gfx_mono_generic_draw_line(x1, y1, x2, y2, color)
 
#define gfx_mono_draw_pixel(x, y, color)   gfx_mono_st7565r_draw_pixel(x, y, color)
 
#define gfx_mono_draw_rect(x, y, width, height, color)   gfx_mono_generic_draw_rect(x, y, width, height, color)
 
#define gfx_mono_draw_vertical_line(x, y, length, color)   gfx_mono_generic_draw_vertical_line(x, y, length, color)
 
#define gfx_mono_get_byte(page, column)   gfx_mono_st7565r_get_byte(page, column)
 
#define gfx_mono_get_page(data, page, column, width)   gfx_mono_st7565r_get_page(data, page, column, width)
 
#define gfx_mono_get_pixel(x, y)   gfx_mono_st7565r_get_pixel(x, y)
 
#define gfx_mono_init()   gfx_mono_st7565r_init()
 
#define GFX_MONO_LCD_FRAMEBUFFER_SIZE
 
#define GFX_MONO_LCD_HEIGHT   32
 
#define GFX_MONO_LCD_PAGES
 
#define GFX_MONO_LCD_PIXELS_PER_BYTE   8
 
#define GFX_MONO_LCD_WIDTH   128
 
#define gfx_mono_mask_byte(page, column, pixel_mask, color)   gfx_mono_st7565r_mask_byte(page, column, pixel_mask, color)
 
#define gfx_mono_put_bitmap(bitmap, x, y)   gfx_mono_generic_put_bitmap(bitmap, x, y)
 
#define gfx_mono_put_byte(page, column, data)   gfx_mono_st7565r_put_byte(page, column, data)
 
#define gfx_mono_put_framebuffer()   gfx_mono_st7565r_put_framebuffer()
 
#define gfx_mono_put_page(data, page, column, width)   gfx_mono_st7565r_put_page(data, page, column, width)
 

Functions

void gfx_mono_st7565r_draw_pixel (gfx_coord_t x, gfx_coord_t y, gfx_mono_color_t color)
 
uint8_t gfx_mono_st7565r_get_byte (gfx_coord_t page, gfx_coord_t column)
 Get a byte from the display controller RAM. More...
 
void gfx_mono_st7565r_get_page (gfx_mono_color_t *data, gfx_coord_t page, gfx_coord_t page_offset, gfx_coord_t width)
 Read a page from the LCD controller. More...
 
uint8_t gfx_mono_st7565r_get_pixel (gfx_coord_t x, gfx_coord_t y)
 Get the pixel value at x,y. More...
 
void gfx_mono_st7565r_init (void)
 Initialize ST7565R controller and LCD display. More...
 
void gfx_mono_st7565r_mask_byte (gfx_coord_t page, gfx_coord_t column, gfx_mono_color_t pixel_mask, gfx_mono_color_t color)
 Read/Modify/Write a byte on the display controller. More...
 
void gfx_mono_st7565r_put_byte (gfx_coord_t page, gfx_coord_t column, uint8_t data)
 Put a byte to the display controller RAM. More...
 
void gfx_mono_st7565r_put_framebuffer (void)
 Put framebuffer to LCD controller. More...
 
void gfx_mono_st7565r_put_page (gfx_mono_color_t *data, gfx_coord_t page, gfx_coord_t page_offset, gfx_coord_t width)
 Put a page from RAM to display controller. More...