?? systeminit.h
字號:
#ifndef __SYSTEM_INIT_H__
#define __SYSTEM_INIT_H__
// 包含必要的頭文件
#include <hw_types.h>
#include <hw_memmap.h>
#include <hw_ints.h>
#include <interrupt.h>
#include <sysctl.h>
#include <gpio.h>
// 將較長的標識符定義成較短的形式
#define SysCtlPeriEnable SysCtlPeripheralEnable
#define SysCtlPeriDisable SysCtlPeripheralDisable
#define GPIOPinTypeIn GPIOPinTypeGPIOInput
#define GPIOPinTypeOut GPIOPinTypeGPIOOutput
#define GPIOPinTypeOD GPIOPinTypeGPIOOutputOD
// 聲明全局的系統時鐘變量
extern unsigned long TheSysClock;
// 防止JTAG失效
extern void jtagWait(void);
// 系統時鐘初始化
extern void clockInit(void);
#endif // __SYSTEM_INIT_H__
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -