Go to the source code of this file.
VGA library commands definitions
Definition in file vga_commands.h.
◆ EVgaCommands
VGA driver commands
Enumerator |
---|
VGA_SET_BLOCK | VGA_SET_BLOCK command sets rectangle in VGA ram to send pixels to. The command needs 4 byte-arguments: left boundary in pixels, right boundary in pixels, top boundary in pixels, bottom boundary in pixels, (last arg in not implemented yet)
|
VGA_SET_MODE | VGA_SET_MODE command sets memory addressing mode: there are 2 modes available: 0 - normal addressing mode, 1 - ssd1306 compatible mode. After sending each pixel in normal addressing mode, x position shifts right by 1 pixel until end of block is reached, then y position shifts down by 1 pixel, and x position move to the start of block. After sending each pixel in ssd1306 compatible mode, y position shifts down by 1 pixel until 8 vertical pixels are printed, then y position changes to top of block, and x position shifts right by 1 pixel.
|
Definition at line 37 of file vga_commands.h.