📄 hwapi_spi.h
字号:
/******************************************************************/
/* Copyright (C) 2007 ROCK-CHIPS FUZHOU . All Rights Reserved. */
/*******************************************************************
File : hwapi_spi.h
Desc : 定义SPI的寄存器结构体\接口函数
Author : huangxinyu
Date : 2007-06-01
Notes :
$Log: hwapi_spi.h,v $
Revision 1.2 2007/10/08 02:38:50 Lingzhaojun
添加版本自动注释脚本
*********************************************************************/
#ifndef _SPI_H
#define _SPI_H
/********************************************************************
INCLUDE FILES
*********************************************************************/
#include "hw_include.h"
/********************************************************************
GLOBAL MACROS DEFINE
*********************************************************************/
/*********************************************************************
FUNCTION PROTOTYPES
*********************************************************************/
BOOL SPI_PowerOnInit(void);
int SPI_Config(UINT32 spiconfig);
UINT16 SPI_Read(UINT8 *pdata, UINT16 size, UINT8 config);
UINT16 SPI_Write(UINT8 *pdata, UINT16 size, UINT8 config);
BOOL SPI_PowerOffDeinit(void);
#endif /* _SPI_H */
/*********************************************************************
END OF FILE
*********************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -