Project 3  Seven-Segment Display
Neff Site
Macros
hc595.h File Reference

Header file for the 74HC595 serial-in, parallel-out shift register. More...

#include "spi.h"

Go to the source code of this file.

Macros

#define HC595_PORT   SPI_PORT
 
#define HC595_MODULE   SPI_MODULE
 
#define HC595_Q7S_bp   SPI_MISO_bp
 
#define HC595_Q7S_bm   SPI_MISO_bm
 
#define HC595_MR_bp   PIN3_bp
 
#define HC595_MR_bm   PIN3_bm
 
#define HC595_SHCP_bp   SPI_SCK_bp
 
#define HC595_SHCP_bm   SPI_SCK_bm
 
#define HC595_STCP_bp   SPI_SS_bp
 
#define HC595_STCP_bm   SPI_SS_bm
 
#define HC595_DS_bp   SPI_MOSI_bp
 
#define HC595_DS_bm   SPI_MOSI_bm
 

Detailed Description

Header file for the 74HC595 serial-in, parallel-out shift register.

This file defines the pin mapping for the 74HC595 8-bit serial-in, serial or parallel-out shift register with output latches.

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

Macro Definition Documentation

◆ HC595_DS_bm

#define HC595_DS_bm   SPI_MOSI_bm

◆ HC595_DS_bp

#define HC595_DS_bp   SPI_MOSI_bp

◆ HC595_MODULE

#define HC595_MODULE   SPI_MODULE

◆ HC595_MR_bm

#define HC595_MR_bm   PIN3_bm

◆ HC595_MR_bp

#define HC595_MR_bp   PIN3_bp

◆ HC595_PORT

#define HC595_PORT   SPI_PORT

◆ HC595_Q7S_bm

#define HC595_Q7S_bm   SPI_MISO_bm

◆ HC595_Q7S_bp

#define HC595_Q7S_bp   SPI_MISO_bp

◆ HC595_SHCP_bm

#define HC595_SHCP_bm   SPI_SCK_bm

◆ HC595_SHCP_bp

#define HC595_SHCP_bp   SPI_SCK_bp

◆ HC595_STCP_bm

#define HC595_STCP_bm   SPI_SS_bm

◆ HC595_STCP_bp

#define HC595_STCP_bp   SPI_SS_bp
Contact