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

📄 board.h

📁 AT91SAM9263的SD卡驱动
💻 H
字号:
/*----------------------------------------------------------------------------
*         ATMEL Microcontroller Software Support  -  ROUSSET  -
*----------------------------------------------------------------------------
* The software is delivered "AS IS" without warranty or condition of any
* kind, either express, implied or statutory. This includes without
* limitation any warranty or condition with respect to merchantability or
* fitness for any particular purpose, or against the infringements of
* intellectual property rights of others.
*----------------------------------------------------------------------------
* File Name           : Board.h
* Object              : AT91SAM7S Evaluation Board Features Definition File.
*
* Creation            : JPP   16/Jun/2004
*----------------------------------------------------------------------------
*/
#ifndef Board_h
#define Board_h

#include "AT91SAM9260.h"
#include "lib_AT91SAM9260.h"
#define AT91C_MASTER_CLOCK 		99300000
#define AT91C_CLEAR_SCREEN		"\033[2J"

#define SAM79260

/*-----------------*/
/* Leds Definition */
/*-----------------*/ 

#define POWERLED		(1<<23)	/* PA23 */

/*-----------------*/
/* Leds Definition */
/*-----------------*/
/*                                 PIO   Flash    PA    PB   PIN */
#define LED7            (1<<15)	/* PA15 */
#define LED8            (1<<14)	/* PA16 */
//#define LED8            (1<<16)	/* PA16 */
#define LED9            (1<<30)	/* PA30 */
#define LED10           (1<<31)	/* PA31 */
#define NB_LEB			4

#define LED_MASK        (LED7|LED8|LED9|LED10)

/*-------------------------*/
/* Push Buttons Definition */
/*-------------------------*/
/*                                 PIO    Flash    PA    PB   PIN */
#define SW3        (1<<27)	
#define SW4        (1<<26)	
#define SW5        (1<<25)	/* PA25*/
#define SW6        (1<<24)	
#define SW_MASK         (SW3|SW4|SW5|SW6)

void uprintf(char *fmt,...);

#endif /* Board_h */

⌨️ 快捷键说明

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