亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dsp28_sysctrl.h

?? TI公司28XDSP控制永磁同步電機PMSM 系統調試源碼之六
?? H
字號:
//
//      TMDX ALPHA RELEASE
//      Intended for product evaluation purposes
//
//###########################################################################
//
// FILE:	DSP28_SysCtrl.h
//
// TITLE:	DSP28 Device System Control Register Definitions.
//
//###########################################################################
//
//  Ver | dd mmm yyyy | Who  | Description of changes
// =====|=============|======|===============================================
//  0.55| 06 May 2002 | L.H. | EzDSP Alpha Release
//  0.56| 20 May 2002 | L.H. | No change
//  0.57| 27 May 2002 | L.H. | No change
//  0.58| 29 Jun 2002 | L.H. | No change
//  0.59| 14 Oct 2002 | L.H. | Added bit definitions for the PLLCR Register,
//      |             |      | Low power mode LPMCR0 and LPMCR1 registers
//      |             |      | Added the WDINTS bit to the SCSR register
//###########################################################################

#ifndef DSP28_SYS_CTRL_H
#define DSP28_SYS_CTRL_H

//---------------------------------------------------------------------------
// System Control Individual Register Bit Definitions:
//
// High speed peripheral clock register bit definitions:
struct HISPCP_BITS  {   // bits  description
   Uint16 HSPCLK:3;       // 2:0   Rate relative to SYSCLKOUT
   Uint16 rsvd1:13;       // 15:3  reserved
};

union HISPCP_REG {
   Uint16                all;
   struct HISPCP_BITS  bit;
};

// Low speed peripheral clock register bit definitions:
struct LOSPCP_BITS  {   // bits  description
   Uint16 LSPCLK:3;       // 2:0   Rate relative to SYSCLKOUT
   Uint16 rsvd1:13;       // 15:3  reserved
};

union LOSPCP_REG {
   Uint16                all;
   struct LOSPCP_BITS  bit;
};

// Peripheral clock control register bit definitions:
struct PCLKCR_BITS  {   // bits  description
   Uint16 EVAENCLK:1;     // 0     Enable high speed clk to EV-A
   Uint16 EVBENCLK:1;     // 1     Enable high speed clk to EV-B
   Uint16 rsvd1:1;        // 2 
   Uint16 ADCENCLK:1;     // 3     Enable high speed clk to ADC
   Uint16 rsvd2:4;        // 7:4   reserved
   Uint16 SPIENCLK:1;     // 8     Enable low speed clk to SPI
   Uint16 rsvd3:1;        // 9     reserved
   Uint16 SCIENCLKA:1;    // 10    Enable low speed clk to SCI-A
   Uint16 SCIENCLKB:1;    // 11    Enable low speed clk to SCI-B
   Uint16 MCBSPENCLK:1;   // 12    Enable low speed clk to McBSP
   Uint16 rsvd4:1;        // 13    reserved
   Uint16 ECANENCLK:1;    // 14    Enable system clk to eCAN
};

union PCLKCR_REG {
   Uint16                all;
   struct PCLKCR_BITS  bit;
};   

// System control and status register bit definitions:
struct SCSR_BITS {      // bits  description
   Uint16 WDOVERRIDE:1;   // 0     Allow watchdog disable
   Uint16 WDENINT:1;      // 1     Enable/disable WD interrupt
   Uint16 WDINTS:1;       // 2     WD interrupt status bit
   Uint16 rsvd1:13;       // 15:3  reserved
};

union SCSR_REG {
   Uint16              all;
   struct SCSR_BITS  bit;
};


// PLL control register bit definitions:
struct PLLCR_BITS {      // bits  description
   Uint16 DIV:4;         // 3:0   Set clock ratio for the PLL
   Uint16 rsvd1:12;      // 15:4  reserved
};

union PLLCR_REG {
   Uint16             all;
   struct PLLCR_BITS  bit;
};

// Low Power Mode 0 control register bit definitions:
struct LPMCR0_BITS {     // bits  description
   Uint16 LPM:2;         // 1:0   Set the low power mode
   Uint16 QUALSTDBY:6;   // 7:2   Qualification   
   Uint16 rsvd1:8;       // 15:8  reserved
};

union LPMCR0_REG {
   Uint16              all;
   struct LPMCR0_BITS  bit;
};

// Low Power Mode 1 control register bit definitions:
struct LPMCR1_BITS {     // bits  description
   Uint16 XINT1:1;       // 0
   Uint16 XNMI:1;        // 1   
   Uint16 WDINT:1;       // 2
   Uint16 T1CTRIP:1;     // 3
   Uint16 T2CTRIP:1;     // 4
   Uint16 T3CTRIP:1;     // 5
   Uint16 T4CTRIP:1;     // 6
   Uint16 C1TRIP:1;      // 7
   Uint16 C2TRIP:1;      // 8
   Uint16 C3TRIP:1;      // 9
   Uint16 C4TRIP:1;      // 10
   Uint16 C5TRIP:1;      // 11
   Uint16 C6TRIP:1;      // 12
   Uint16 SCIRXA:1;      // 13
   Uint16 SCIRXB:1;      // 14
   Uint16 CANRX:1;       // 15   
};

union LPMCR1_REG {
   Uint16              all;
   struct LPMCR1_BITS  bit;
};

//---------------------------------------------------------------------------
// System Control Register File:
//
struct SYS_CTRL_REGS {
   Uint16  rsvd1[10];            // 0-9
   union HISPCP_REG HISPCP;      // 10: High-speed peripheral clock pre-scaler
   union LOSPCP_REG LOSPCP;      // 11: Low-speed peripheral clock pre-scaler
   union PCLKCR_REG PCLKCR;      // 12: Peripheral clock control register
   Uint16  rsvd2;                // 13
   union LPMCR0_REG LPMCR0;      // 14: Low-power mode control register 0
   union LPMCR1_REG LPMCR1;      // 15: Low-power mode control register 1
   Uint16  rsvd3;                // 16
   union PLLCR_REG PLLCR;        // 17: PLL control register
   union SCSR_REG SCSR;          // 18: System control and status register
   Uint16  WDCNTR;               // 19: WD counter register
   Uint16  rsvd4;                // 20
   Uint16  WDKEY;                // 21: WD reset key register
   Uint16  rsvd5[3];             // 22-24
   
   // No bit definitions are defined for WDCR because
   // the proper value must be written to the WDCHK field
   // whenever writing to this register. 
   Uint16  WDCR;                 // 25: WD timer control register
   Uint16  rsvd6[6];             // 26-31
};


/* --------------------------------------------------- */
/* CSM Registers                                       */
/*                                                     */
/* ----------------------------------------------------*/

/* CSM Status & Control register bit definitions */
struct  CSMSCR_BITS {      // bit   description
   Uint16     SECURE:1;    // 0     Secure flag
   Uint16     rsvd1:14;    // 14-1  reserved
   Uint16     FORCESEC:1;  // 15    Force Secure control bit

}; 

/* Allow access to the bit fields or entire register */
union CSMSCR_REG {
   Uint16       all;
   struct CSMSCR_BITS bit;
};

/* CSM Register File */ 
struct  CSM_REGS {      
   Uint16         KEY0;       // KEY reg bits 15-0 
   Uint16         KEY1;       // KEY reg bits 31-16 
   Uint16         KEY2;       // KEY reg bits 47-32
   Uint16         KEY3;       // KEY reg bits 63-48
   Uint16         KEY4;       // KEY reg bits 79-64
   Uint16         KEY5;       // KEY reg bits 95-80
   Uint16         KEY6;       // KEY reg bits 111-96
   Uint16         KEY7;       // KEY reg bits 127-112
   Uint16         rsvd1;      // reserved
   Uint16         rsvd2;      // reserved
   Uint16         rsvd3;      // reserved
   Uint16         rsvd4;      // reserved
   Uint16         rsvd5;      // reserved
   Uint16         rsvd6;      // reserved
   Uint16         rsvd7;      // reserved 
   union CSMSCR_REG CSMSCR;     // CSM Status & Control register
};

/* Password locations */
struct  CSM_PWL {
   Uint16         PSWD0;      // PSWD bits 15-0
   Uint16         PSWD1;      // PSWD bits 31-16
   Uint16         PSWD2;      // PSWD bits 47-32
   Uint16         PSWD3;      // PSWD bits 63-48
   Uint16         PSWD4;      // PSWD bits 79-64
   Uint16         PSWD5;      // PSWD bits 95-80
   Uint16         PSWD6;      // PSWD bits 111-96
   Uint16         PSWD7;      // PSWD bits 127-112
};



/* Flash Registers */

#define FLASH_SLEEP   0x0000;
#define FLASH_STANDBY 0x0001;
#define FLASH_ACTIVE  0x0003;


/* Flash Option Register bit definitions */
struct  FOPT_BITS {             // bit   description
   Uint16     ENPIPE:1;   // 0     Enable Pipeline Mode
   Uint16     rsvd:15;    // 1-15  reserved
};

/* Allow access to the bit fields or entire register */
union FOPT_REG {
   Uint16     all;
   struct FOPT_BITS bit;
};

/* Flash Power Modes Register bit definitions */
struct  FPWR_BITS {             // bit   description
   Uint16     PWR:2;      // 0-1   Power Mode bits
   Uint16     rsvd:14;    // 2-15  reserved
};

/* Allow access to the bit fields or entire register */
union FPWR_REG {
   Uint16     all;
   struct FPWR_BITS bit;
};


/* Flash Status Register bit definitions */
struct  FSTATUS_BITS {             // bit   description
   Uint16     PWRS:2;        // 0-1   Power Mode Status bits
   Uint16     STDBYWAITS:1;  // 2     Bank/Pump Sleep to Standby Wait Counter Status bits
   Uint16     ACTIVEWAITS:1; // 3     Bank/Pump Standby to Active Wait Counter Status bits
   Uint16     rsvd1:4;       // 4-7   reserved
   Uint16     V3STAT:1;      // 8     VDD3V Status Latch bit
   Uint16     rsvd2:7;       // 9-15  reserved
};

/* Allow access to the bit fields or entire register */
union FSTATUS_REG {
   Uint16        all;
   struct FSTATUS_BITS bit;
};

/* Flash Sleep to Standby Wait Counter Register bit definitions */
struct  FSTDBYWAIT_BITS {          // bit   description
   Uint16     STDBYWAIT:8;   // 0-7   Bank/Pump Sleep to Standby Wait Count bits
   Uint16     rsvd:8;        // 8-15  reserved
};

/* Allow access to the bit fields or entire register */
union FSTDBYWAIT_REG {
   Uint16           all;
   struct FSTDBYWAIT_BITS bit;
};

/* Flash Standby to Active Wait Counter Register bit definitions */
struct  FACTIVEWAIT_BITS {         // bit   description
   Uint16     ACTIVEWAIT:8;  // 0-7   Bank/Pump Standby to Active Wait Count bits
   Uint16     rsvd:8;        // 8-15  reserved
};

/* Allow access to the bit fields or entire register */
union FACTIVEWAIT_REG {
   Uint16            all;
   struct FACTIVEWAIT_BITS bit;
};

/* Bank Read Access Wait State Register bit definitions */
struct  FBANKWAIT_BITS {           // bit   description
   Uint16     RANDWAIT:4;    // 0-3   Flash Random Read Wait State bits
   Uint16     rsvd1:4;       // 4-7   reserved
   Uint16     PAGEWAIT:4;    // 8-11  Flash Paged Read Wait State bits
   Uint16     rsvd2:4;       // 12-15 reserved
};

/* Allow access to the bit fields or entire register */
union FBANKWAIT_REG {
   Uint16          all;
   struct FBANKWAIT_BITS bit;
};

/* OTP Read Access Wait State Register bit definitions */
struct  FOTPWAIT_BITS {            // bit   description
   Uint16     OPTWAIT:5;     // 0-4   OTP Read Wait State bits
   Uint16     rsvd:11;       // 5-15  reserved
};

/* Allow access to the bit fields or entire register */
union FOTPWAIT_REG {
   Uint16         all;
   struct FOTPWAIT_BITS bit;
};


struct FLASH_REGS {
   union FOPT_REG        FOPT;        // Option Register
   Uint16 rsvd1;                      // reserved
   union FPWR_REG        FPWR;        // Power Modes Register
   union FSTATUS_REG     FSTATUS;     // Status Register
   union FSTDBYWAIT_REG  FSTDBYWAIT;  // Pump/Bank Sleep to Standby Wait State Register
   union FACTIVEWAIT_REG FACTIVEWAIT; // Pump/Bank Standby to Active Wait State Register
   union FBANKWAIT_REG   FBANKWAIT;   // Bank Read Access Wait State Register
   union FOTPWAIT_REG    FOTPWAIT;    // OTP Read Access Wait State Register
};

//---------------------------------------------------------------------------
// System Control External References & Function Declarations:
//
extern volatile struct SYS_CTRL_REGS SysCtrlRegs;
extern volatile struct CSM_REGS CsmRegs;
extern volatile struct CSM_PWL CsmPwl;
extern volatile struct FLASH_REGS FlashRegs;

#endif  // end of DSP28_SYS_CTRL_H definition

//===========================================================================
// No more.
//===========================================================================

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区不卡在线| 美女一区二区三区| 国产精品自拍毛片| 欧美二区乱c少妇| 国产精品国产三级国产aⅴ中文 | 久久在线观看免费| 午夜欧美大尺度福利影院在线看| 风间由美中文字幕在线看视频国产欧美| 在线视频你懂得一区| 国产精品无码永久免费888| 日本女人一区二区三区| 欧洲精品一区二区三区在线观看| 欧美激情一区在线观看| 青青草国产成人av片免费| 在线观看日韩毛片| 中文字幕视频一区二区三区久| 精品影院一区二区久久久| 欧美色视频一区| 亚洲精品视频在线| 成人精品免费看| 精品国产一二三区| 免费成人美女在线观看| 欧美视频精品在线| 亚洲精品日韩专区silk| 不卡在线观看av| 国产精品婷婷午夜在线观看| 极品少妇一区二区| 欧美mv日韩mv国产| 美女网站色91| 日韩女优电影在线观看| 欧美aaaaaa午夜精品| 91精品午夜视频| 日韩不卡一二三区| 亚洲精品少妇30p| 99久久精品国产麻豆演员表| 国产精品乱人伦| 国产乱码精品一区二区三区av | 国产色婷婷亚洲99精品小说| 久久电影网站中文字幕| 欧美另类高清zo欧美| 亚洲永久精品国产| 91国产丝袜在线播放| 一区二区三区四区中文字幕| 91在线视频免费91| 亚洲精品一二三四区| 91国在线观看| 亚洲电影欧美电影有声小说| 91黄色免费网站| 午夜免费欧美电影| 91 com成人网| 久久国产免费看| 国产日韩欧美精品在线| 成人短视频下载 | 欧美一二三四在线| 青椒成人免费视频| 亚洲精品一区二区精华| 国产乱码字幕精品高清av| 欧美国产一区在线| 不卡视频在线观看| 一区二区三区欧美日| 欧美色电影在线| 亚洲成人一区二区| 日韩美女天天操| 国产成人av电影免费在线观看| 亚洲国产精华液网站w| av成人免费在线| 亚洲一区二区黄色| 欧美一级欧美一级在线播放| 久久99国产精品久久99果冻传媒| 久久精品这里都是精品| 99久久精品99国产精品| 亚洲国产视频一区二区| 欧美哺乳videos| 成人app下载| 香蕉成人啪国产精品视频综合网| 亚欧色一区w666天堂| 日韩女优av电影| 99视频在线观看一区三区| 亚洲高清视频的网址| 欧美不卡123| 不卡在线视频中文字幕| 性久久久久久久| 久久久久国产精品厨房| 色综合久久久久久久久| 美女看a上一区| 亚洲欧洲色图综合| 欧美一区二区在线观看| 粉嫩av一区二区三区| 亚洲小说欧美激情另类| 久久伊人中文字幕| 91福利在线观看| 国模套图日韩精品一区二区| 亚洲欧洲综合另类| 日韩免费成人网| 日本精品一区二区三区四区的功能| 另类小说视频一区二区| 亚洲视频一区二区免费在线观看| 日韩一区二区不卡| av电影一区二区| 免费成人在线影院| 一区二区三区四区视频精品免费| 欧美成人性福生活免费看| 色诱亚洲精品久久久久久| 精品亚洲成a人在线观看| 亚洲一二三四久久| 国产精品免费视频一区| 91精品国产欧美日韩| 成人av综合在线| 日韩av在线播放中文字幕| 成人欧美一区二区三区黑人麻豆| 日韩欧美在线网站| youjizz国产精品| 激情小说欧美图片| 亚洲成av人片在线观看无码| 国产精品美女久久久久aⅴ国产馆| 3751色影院一区二区三区| av毛片久久久久**hd| 国产在线精品不卡| 午夜精品国产更新| 亚洲天堂福利av| 欧美mv日韩mv国产| 欧美精品久久99久久在免费线| av一本久道久久综合久久鬼色| 久久er99精品| 日产精品久久久久久久性色| 亚洲美女免费视频| 国产精品三级在线观看| 日韩av电影免费观看高清完整版 | 91精品国产综合久久久蜜臀图片 | 国产一区二区三区香蕉| 日韩av在线免费观看不卡| 亚洲精品视频观看| 亚洲天堂av一区| 国产日产欧产精品推荐色| 日韩视频一区二区在线观看| 欧美日韩综合不卡| 欧美伊人久久大香线蕉综合69| 成人激情电影免费在线观看| 国模冰冰炮一区二区| 麻豆免费看一区二区三区| 午夜国产不卡在线观看视频| 一区二区三区成人| 一区二区三区在线播放| 依依成人综合视频| 中文字幕一区二区三区不卡在线| 国产欧美日韩卡一| 国产亚洲欧洲一区高清在线观看| 精品区一区二区| 精品久久久久久久一区二区蜜臀| 日韩欧美一区二区三区在线| 91精品国产综合久久精品图片| 欧美三级视频在线播放| 欧美日韩国产精品自在自线| 欧美在线短视频| 欧美综合欧美视频| 欧美日韩一区二区三区四区五区| 欧美日韩在线播放| 3d成人动漫网站| 欧美tk—视频vk| 精品国产亚洲在线| 国产人成亚洲第一网站在线播放 | 91精品国产全国免费观看| 欧美猛男男办公室激情| 欧美人狂配大交3d怪物一区| 欧美精品日日鲁夜夜添| 欧美一区二区三区四区在线观看| 91精品国产综合久久国产大片| 日韩欧美电影在线| 久久综合久久99| 国产精品色哟哟| 亚洲免费观看在线视频| 亚洲一区在线观看免费| 天堂久久一区二区三区| 久久丁香综合五月国产三级网站| 国产在线播放一区三区四| 国产不卡一区视频| 91老师国产黑色丝袜在线| 91高清在线观看| 91麻豆精品国产91久久久资源速度 | 91免费看`日韩一区二区| 99精品一区二区三区| 欧美在线一二三四区| 欧美日韩mp4| 2020国产精品| 国产精品久久久久久久久免费桃花 | 日韩精品一区二区三区在线观看 | 91精品国产欧美一区二区| 亚洲精品在线三区| 一色桃子久久精品亚洲| 亚洲午夜在线视频| 精品写真视频在线观看| 成人99免费视频| 欧美午夜精品一区二区蜜桃| 日韩欧美国产综合在线一区二区三区| 久久久夜色精品亚洲| 亚洲免费电影在线| 蜜臀久久99精品久久久久宅男 | 国产传媒久久文化传媒| 91蜜桃免费观看视频| 欧美美女黄视频|