libws libws
WSwan hardware library for the Wonderful toolchain
Loading...
Searching...
No Matches
ws_display_tile_t Struct Reference

A structure representing a 2 bit per pixel tile. More...

#include <display.h>

Data Fields

union { 
   uint16_t   row [WS_DISPLAY_TILE_HEIGHT
 Per-row access: 16 bits per row. More...
   uint8_t   plane [WS_DISPLAY_TILE_HEIGHT][2] 
 Per-byte access: 8 rows of 2 planes. More...
}; 

Detailed Description

A structure representing a 2 bit per pixel tile.

Definition at line 71 of file display.h.

Field Documentation

◆ [union]

union { ... }

◆ plane

uint8_t plane[WS_DISPLAY_TILE_HEIGHT][2]

Per-byte access: 8 rows of 2 planes.

Definition at line 74 of file display.h.

◆ row

uint16_t row[WS_DISPLAY_TILE_HEIGHT]

Per-row access: 16 bits per row.

Definition at line 73 of file display.h.


The documentation for this struct was generated from the following file: