28 #ifndef SYSTEM_LIBRARIES_INC_OC_FONT_H_ 29 #define SYSTEM_LIBRARIES_INC_OC_FONT_H_ 35 #include <oc_stdlib.h> 40 const uint8_t WidthBits;
41 const uint16_t Offset;
46 const uint8_t HeightPages;
47 const uint16_t StartChar;
48 const uint16_t EndChar;
51 const char * FontName;
68 #define _________________________________________MACROS_SECTION_____________________________________________________________________________ 70 #define oC_Font_IsPrintableCharacter( Font , Ascii ) ( (Ascii) >= Font->StartChar && (Ascii) <= Font->EndChar ) 72 #undef _________________________________________MACROS_SECTION_____________________________________________________________________________ 80 #define _________________________________________PREDEFINED_FONTS_SECTION___________________________________________________________________ 82 #define oC_Font_(FontName) &oC_1WORD_FROM_2(oC_FontInfo_ , FontName) 86 #undef _________________________________________PREDEFINED_FONTS_SECTION___________________________________________________________________ 93 #define _________________________________________STATIC_INLINE_SECTION______________________________________________________________________ 99 if(isaddresscorrect(Font) && isram(outCharacterMap) && oC_Font_IsPrintableCharacter(Font,C))
103 outCharacterMap->Data = &Font->Data[characterInfo.Offset];
104 outCharacterMap->Height = Font->HeightPages;
105 outCharacterMap->Width = characterInfo.WidthBits;
113 #undef _________________________________________STATIC_INLINE_SECTION______________________________________________________________________ Contains macros for creating one word from more words in macros.
The file with interface for the GPIO driver.
Definition of the null pointer.