?? jb8c.h
字號:
//[JB8C.h]-----------------------------------------------------------------*
//本文件包含: *
// MC68HC908JB8 MCU映像寄存器名 *
//-------------------------------------------------------------------------*
#ifndef JB8C_H
#define JB8C_H
#define PTA *(volatile unsigned char *)0x00 //A口數據寄存器
#define PTB *(volatile unsigned char *)0x01 //B口數據寄存器
#define PTC *(volatile unsigned char *)0x02 //C口數據寄存器
#define PTD *(volatile unsigned char *)0x03 //D口數據寄存器
#define PTE *(volatile unsigned char *)0x08 //E口數據寄存器
#define DDRA *(volatile unsigned char *)0x04 //A口數據方向寄存器
#define DDRB *(volatile unsigned char *)0x05 //B口數據方向寄存器
#define DDRC *(volatile unsigned char *)0x06 //C口數據方向寄存器
#define DDRD *(volatile unsigned char *)0x07 //D口數據方向寄存器
#define DDRE *(volatile unsigned char *)0x09 //E口方向寄存器
#define TSC *(volatile unsigned char *)0x0A //TIM狀態控制寄存器
#define TCNTH *(volatile unsigned char *)0x0C //TIM控制寄存器(高)
#define TCNTL *(volatile unsigned char *)0x0D //TIM控制寄存器(低)
#define TMODH *(volatile unsigned char *)0x0E //TIM控制寄存器(高)
#define TMODL *(volatile unsigned char *)0x0F //TIM控制寄存器(低)
#define TSC0 *(volatile unsigned char *)0x10 //TIM通道狀態控制寄存器0
#define TCH0H *(volatile unsigned char *)0x11 //TIM通道0寄存器(高)
#define TCH0L *(volatile unsigned char *)0x12 //TIM通道0寄存器(低)
#define TSC1 *(volatile unsigned char *)0x13 //TIM通道狀態控制寄存器1
#define TCH1H *(volatile unsigned char *)0x14 //TIM通道1寄存器(高)
#define TCH1L *(volatile unsigned char *)0x15 //TIM通道1寄存器(低)
#define KBSCR *(volatile unsigned char *)0x16 //鍵盤狀態控制寄存器
#define KBIER *(volatile unsigned char *)0x17 //鍵盤中斷允許寄存器
#define UIR2 *(volatile unsigned char *)0x18 //USB中斷寄存器2
#define UCR2 *(volatile unsigned char *)0x19 //USB控制寄存器2
#define UCR3 *(volatile unsigned char *)0x1A //USB控制寄存器3
#define UCR4 *(volatile unsigned char *)0x1B //USB控制寄存器4
#define IOCR *(volatile unsigned char *)0x1C //IRQ選擇控制寄存器
#define POCR *(volatile unsigned char *)0x1D //端口選擇控制寄存器
#define ISCR *(volatile unsigned char *)0x1E //IRQ狀態控制寄存器
#define CONFIG *(volatile unsigned char *)0x1F
#define UE0D0 *(volatile unsigned char *)0x20 //USB端點0數據寄存器0
#define UE0D1 *(volatile unsigned char *)0x21 //USB端點0數據寄存器1
#define UE0D2 *(volatile unsigned char *)0x22 //USB端點0數據寄存器2
#define UE0D3 *(volatile unsigned char *)0x23 //USB端點0數據寄存器3
#define UE0D4 *(volatile unsigned char *)0x24 //USB端點0數據寄存器4
#define UE0D5 *(volatile unsigned char *)0x25 //USB端點0數據寄存器5
#define UE0D6 *(volatile unsigned char *)0x26 //USB端點0數據寄存器6
#define UE0D7 *(volatile unsigned char *)0x27 //USB端點0數據寄存器7
#define UE1D0 *(volatile unsigned char *)0x28 //USB端點1數據寄存器0
#define UE1D1 *(volatile unsigned char *)0x29 //USB端點1數據寄存器1
#define UE1D2 *(volatile unsigned char *)0x2A //USB端點1數據寄存器2
#define UE1D3 *(volatile unsigned char *)0x2B //USB端點1數據寄存器3
#define UE1D4 *(volatile unsigned char *)0x2C //USB端點1數據寄存器4
#define UE1D5 *(volatile unsigned char *)0x2D //USB端點1數據寄存器5
#define UE1D6 *(volatile unsigned char *)0x2E //USB端點1數據寄存器6
#define UE1D7 *(volatile unsigned char *)0x2F //USB端點1數據寄存器7
#define UE2D0 *(volatile unsigned char *)0x30 //USB端點2數據寄存器0
#define UE2D1 *(volatile unsigned char *)0x31 //USB端點2數據寄存器1
#define UE2D2 *(volatile unsigned char *)0x32 //USB端點2數據寄存器2
#define UE2D3 *(volatile unsigned char *)0x33 //USB端點2數據寄存器3
#define UE2D4 *(volatile unsigned char *)0x34 //USB端點2數據寄存器4
#define UE2D5 *(volatile unsigned char *)0x35 //USB端點2數據寄存器5
#define UE2D6 *(volatile unsigned char *)0x36 //USB端點2數據寄存器6
#define UE2D7 *(volatile unsigned char *)0x37 //USB端點2數據寄存器7
#define UADDR *(volatile unsigned char *)0x38 //USB地址寄存器
#define UIR0 *(volatile unsigned char *)0x39 //USB中斷寄存器0
#define UIR1 *(volatile unsigned char *)0x3A //USB中斷寄存器1
#define UCR0 *(volatile unsigned char *)0x3B //USB控制寄存器0
#define UCR1 *(volatile unsigned char *)0x3C //USB控制寄存器1
#define USR0 *(volatile unsigned char *)0x3D //USB狀態寄存器0
#define USR1 *(volatile unsigned char *)0x3E //USB狀態寄存器1
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -