?? board.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 + -