SSD1306 OLED display driver  1.4.12
This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display
Classes | Macros | Typedefs | Enumerations
nano_gfx_types.h File Reference
#include "hal/io.h"

Go to the source code of this file.

Classes

struct  SFixedFontInfo
 
struct  SSD1306_RECT
 
struct  SPRITE
 

Macros

#define min(a, b)   ((a)<(b)?(a):(b))
 
#define max(a, b)   ((a)>(b)?(a):(b))
 

Typedefs

typedef void(* InitFunction) (void)
 
typedef struct SPRITE SPRITE
 

Enumerations

enum  EFontStyle { STYLE_NORMAL, STYLE_BOLD, STYLE_ITALIC }
 
enum  EFontSize { FONT_SIZE_NORMAL = 0, FONT_SIZE_2X = 1, FONT_SIZE_4X = 2, FONT_SIZE_8X = 3 }
 

Detailed Description

Basic structures of nano gfx library

Definition in file nano_gfx_types.h.

Macro Definition Documentation

◆ max

#define max (   a,
 
)    ((a)>(b)?(a):(b))

Macros returning maximum of 2 numbers

Definition at line 40 of file nano_gfx_types.h.

◆ min

#define min (   a,
 
)    ((a)<(b)?(a):(b))

Macros returning minimum of 2 numbers

Definition at line 35 of file nano_gfx_types.h.

Typedef Documentation

◆ InitFunction

typedef void(* InitFunction) (void)

Pointer type to LCD display initialization function

Definition at line 44 of file nano_gfx_types.h.

◆ SPRITE

typedef struct SPRITE SPRITE

SPRITE structure represents logical graphics object

Enumeration Type Documentation

◆ EFontSize

enum EFontSize

Supported scale font values

Definition at line 55 of file nano_gfx_types.h.

◆ EFontStyle

enum EFontStyle

Supported font styles

Definition at line 47 of file nano_gfx_types.h.