LedController  2.0.2
A library for the MAX7219 and the MAX7221 Led display drivers.
sakurajin::MAX72XX Class Reference

#include <LedController_MAX72XX.hpp>

Collaboration diagram for sakurajin::MAX72XX:
Collaboration graph

Static Public Member Functions

static byte getChar (char c) noexcept
 
static const charTablegetTable () noexcept
 

Static Public Attributes

static const unsigned int OP_DECODEMODE = 9
 
static const unsigned int OP_DIGIT0 = 1
 
static const unsigned int OP_DIGIT1 = 2
 
static const unsigned int OP_DIGIT2 = 3
 
static const unsigned int OP_DIGIT3 = 4
 
static const unsigned int OP_DIGIT4 = 5
 
static const unsigned int OP_DIGIT5 = 6
 
static const unsigned int OP_DIGIT6 = 7
 
static const unsigned int OP_DIGIT7 = 8
 
static const unsigned int OP_DISPLAYTEST = 15
 
static const unsigned int OP_INTENSITY = 10
 
static const unsigned int OP_NOOP = 0
 
static const unsigned int OP_SCANLIMIT = 11
 
static const unsigned int OP_SHUTDOWN = 12
 

Private Member Functions

 MAX72XX () noexcept
 

Static Private Member Functions

static const MAX72XXgetInstance () noexcept
 

Private Attributes

charTable table
 

Detailed Description

Definition at line 7 of file LedController_MAX72XX.hpp.

Constructor & Destructor Documentation

◆ MAX72XX()

sakurajin::MAX72XX::MAX72XX ( )
privatenoexcept

Definition at line 3 of file LedController_MAX72XX.cpp.

Member Function Documentation

◆ getChar()

static byte sakurajin::MAX72XX::getChar ( char  c)
inlinestaticnoexcept

Definition at line 34 of file LedController_MAX72XX.hpp.

References sakurajin::charTable::getChar(), getInstance(), and table.

Here is the call graph for this function:

◆ getInstance()

static const MAX72XX& sakurajin::MAX72XX::getInstance ( )
inlinestaticprivatenoexcept

Definition at line 11 of file LedController_MAX72XX.hpp.

References MAX72XX().

Here is the call graph for this function:

◆ getTable()

static const charTable& sakurajin::MAX72XX::getTable ( )
inlinestaticnoexcept

Definition at line 38 of file LedController_MAX72XX.hpp.

References getInstance(), and table.

Here is the call graph for this function:

Member Data Documentation

◆ OP_DECODEMODE

const unsigned int sakurajin::MAX72XX::OP_DECODEMODE = 9
static

Definition at line 28 of file LedController_MAX72XX.hpp.

◆ OP_DIGIT0

const unsigned int sakurajin::MAX72XX::OP_DIGIT0 = 1
static

Definition at line 20 of file LedController_MAX72XX.hpp.

◆ OP_DIGIT1

const unsigned int sakurajin::MAX72XX::OP_DIGIT1 = 2
static

Definition at line 21 of file LedController_MAX72XX.hpp.

◆ OP_DIGIT2

const unsigned int sakurajin::MAX72XX::OP_DIGIT2 = 3
static

Definition at line 22 of file LedController_MAX72XX.hpp.

◆ OP_DIGIT3

const unsigned int sakurajin::MAX72XX::OP_DIGIT3 = 4
static

Definition at line 23 of file LedController_MAX72XX.hpp.

◆ OP_DIGIT4

const unsigned int sakurajin::MAX72XX::OP_DIGIT4 = 5
static

Definition at line 24 of file LedController_MAX72XX.hpp.

◆ OP_DIGIT5

const unsigned int sakurajin::MAX72XX::OP_DIGIT5 = 6
static

Definition at line 25 of file LedController_MAX72XX.hpp.

◆ OP_DIGIT6

const unsigned int sakurajin::MAX72XX::OP_DIGIT6 = 7
static

Definition at line 26 of file LedController_MAX72XX.hpp.

◆ OP_DIGIT7

const unsigned int sakurajin::MAX72XX::OP_DIGIT7 = 8
static

Definition at line 27 of file LedController_MAX72XX.hpp.

◆ OP_DISPLAYTEST

const unsigned int sakurajin::MAX72XX::OP_DISPLAYTEST = 15
static

Definition at line 32 of file LedController_MAX72XX.hpp.

◆ OP_INTENSITY

const unsigned int sakurajin::MAX72XX::OP_INTENSITY = 10
static

Definition at line 29 of file LedController_MAX72XX.hpp.

◆ OP_NOOP

const unsigned int sakurajin::MAX72XX::OP_NOOP = 0
static

Definition at line 19 of file LedController_MAX72XX.hpp.

◆ OP_SCANLIMIT

const unsigned int sakurajin::MAX72XX::OP_SCANLIMIT = 11
static

Definition at line 30 of file LedController_MAX72XX.hpp.

◆ OP_SHUTDOWN

const unsigned int sakurajin::MAX72XX::OP_SHUTDOWN = 12
static

Definition at line 31 of file LedController_MAX72XX.hpp.

◆ table

charTable sakurajin::MAX72XX::table
private

Definition at line 9 of file LedController_MAX72XX.hpp.


The documentation for this class was generated from the following files: