Prusa MINI Firmware overview
Max7219 Class Reference

#include <Max7219_Debug_LEDs.h>

Collaboration diagram for Max7219:

Public Member Functions

 Max7219 ()
 

Static Public Member Functions

static void init ()
 
static void register_setup ()
 
static void putbyte (uint8_t data)
 
static void pulse_load ()
 
static void send (const uint8_t reg, const uint8_t data)
 
static void refresh ()
 
static void refresh_line (const uint8_t line)
 
static void refresh_unit_line (const uint8_t line)
 
static void led_set (const uint8_t x, const uint8_t y, const bool on)
 
static void led_on (const uint8_t x, const uint8_t y)
 
static void led_off (const uint8_t x, const uint8_t y)
 
static void led_toggle (const uint8_t x, const uint8_t y)
 
static void set_column (const uint8_t col, const uint32_t val)
 
static void clear_column (const uint8_t col)
 
static void set_row (const uint8_t row, const uint32_t val)
 
static void clear_row (const uint8_t row)
 
static void set_rows_16bits (const uint8_t y, uint32_t val)
 
static void set_rows_32bits (const uint8_t y, uint32_t val)
 
static void set_columns_16bits (const uint8_t x, uint32_t val)
 
static void set_columns_32bits (const uint8_t x, uint32_t val)
 
static void clear ()
 
static void fill ()
 
static void idle_tasks ()
 

Static Public Attributes

static uint8_t led_line [MAX7219_LINES]
 

Constructor & Destructor Documentation

◆ Max7219()

Max7219::Max7219 ( )
78 {}

Member Function Documentation

◆ init()

static void Max7219::init ( )
static
Here is the caller graph for this function:

◆ register_setup()

static void Max7219::register_setup ( )
static

◆ putbyte()

static void Max7219::putbyte ( uint8_t  data)
static

◆ pulse_load()

static void Max7219::pulse_load ( )
static

◆ send()

static void Max7219::send ( const uint8_t  reg,
const uint8_t  data 
)
static

◆ refresh()

static void Max7219::refresh ( )
static
89 { for (uint8_t i = 0; i < 8; i++) refresh_line(i); }
Here is the call graph for this function:

◆ refresh_line()

static void Max7219::refresh_line ( const uint8_t  line)
static
Here is the caller graph for this function:

◆ refresh_unit_line()

static void Max7219::refresh_unit_line ( const uint8_t  line)
static

◆ led_set()

static void Max7219::led_set ( const uint8_t  x,
const uint8_t  y,
const bool  on 
)
static

◆ led_on()

static void Max7219::led_on ( const uint8_t  x,
const uint8_t  y 
)
static

◆ led_off()

static void Max7219::led_off ( const uint8_t  x,
const uint8_t  y 
)
static

◆ led_toggle()

static void Max7219::led_toggle ( const uint8_t  x,
const uint8_t  y 
)
static

◆ set_column()

static void Max7219::set_column ( const uint8_t  col,
const uint32_t  val 
)
static

◆ clear_column()

static void Max7219::clear_column ( const uint8_t  col)
static

◆ set_row()

static void Max7219::set_row ( const uint8_t  row,
const uint32_t  val 
)
static

◆ clear_row()

static void Max7219::clear_row ( const uint8_t  row)
static

◆ set_rows_16bits()

static void Max7219::set_rows_16bits ( const uint8_t  y,
uint32_t  val 
)
static

◆ set_rows_32bits()

static void Max7219::set_rows_32bits ( const uint8_t  y,
uint32_t  val 
)
static

◆ set_columns_16bits()

static void Max7219::set_columns_16bits ( const uint8_t  x,
uint32_t  val 
)
static

◆ set_columns_32bits()

static void Max7219::set_columns_32bits ( const uint8_t  x,
uint32_t  val 
)
static

◆ clear()

static void Max7219::clear ( )
static

◆ fill()

static void Max7219::fill ( )
static

◆ idle_tasks()

static void Max7219::idle_tasks ( )
static
Here is the caller graph for this function:

Member Data Documentation

◆ led_line

uint8_t Max7219::led_line[MAX7219_LINES]
static
i
uint8_t i
Definition: screen_test_graph.c:72
uint8_t
const uint8_t[]
Definition: 404_html.c:3
Max7219::refresh_line
static void refresh_line(const uint8_t line)