📄 hw.h
字号:
/*
*********************************************************************************************************
* MICIRUM BOARD SUPPORT PACKAGE
*
* (c) Copyright 2007; Micrium, Inc.; Weston, FL
*
* All rights reserved. Protected by international copyright laws.
* Knowledge of the source code may not be used to write a similar
* product. This file may only be used in accordance with a license
* and should not be redistributed in any way.
*********************************************************************************************************
*/
/*
*********************************************************************************************************
*
* BOOTLOADER HARDWARE INITIALIZATION
*
* Atmel AT91SAM9263
* on the
* AT91SAM9263-EK Evaluation Board
*
* Filename : hw.c
* Version : V1.00
* Programmer(s) : Eric Shufro
*********************************************************************************************************
*/
#ifndef __HW_H__
#define __HW_H__
/*
*********************************************************************************************************
* MACROS for Atmel Code Compatibility
*
* Description : The following macros make it possible to compile Atmel's driver source code
*********************************************************************************************************
*/
#define writel(value, address) (*(volatile unsigned int *)(address)) = (value)
#define readl(address) (*(volatile unsigned int *)(address))
/*
*********************************************************************************************************
* VARIABLES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* FUNCTION PROTOTYPES
*********************************************************************************************************
*/
void hw_init(void);
void df_hw_init(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -