Project 2  8×8 Dot-Matrix Display
Neff Site
Macros
max7219.h File Reference

Header file for the MAX7219 serially interfaced, 8-Digit LED display driver. More...

#include "spi.h"

Go to the source code of this file.

Macros

#define MAX7219_PORT   SPI_PORT
 
#define MAX7219_MODULE   SPI_MODULE
 
#define MAX7219_DIN_bp   SPI_MOSI_bp
 
#define MAX7219_DIN_bm   SPI_MOSI_bm
 
#define MAX7219_DOUT_bp   SPI_MISO_bp
 
#define MAX7219_DOUT_bm   SPI_MISO_bm
 
#define MAX7219_CLK_bp   SPI_SCK_bp
 
#define MAX7219_CLK_bm   SPI_SCK_bm
 
#define MAX7219_CS_bp   SPI_SS_bp
 
#define MAX7219_CS_bm   SPI_SS_bm
 
#define MAX7219_NO_OP   0x00
 
#define MAX7219_DECODE_MODE   0x09
 
#define MAX7219_INTENSITY   0x0A
 
#define MAX7219_SCAN_LIMIT   0x0B
 
#define MAX7219_SHUTDOWN   0x0C
 
#define MAX7219_SHUTDOWN_ON   0x00
 
#define MAX7219_SHUTDOWN_OFF   0x01
 
#define MAX7219_DISPLAY_TEST   0x0F
 
#define MAX7219_DISPLAY_TEST_ON   0x01
 
#define MAX7219_DISPLAY_TEST_OFF   0x0
 

Detailed Description

Header file for the MAX7219 serially interfaced, 8-Digit LED display driver.

This file defines the pin mapping and the register addresses for the Maxim MAX7219 display driver.

Author
Wolfgang Neff
Version
1.0
Date
2018-03-08
History
Created: 2018-03-08

Macro Definition Documentation

◆ MAX7219_CLK_bm

#define MAX7219_CLK_bm   SPI_SCK_bm

◆ MAX7219_CLK_bp

#define MAX7219_CLK_bp   SPI_SCK_bp

◆ MAX7219_CS_bm

#define MAX7219_CS_bm   SPI_SS_bm

◆ MAX7219_CS_bp

#define MAX7219_CS_bp   SPI_SS_bp

◆ MAX7219_DECODE_MODE

#define MAX7219_DECODE_MODE   0x09

◆ MAX7219_DIN_bm

#define MAX7219_DIN_bm   SPI_MOSI_bm

◆ MAX7219_DIN_bp

#define MAX7219_DIN_bp   SPI_MOSI_bp

◆ MAX7219_DISPLAY_TEST

#define MAX7219_DISPLAY_TEST   0x0F

◆ MAX7219_DISPLAY_TEST_OFF

#define MAX7219_DISPLAY_TEST_OFF   0x0

◆ MAX7219_DISPLAY_TEST_ON

#define MAX7219_DISPLAY_TEST_ON   0x01

◆ MAX7219_DOUT_bm

#define MAX7219_DOUT_bm   SPI_MISO_bm

◆ MAX7219_DOUT_bp

#define MAX7219_DOUT_bp   SPI_MISO_bp

◆ MAX7219_INTENSITY

#define MAX7219_INTENSITY   0x0A

◆ MAX7219_MODULE

#define MAX7219_MODULE   SPI_MODULE

◆ MAX7219_NO_OP

#define MAX7219_NO_OP   0x00

◆ MAX7219_PORT

#define MAX7219_PORT   SPI_PORT

◆ MAX7219_SCAN_LIMIT

#define MAX7219_SCAN_LIMIT   0x0B

◆ MAX7219_SHUTDOWN

#define MAX7219_SHUTDOWN   0x0C

◆ MAX7219_SHUTDOWN_OFF

#define MAX7219_SHUTDOWN_OFF   0x01

◆ MAX7219_SHUTDOWN_ON

#define MAX7219_SHUTDOWN_ON   0x00
Contact