欢迎来到天天文库
浏览记录
ID:17565080
大小:34.00 KB
页数:9页
时间:2018-09-03
《ti c2000系列的头文件直接调用 汇编头文件》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、TIC2000系列的头文件直接调用;*************************************************************; File Name: x24x.h; Description: x24x Peripheral Registers + other useful definitions; Target: x240/3, x/2407;====================================================================
2、;; Select the target device by setting 1;--------------------------------------------------------------x240 .set 0 ; C/F240x243 .set 1 ; C/F243x2407 .set 0 ; F2407;For F2407EVM only;Select PLL multiplication ratiox2_PLL .set 1x4_PLL .set 0;--------------------------
3、------------------------------------; On Chip Periperal Register Definitions;--------------------------------------------------------------;C2xx Core RegistersIMR .set 0004h ; Int MaskGREG .set 0005h ; Global memory allocationIFR .set 0006h ; Int FlagABRPT .set
4、01fh ; Analysis BreakPointWSGR .set 0FFFFh ; Wait State Control (IO space mapped);System Module RegistersPIRQR0 .set 7010h ; Peripheral Interrupt Request Reg0(241/2/3,240x only)PIRQR1 .set 7011h ; Peripheral Interrupt Request Reg1(241/2/3,240x only)PIRQR2 .set
5、 7012h ; Peripheral Interrupt Request Reg2(240x)SYSCR .set 7018h ; System Control (X240 only)SYSSR .set 701Ah ; System Status (X240 only)SYSIVR .set 701Eh ; System Int Vector (X240 only)SSCR .set 7018h ; System Stat & Contr (X241/2/3 only)PIVR .set 701Eh ;
6、 Periph Int Vector (X241/2/3 only)SCSR1 .set 07018h ; System contr & stat 1 (240x only)SCSR2 .set 07019h ; System contr & stat 2 (240x only)DIN .set 0701Ch ; Device Identification Register; External interrupt configuration registersXINT1CR240 .set 70
7、70h ; Int1 (type A) config (X240 only)XINT2CR240 .set 7078h ; Int2 (type C) config (X240 only)XINT3CR240 .set 707Ah ; Int3 (type C) config (X240 only)NMICR .set 7072h ; NMI (type A) config (X240 only)XINT1CR .set 7070h ; Int1 config. X241/2/3, (X240x only)XI
8、NT2CR .set 7071h ; Int2 config. X241/2/3, (X240x only)XINT1_CNTL .set 07070h ;Int1 (type A) Control regNMI_CNTL
此文档下载收益归作者所有