Files
-
hardware / bubblegum / bubblegum.brd
-
hardware / bubblegum / bubblegum.sch
-
hardware / hackrf-one / baseband.kicad_sch
-
hardware / hackrf-one / clock.kicad_sch
-
hardware / hackrf-one / frontend.kicad_sch
-
hardware / hackrf-one / hackrf-one.kicad_pcb
-
hardware / hackrf-one / hackrf-one.kicad_sch
-
hardware / hackrf-one / mcu.kicad_sch
-
hardware / jawbreaker / baseband.sch
-
hardware / jawbreaker / frontend.sch
-
hardware / jawbreaker / jawbreaker.brd
-
hardware / jawbreaker / jawbreaker.sch
-
hardware / jawbreaker / mcu.sch
-
hardware / jellybean / jellybean.brd
-
hardware / jellybean / jellybean.sch
-
hardware / lemondrop / lemondrop.brd
-
hardware / lemondrop / lemondrop.sch
-
hardware / licorice / licorice.brd
-
hardware / licorice / licorice.sch
-
hardware / LNA915 / LNA915.kicad_pcb
-
hardware / LNA915 / LNA915.sch
-
hardware / lollipop / lollipop.brd
-
hardware / lollipop / lollipop.sch
-
hardware / marzipan / baseband.sch
-
hardware / marzipan / frontend.sch
-
hardware / marzipan / marzipan.kicad_pcb
-
hardware / marzipan / marzipan.sch
-
hardware / marzipan / mcu.sch
-
hardware / neapolitan / baseband.sch
-
hardware / neapolitan / frontend.sch
-
hardware / neapolitan / mcu.sch
-
hardware / neapolitan / neapolitan.kicad_pcb
-
hardware / neapolitan / neapolitan.sch
-
hardware / operacake / operacake.kicad_pcb
-
hardware / operacake / operacake.sch
Last update 2 years 1 month
by
Gianpaolo Macario
Filesfirmwarecommonrad1o | |
---|---|
.. | |
decoder.c | |
decoder.h | |
display.c | |
display.h | |
draw.c | |
draw.h | |
fonts.h | |
print.c | |
print.h | |
render.c | |
render.h | |
smallfonts.c | |
smallfonts.h | |
ubuntu18.c | |
ubuntu18.h |
fonts.h#ifndef __RAD1O_FONTS_H__ #define __RAD1O_FONTS_H__ #include <stdint.h> /* Partially based on original code for the KS0108 by Stephane Rey */ /* Based on code code by Kevin Townsend */ typedef struct { const uint8_t widthBits; // width, in bits (or pixels), of the character } FONT_CHAR_INFO; struct FONT_DEF { uint8_t u8Width; /* Character width for storage */ uint8_t u8Height; /* Character height for storage */ uint8_t u8FirstChar; /* The first character available */ uint8_t u8LastChar; /* The last character available */ const uint8_t* au8FontTable; /* Font table start address in memory */ const FONT_CHAR_INFO* charInfo; /* Pointer to array of char information */ const uint16_t* charExtra; /* Pointer to array of extra char info */ }; struct EXTFONT { uint8_t type; // 0: none, 1: static, 2: loaded char name[13]; struct FONT_DEF def; }; typedef const struct FONT_DEF* FONT; #define FONT_DEFAULT 0 #define FONT_INTERNAL 1 #define FONT_EXTERNAL 2 #endif