📄 sdhal.h
字号:
/****************************************Copyright (c)**************************************************
** Guangzhou ZHIYUAN electronics Co.,LTD.
**
** http://www.zyinside.com
**
**--------------File Info-------------------------------------------------------------------------------
** File Name: sdconfig.h
** Last modified Date: 2006.01.09
** Last Version: V1.0
** Description: hardware abstract layer header file for s3c2410 SD/MMC
**
**------------------------------------------------------------------------------------------------------
** Created By: Ming Yuan Zheng 郑明远
** Created date: 2006.01.09
** Version: V1.0
** Descriptions: The original version 初始版本
**
**------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
** Version:
** Description:
**
********************************************************************************************************/
#ifndef __SDHAL_H__
#define __SDHAL_H__
/* 给SD/MMC卡供电 power to sd/mmc card */
void SD_Powerup(void);
/* 初始化访问SD卡的硬件初始化 initialize the hardware that access sd card */
extern void SD_HardWareInit(void);
/* 设置SPI的时钟小于400kHZ set the clock of SPI less than 400kHZ */
extern void SD_Clk400k(void);
/* 设置SPI的clock到最大值 set the clock of SPI to maximum */
extern void SD_ClkToMax(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -