board.h

来自「RT-Thread是发展中的下一代微内核嵌入式实时操作系统」· C头文件 代码 · 共 44 行

H
44
字号
/* * File      : board.h * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006, RT-Thread Develop Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://openlab.rt-thread.com/license/LICENSE * * Change Logs: * Date           Author       Notes * 2006-09-24     Bernard      first version */
#ifndef __BOARD_H__
#define __BOARD_H__
/* * Physical Address Range     Description 
 * -----------------------    ---------------------------------- 
 * 0x00000000 - 0x01ffffff    flash Memory   (32MB)
 * 0x04000000 - 0x05ffffff    Application flash Memory  (32MB)
 * 0x08000000 - 0x080000ff    I/O baseboard registers
 * 0x0a000000 - 0x0a0fffff    SRAM (1MB)
 * 0x40000000 - 0x480fffff    Processor Registers
 * 0xa0000000 - 0xa3ffffff    SDRAM Bank 0 (64MB)
*/#define CLK4_TIMER_FREQUENCY	32768		/* 32.768KHz */#define CLK0_TIMER_FREQUENCY	3250000		/* 3.2500MHz */#define ZAURUSC1K_LED_GREEN		1#define ZAURUSC1K_LED_ORANGE	7
void rt_hw_board_init(void);void rt_hw_led_set(rt_uint32 led);void rt_hw_led_flash(void);
#ifdef RT_USING_FINSHvoid rt_hw_finsh_init(void);#endif#endif

⌨️ 快捷键说明

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