cbus.h
资源名称:de8681_w.zip [点击查看]
上传用户:sdttscl
上传日期:2010-01-04
资源大小:683k
文件大小:1k
源码类别:
Modem编程
开发平台:
C/C++
- //---------------------------------------------------------------------------------------------------
- // Project:- DE8681
- // Filename:- CBUS.H
- // Description:- Header file for CBUS.C
- // Programmer:- D.T.F
- // Version:- 2.0
- // Created:- 28th February 2002
- // Last modified:-
- //---------------------------------------------------------------------------------------------------
- // (C) Consumer Microcircuits Ltd 2002
- //
- // This firmware was designed by:-
- // Consumer Microcircuits Ltd,
- // Langford, Maldon,
- // ESSEX
- // CM9 6WG.
- // in the UK for use with CML evaluation kits only and is based on UK originated technology.
- // Please contact
- // sales@cmlmicro.co.uk
- // +44 (0)1621 875500
- // for licensing details.
- //---------------------------------------------------------------------------------------------------
- #ifdef CBUS_C
- void wr16_cbus(unsigned char, unsigned int);
- void wr_cbus(unsigned char, unsigned char);
- unsigned char rd_cbus(unsigned char);
- unsigned int rd16_cbus(unsigned char);
- unsigned char load_spi(unsigned char);
- void init_spi(void);
- void reset_cbus(void);
- void pwrup(void);
- #else
- extern void wr16_cbus(unsigned char, unsigned int);
- extern void wr_cbus(unsigned char, unsigned char);
- extern unsigned int rd16_cbus(unsigned char);
- extern unsigned char rd_cbus(unsigned char);
- extern void reset_cbus(void);
- extern unsigned char load_spi(unsigned char);
- extern void init_spi(void);
- extern void pwrup(void);
- #endif