SSD1306 Driver for TivaC
SSD1306 i2c driver for use with Texas Instrument TivaC
oled_font.h
Go to the documentation of this file.
1 
11 #ifndef _OLED_FONT_H
12 #define _OLED_FONT_H
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 #include <stdint.h>
18 
23 typedef struct {
24  uint32_t glyphLen;
25  const uint8_t *glyphBitmap;
26 } fontDescList;
27 
32 typedef struct {
33  const uint32_t totalChar;
34  const uint32_t charOffset;
36 } fontSetDesc;
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 #endif
Struct describing an entire set of fonts.
Definition: oled_font.h:32
const fontDescList * descList
Descriptor list containing bitmaps of the characters.
Definition: oled_font.h:35
const uint32_t charOffset
Offset of character index in descriptor list from its ascii value.
Definition: oled_font.h:34
Struct containing the description of a character.
Definition: oled_font.h:23
const uint8_t * glyphBitmap
The array containing bitmap of the char.
Definition: oled_font.h:25
const uint32_t totalChar
Total characters in the fonts.
Definition: oled_font.h:33
uint32_t glyphLen
Length of the bitmap describing the character.
Definition: oled_font.h:24