⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mmcconf.h

📁 移植到mega32上面的fat16代码实现了
💻 H
字号:
/*! \file mmcconf.h \brief MultiMedia and SD Flash Card Interface Configuration. */
//############################################################################
//
// File Name	: 'mmcconf.h'
// Title		: MultiMedia and SD Flash Card Interface Configuration
// Author		: Pascal Stang - Copyright (C) 2004
// Created		: 2004.09.22
// Revised		: 2004.09.22
// Version		: 0.1
// Target MCU	: Atmel AVR Series
// Editor Tabs	: 4
//
// NOTE: This code is currently below version 1.0, and therefore is considered
// to be lacking in some functionality or documentation, or may not be fully
// tested.  Nonetheless, you can expect most functions to work.
//
// This code is distributed under the GNU Public License
//		which can be found at http://www.gnu.org/licenses/gpl.txt
//
//############################################################################

#ifndef MMCCONF_H
#define MMCCONF_H

// define to enable debugging print statements
#define MMC_DEBUG

// MMC card chip select pin defines
#define MMC_CS_PORT			PORTB
#define MMC_CS_DDR			DDRB

#if defined(__AVR_ATmega128__)
#define MMC_CS_PIN			PB4
#else
#define MMC_CS_PIN			PB1
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -