www.pudn.com > 74hc595-STM8.rar > hC595-drive.h, change:2015-04-01,size:365b


#ifndef  __HC595-DRIVE_H 
#define  __HC595-DRIVE_H 
 
 
#define	P_HC595_SER   PC_ODR_ODR2       //	SER		data input 
#define	P_HC595_RCLK  PC_ODR_ODR3	//	RCLk	store (latch) clock 
#define	P_HC595_SRCLK PC_ODR_ODR4	//	SRCLK	Shift data clock 
 
 
void H595_Init(void); 
void Send_595(unsigned char dat);	//发送一个字节 
void DisplayScan(void);	//显示扫描函数 
 
#endif