ISF15ACP4 Driver 1.0.0
API reference
Loading...
Searching...
No Matches
Functions | Variables
isf15acp4::font Namespace Reference

Functions

bool GetGlyph (char ch, uint8_t out_cols[5]) noexcept
 Get glyph columns for an ASCII character.
 

Variables

constexpr uint8_t kWidth = 5
 
constexpr uint8_t kHeight = 7
 
constexpr uint8_t kSpacing = 1
 
const uint8_t kGlyphData [95][5]
 Glyph bitmap for ASCII 32 (' ') through 126 ('~').
 

Function Documentation

◆ GetGlyph()

bool isf15acp4::font::GetGlyph ( char  ch,
uint8_t  out_cols[5] 
)
noexcept

Get glyph columns for an ASCII character.

Parameters
chCharacter code.
out_colsReceives five column bytes (LSB = top pixel).
Returns
true when the character is printable.

Variable Documentation

◆ kGlyphData

const uint8_t isf15acp4::font::kGlyphData

Glyph bitmap for ASCII 32 (' ') through 126 ('~').

◆ kHeight

constexpr uint8_t isf15acp4::font::kHeight = 7
inlineconstexpr

◆ kSpacing

constexpr uint8_t isf15acp4::font::kSpacing = 1
inlineconstexpr

◆ kWidth

constexpr uint8_t isf15acp4::font::kWidth = 5
inlineconstexpr