?? systeminit.h
字號:
#ifndef __SYSTEM_INIT_H__
#define __SYSTEM_INIT_H__
// 定義Luminary Micro第三代產品DustDevil家族(A0版本)
#define TARGET_IS_DUSTDEVIL_RA0
// 包含必要的頭文件
#include <hw_types.h>
#include <hw_memmap.h>
#include <rom.h> // 包含<rom.h>以使用ROM庫,若注釋掉本行則不使用ROM庫
#include <rom_map.h> // 包含<rom_map.h>,以后每個庫函數都可以前綴MAP_
#include <hw_ints.h>
#include <interrupt.h>
#include <sysctl.h>
#include <gpio.h>
// 將較長的標識符定義成較短的形式
#define MAP_SysCtlPeriEnable MAP_SysCtlPeripheralEnable
#define MAP_SysCtlPeriDisable MAP_SysCtlPeripheralDisable
#define MAP_GPIOPinTypeIn MAP_GPIOPinTypeGPIOInput
#define MAP_GPIOPinTypeOut MAP_GPIOPinTypeGPIOOutput
#define MAP_GPIOPinTypeOD MAP_GPIOPinTypeGPIOOutputOD
extern unsigned long TheSysClock; // 聲明全局的系統時鐘變量
extern void jtagWait(void); // 防止JTAG失效
extern void clockInit(void); // 系統時鐘初始化
#endif // __SYSTEM_INIT_H__
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -