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

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

?? dsp281x_sysctrl.h

?? 伺服電機驅動 PWM調速 基于DSP281
?? H
字號:
//###########################################################################
//
// FILE:   DSP281x_SysCtrl.h
//
// TITLE:  DSP281x Device System Control Register Definitions.
//
//###########################################################################
//
//  Ver | dd mmm yyyy | Who  | Description of changes
// =====|=============|======|===============================================
//  1.00| 11 Sep 2003 | L.H. | Changes since previous version (v.58 Alpha)
//      |             |      | Added bit definitions for the PLLCR register,
//      |             |      | Low power mode LPMCR0 and LPMCR1 registers
//      |             |      | Corrected OTPWAIT bit field name in FOTPWAIT
//      |             |      | Changed SCIENCLKA to SCIAENCLK and SCIENCLKB to
//      |             |      |    SCIBENCLK to match documentation
//      |             |      | Removed bit definition for SCSR register.  This
//      |             |      |    register should only be written to using a
//      |             |      |    mask value else a read-modify-write will clear
//      |             |      |    the WDOVERRIDE bit. 
//###########################################################################

#ifndef DSP281x_SYS_CTRL_H
#define DSP281x_SYS_CTRL_H


#ifdef __cplusplus
extern "C" {
#endif


//---------------------------------------------------------------------------
// 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 SCIAENCLK:1;  // 10    Enable low speed clk to SCI-A
   Uint16 SCIBENCLK: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;
};   

// 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     Enable XINT1 to wake the device from standby
   Uint16 XNMI:1;        // 1     Enable XMNI to wake the device from standby
   Uint16 WDINT:1;       // 2     Enable watchdog interrupt to wake the device from standby
   Uint16 T1CTRIP:1;     // 3     Enable T1CTRIP to wake the device from standby
   Uint16 T2CTRIP:1;     // 4     Enable T2CTRIP to wake the device from standby
   Uint16 T3CTRIP:1;     // 5     Enable T3CTRIP to wake the device from standby
   Uint16 T4CTRIP:1;     // 6     Enable T4CTRIP to wake the device from standby
   Uint16 C1TRIP:1;      // 7     Enable C1TRIP to wake the device from standby
   Uint16 C2TRIP:1;      // 8     Enable C2TRIP to wake the device from standby
   Uint16 C3TRIP:1;      // 9     Enable C3TRIP to wake the device from standby
   Uint16 C4TRIP:1;      // 10    Enable C4TRIP to wake the device from standby
   Uint16 C5TRIP:1;      // 11    Enable C5TRIP to wake the device from standby
   Uint16 C6TRIP:1;      // 12    Enable C6TRIP to wake the device from standby
   Uint16 SCIRXA:1;      // 13    Enable SCIRXA to wake the device from standby
   Uint16 SCIRXB:1;      // 14    Enable SCIRXB to wake the device from standby
   Uint16 CANRX:1;       // 15    Enable CANRX to wake the device from standby
};

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: reserved
   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: reserved
   union   PLLCR_REG  PLLCR;     // 17: PLL control register
   // No bit definitions are defined for SCSR because
   // a read-modify-write instruction can clear the WDOVERRIDE bit
   Uint16             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     OTPWAIT: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;


#ifdef __cplusplus
}
#endif /* extern "C" */

#endif  // end of DSP281x_SYS_CTRL_H definition

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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
不卡视频免费播放| 中文av一区二区| 日本亚洲免费观看| 欧美一区二区三区免费| 男女男精品视频| 欧美成人精精品一区二区频| 狠狠色丁香婷婷综合| 久久久影视传媒| a在线欧美一区| 亚洲自拍偷拍图区| 欧美成人一区二区三区片免费 | 欧美日本精品一区二区三区| 日本午夜一本久久久综合| 欧美不卡视频一区| 丁香婷婷综合五月| 亚洲制服欧美中文字幕中文字幕| 欧美人牲a欧美精品| 极品瑜伽女神91| 国产精品二三区| 欧美色成人综合| 国内精品免费**视频| 亚洲欧洲日本在线| 欧美一区二区在线不卡| 国产成人精品www牛牛影视| 亚洲国产一区二区三区青草影视| 日韩欧美一区二区在线视频| 懂色av噜噜一区二区三区av| 亚洲va韩国va欧美va精品| 久久综合九色综合97婷婷女人 | 国产成人福利片| 亚洲成人av福利| 久久精品视频一区二区三区| 欧美亚洲日本一区| 国产麻豆成人精品| 亚洲成在人线在线播放| 国产欧美日韩三区| 91精品国产一区二区三区| 成人综合婷婷国产精品久久蜜臀| 婷婷亚洲久悠悠色悠在线播放| 国产精品欧美精品| 日韩一级免费观看| 日本丶国产丶欧美色综合| 国产一区二区三区日韩| 午夜成人免费视频| 亚洲欧美综合色| 欧美精品一区二区三区在线播放| 97久久精品人人爽人人爽蜜臀 | 国产福利91精品一区| 一区二区三区精品在线| 国产精品欧美一区喷水| 精品少妇一区二区三区免费观看| 色94色欧美sute亚洲线路一ni| 久久国产精品99久久久久久老狼| 亚洲视频在线观看一区| 久久精品欧美一区二区三区不卡| 8x8x8国产精品| 在线亚洲欧美专区二区| a美女胸又www黄视频久久| 国产精品一区二区在线播放| 老司机精品视频线观看86| 午夜视频一区二区| 亚洲精品中文在线观看| 国产精品久久久一本精品| 国产性色一区二区| 国产喷白浆一区二区三区| 欧美mv和日韩mv国产网站| 欧美一级精品在线| 欧美一级日韩一级| 欧美一区二区黄| 欧美一三区三区四区免费在线看| 欧美欧美欧美欧美首页| 欧美日韩不卡一区二区| 欧美日本在线视频| 91麻豆精品国产91久久久久久| 欧美性做爰猛烈叫床潮| 欧美无砖砖区免费| 欧美高清视频一二三区| 欧美精品色综合| 欧美一区二区三区精品| 精品国产一区二区三区四区四| 精品国产亚洲在线| 2欧美一区二区三区在线观看视频| 欧美v国产在线一区二区三区| 日韩午夜中文字幕| 精品国产91亚洲一区二区三区婷婷| 欧美mv日韩mv| 日本一区二区三区久久久久久久久不 | 激情欧美一区二区三区在线观看| 久久国产精品色| 欧美日本在线播放| 欧美一区二区三区四区高清| 日韩欧美激情在线| 久久久久久久电影| 国产精品每日更新在线播放网址| 国产精品乱码久久久久久| 18欧美亚洲精品| 一区二区三区在线免费观看| 同产精品九九九| 国产麻豆精品在线观看| 97精品久久久午夜一区二区三区 | 成人三级在线视频| 91行情网站电视在线观看高清版| 欧美美女直播网站| 日韩你懂的在线观看| 久久九九影视网| 亚洲免费大片在线观看| 日日夜夜精品视频免费| 激情综合网最新| 成人av电影在线| 91精品国产黑色紧身裤美女| 久久精品日韩一区二区三区| 樱桃视频在线观看一区| 裸体健美xxxx欧美裸体表演| 韩国成人精品a∨在线观看| 色综合久久中文字幕| 日韩一级片网址| 亚洲欧美在线另类| 麻豆视频观看网址久久| 成人sese在线| 日韩欧美一区在线| 亚洲图片欧美激情| 韩国成人在线视频| 精品视频在线免费| 欧美激情资源网| 青娱乐精品视频| 色综合久久久久综合99| 欧美videofree性高清杂交| 亚洲男人电影天堂| 激情综合色播激情啊| 欧美怡红院视频| 国产精品午夜久久| 九九精品视频在线看| 在线观看区一区二| 亚洲国产激情av| 麻豆专区一区二区三区四区五区| 成人va在线观看| 337p日本欧洲亚洲大胆精品| 视频在线在亚洲| 色综合亚洲欧洲| 国产精品私房写真福利视频| 卡一卡二国产精品| 欧美优质美女网站| 国产精品成人在线观看| 在线不卡免费欧美| 国产精品国产精品国产专区不蜜| 麻豆国产欧美日韩综合精品二区 | 国产成人av影院| 欧美精品一区二区三区很污很色的 | 国产视频911| 久久精品久久久精品美女| 在线观看视频一区| 国产精品久久久久久久久免费樱桃| 精品一区二区免费视频| 欧美日韩免费观看一区三区| 一区二区三区加勒比av| 色综合天天综合网天天看片| 国产精品久久三| hitomi一区二区三区精品| 欧美激情在线免费观看| 国产成人免费9x9x人网站视频| 精品三级av在线| 激情欧美一区二区三区在线观看| 日韩一级片在线播放| 另类小说色综合网站| 91精品蜜臀在线一区尤物| 天堂va蜜桃一区二区三区 | 精品一区二区免费| 精品日本一线二线三线不卡| 免费精品视频最新在线| 日韩一区二区影院| 日本在线不卡一区| 欧美一卡2卡三卡4卡5免费| 日本成人在线不卡视频| 日韩一区二区三区四区五区六区| 日本亚洲免费观看| 精品国产髙清在线看国产毛片| 久久精品99国产精品| 精品成人在线观看| 国产精品一二三四| 国产精品人成在线观看免费| 99精品久久只有精品| 一区二区国产视频| 欧美日韩一二三区| 免播放器亚洲一区| 久久一区二区三区国产精品| 成人综合在线观看| 亚洲欧美视频一区| 欧美乱妇23p| 另类综合日韩欧美亚洲| 欧美精品一区视频| 99九九99九九九视频精品| 亚洲精品第1页| 91精品久久久久久久99蜜桃| 久久er精品视频| 国产精品麻豆一区二区| 欧美日韩国产在线观看| 激情欧美一区二区三区在线观看| 国产精品视频一区二区三区不卡| 欧美天天综合网| 国产一区视频在线看|