#ifndef __IO_74HC164_H__
#define __IO_74HC164_H__
#include "NUC1xx.h"
#include "Driver\DrvGPIO.h"
#include "Driver\DrvSYS.h"
#define SetBit_SDATA() DrvGPIO_SetBit(E_GPA,7) //164的数据为1
#define ClrBit_SDATA() DrvGPIO_ClrBit(E_GPA,7) //164的数据为0
#define SetBit_SCLK() DrvGPIO_SetBit(E_GPA,9) //数据输入时钟线拉高
#define ClrBit_SCLK() DrvGPIO_ClrBit(E_GPA,9) //数据输入时钟线拉低
extern uint32_t SendByte_Hc164(uint32_t dat);
#endif
|