TTK4155 Lab Node 1
Term project in the NTNU course TTK4155 Embedded and Industrial Computer Systems Design
Loading...
Searching...
No Matches
oled_font Struct Reference

Represents a font for OLED displays. More...

#include <io.h>

Data Fields

const void * table
uint8_t bytes_per_glyph
uint8_t height
uint8_t spacing

Detailed Description

Represents a font for OLED displays.

Contains the font table pointer, the width of each glyph, height in pixels, and spacing between glyphs.

Definition at line 22 of file io.h.

Field Documentation

◆ bytes_per_glyph

uint8_t oled_font::bytes_per_glyph

Width in columns of each glyph

Definition at line 24 of file io.h.

Referenced by io_oled_write_glyph().

◆ height

uint8_t oled_font::height

Pixel height of the glyph

Definition at line 25 of file io.h.

◆ spacing

uint8_t oled_font::spacing

Additional spacing columns after each glyph

Definition at line 26 of file io.h.

Referenced by io_oled_write_glyph().

◆ table

const void* oled_font::table

Pointer to font table in PROGMEM

Definition at line 23 of file io.h.

Referenced by io_oled_write_glyph().


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