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

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

?? dsp280x_sysctrl.h

?? 基于TMS320F2812的數字電源的c源程序2
?? H
字號:
// TI File $Revision: /main/3 $
// Checkin $Date: September 8, 2005   14:50:32 $
//###########################################################################
//
// FILE:   DSP280x_SysCtrl.h
//
// TITLE:  DSP280x Device System Control Register Definitions.
//
//###########################################################################
// $TI Release: DSP280x, DSP2801x Header Files V1.41 $
// $Release Date: August 7th, 2006 $
//###########################################################################

#ifndef DSP280x_SYS_CTRL_H
#define DSP280x_SYS_CTRL_H


#ifdef __cplusplus
extern "C" {
#endif


//---------------------------------------------------------------------------
// System Control Individual Register Bit Definitions:
//

// XCLKOUT Control
struct XCLK_BITS   {    // bits  description
   Uint16 XCLKOUTDIV:2; // 1:0   XCLKOUT Divide Ratio
   Uint16 XCLKOUTDAT:1; // 2     Status of XCLKOUT
   Uint16 X1DAT:1;      // 3     Output of the oscillator cell
   Uint16 XCLKINDAT:1;  // 4     Status of the XCLKIN pin
   Uint16 rsvd1:3;      // 7:5   reserved
   Uint16 X1CNT:4;      // 11:8  4-bit counter
   Uint16 XCLKINCNT:4;  // 15:12 4-bit counter
};

union XCLK_REG {
   Uint16              all;
   struct XCLK_BITS    bit;
};

// PLL Status Register
struct PLLSTS_BITS   {    // bits  description
   Uint16 PLLLOCKS:1;     // 0     PLL lock status
   Uint16 CLKINDIV:1;     // 1     CLKIN div by 2
   Uint16 PLLOFF:1;       // 2     PLL off bit
   Uint16 MCLKSTS:1;      // 3     Missing clock status bit
   Uint16 MCLKCLR:1;      // 4     Missing clock clear bit
   Uint16 OSCOFF:1;       // 5     Oscillator clock off
   Uint16 MCLKOFF:1;      // 6     Missing clock detect
   Uint16 rsvd2:9;        // 15:7  reserved
};
   
union PLLSTS_REG {
   Uint16              all;
   struct PLLSTS_BITS  bit;
};   

// 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 0 bit definitions:
struct PCLKCR0_BITS  {  // bits  description
   Uint16 rsvd1:2;      // 1:0   reserved
   Uint16 TBCLKSYNC:1;  // 2     EWPM Module TBCLK enable/sync 
   Uint16 ADCENCLK:1;   // 3     Enable high speed clk to ADC
   Uint16 I2CAENCLK:1;  // 4     Enable SYSCLKOUT to I2C-A
   Uint16 rsvd2:1;      // 5     reserved
   Uint16 SPICENCLK:1;  // 6     Enable low speed clk to SPI-C
   Uint16 SPIDENCLK:1;  // 7     Enable low speed clk to SPI-D
   Uint16 SPIAENCLK:1;  // 8     Enable low speed clk to SPI-A
   Uint16 SPIBENCLK:1;  // 9     Enable low speed clk to SPI-B   
   Uint16 SCIAENCLK:1;  // 10    Enable low speed clk to SCI-A
   Uint16 SCIBENCLK:1;  // 11    Enable low speed clk to SCI-B
   Uint16 rsvd3:2;      // 13:12 reserved
   Uint16 ECANAENCLK:1; // 14    Enable system clk to eCAN-A
   Uint16 ECANBENCLK:1; // 15    Enable system clk to eCAN-B
};

union PCLKCR0_REG {
   Uint16              all;
   struct PCLKCR0_BITS bit;
};   

// Peripheral clock control register 1 bit definitions:
struct PCLKCR1_BITS  {    // bits  description
   Uint16 EPWM1ENCLK:1;   // 0     Enable SYSCLKOUT to EPWM1
   Uint16 EPWM2ENCLK:1;   // 1     Enable SYSCLKOUT to EPWM2
   Uint16 EPWM3ENCLK:1;   // 2     Enable SYSCLKOUT to EPWM3
   Uint16 EPWM4ENCLK:1;   // 3     Enable SYSCLKOUT to EPWM4
   Uint16 EPWM5ENCLK:1;   // 4     Enable SYSCLKOUT to EPWM5
   Uint16 EPWM6ENCLK:1;   // 5     Enable SYSCLKOUT to EPWM6               
   Uint16 rsvd1:2;        // 7:6   reserved
   Uint16 ECAP1ENCLK:1;   // 8     Enable SYSCLKOUT to ECAP1   
   Uint16 ECAP2ENCLK:1;   // 9     Enable SYSCLKOUT to ECAP2   
   Uint16 ECAP3ENCLK:1;   // 10    Enable SYSCLKOUT to ECAP3   
   Uint16 ECAP4ENCLK:1;   // 11    Enable SYSCLKOUT to ECAP4   
   Uint16 rsvd2:2;        // 13:12 reserved
   Uint16 EQEP1ENCLK:1;   // 11    Enable SYSCLKOUT to EQEP1      
   Uint16 EQEP2ENCLK:1;   // 11    Enable SYSCLKOUT to EQEP2         
};

union PCLKCR1_REG {
   Uint16              all;
   struct PCLKCR1_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:7;       // 14:8  reserved
   Uint16 WDINTE:1;      // 15    Enables WD to wake the device from STANDBY
};

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

//---------------------------------------------------------------------------
// System Control Register File:
//
struct SYS_CTRL_REGS {
   union   XCLK_REG    XCLK;      // 0
   union   PLLSTS_REG  PLLSTS;    // 1
   Uint16              rsvd1[8];  // 2-9
   union   HISPCP_REG  HISPCP;    // 10: High-speed peripheral clock pre-scaler
   union   LOSPCP_REG  LOSPCP;    // 11: Low-speed peripheral clock pre-scaler
   union   PCLKCR0_REG PCLKCR0;   // 12: Peripheral clock control register
   union   PCLKCR1_REG PCLKCR1;   // 13: Peripheral clock control register
   union   LPMCR0_REG  LPMCR0;    // 14: Low-power mode control register 0
   Uint16              rsvd2;     // 15: reserved
   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:9;   // 0-8   Bank/Pump Sleep to Standby Wait Count bits
   Uint16     rsvd:7;        // 9-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:9;  // 0-8   Bank/Pump Standby to Active Wait Count bits
   Uint16     rsvd:7;        // 9-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 DSP280x_SYS_CTRL_H definition

//===========================================================================
// End of file.
//===========================================================================

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一区二区三免费高清| 国产精品亚洲午夜一区二区三区| 色婷婷久久综合| 亚洲女人的天堂| 欧美日韩一区久久| 久久精品国内一区二区三区| 久久精品一区二区三区av| 国产福利视频一区二区三区| 中文成人综合网| 91论坛在线播放| 日韩av电影天堂| 欧美精品一区二区三区很污很色的 | 亚洲aaa精品| 欧美一卡二卡在线观看| 国产黄色精品网站| 亚洲欧美另类小说视频| 欧美日韩国产高清一区二区三区| 日本午夜一区二区| 久久久精品人体av艺术| www.日韩av| 日本欧洲一区二区| 中文在线一区二区 | 欧美一级黄色录像| 国产成人免费在线观看| 一区二区三区在线观看视频| 日韩欧美高清dvd碟片| 成人免费观看男女羞羞视频| 亚洲午夜日本在线观看| 精品不卡在线视频| 色av成人天堂桃色av| 麻豆久久久久久| 亚洲欧美另类小说视频| 欧美mv和日韩mv国产网站| 高清在线不卡av| 三级精品在线观看| 国产拍欧美日韩视频二区| 欧美喷潮久久久xxxxx| 国产盗摄一区二区| 日韩精品电影在线观看| 亚洲欧洲国产专区| 精品国产乱码久久久久久1区2区| 91视视频在线观看入口直接观看www| 蜜臀99久久精品久久久久久软件| 亚洲免费观看在线观看| 久久丝袜美腿综合| 日韩一级黄色大片| 色妞www精品视频| 国产激情视频一区二区在线观看| 亚洲福中文字幕伊人影院| 国产精品乱码妇女bbbb| 精品日韩一区二区| 欧美日免费三级在线| 97久久超碰国产精品| 国产一区免费电影| 日本在线不卡视频| 亚洲高清免费观看高清完整版在线观看 | 日韩欧美一区在线| 在线观看成人小视频| 99久久综合国产精品| 国产在线日韩欧美| 七七婷婷婷婷精品国产| 亚洲超丰满肉感bbw| 亚洲视频一区二区在线观看| 国产情人综合久久777777| 日韩欧美成人激情| 91精品在线免费| 欧美最猛黑人xxxxx猛交| 91色.com| 一本久道中文字幕精品亚洲嫩| 成人av网址在线| 国产福利91精品一区| 国产精品亚洲一区二区三区在线| 狠狠色狠狠色综合日日91app| 毛片av一区二区三区| 奇米色777欧美一区二区| 日本不卡一区二区三区| 秋霞午夜鲁丝一区二区老狼| 日韩精品亚洲一区| 麻豆国产欧美一区二区三区| 蜜桃一区二区三区在线观看| 久久99久久久欧美国产| 精品在线观看免费| 国产美女在线观看一区| 国产不卡视频一区二区三区| 成人av资源在线观看| av在线播放成人| 91精品福利视频| 精品视频一区三区九区| 日韩亚洲欧美一区| 久久久久久夜精品精品免费| 国产精品热久久久久夜色精品三区| 国产精品丝袜在线| 亚洲色图欧美在线| 亚洲成av人片一区二区三区| 麻豆久久久久久久| 成人性视频免费网站| 色婷婷精品久久二区二区蜜臀av| 欧美日韩成人激情| 亚洲精品一区二区三区99| 国产精品三级电影| 亚洲一区精品在线| 蜜桃av噜噜一区| 成人小视频在线| 欧洲av一区二区嗯嗯嗯啊| 日韩欧美国产三级| 亚洲视频在线观看三级| 无码av中文一区二区三区桃花岛| 国产一区二区在线看| 色综合色狠狠天天综合色| 538在线一区二区精品国产| 久久综合久久综合亚洲| 国产精品理论片在线观看| 天堂成人国产精品一区| 国产精品亚洲一区二区三区在线| 色先锋久久av资源部| 日韩美一区二区三区| 亚洲视频你懂的| 男女视频一区二区| 91浏览器打开| 精品国产免费视频| 一区二区久久久久久| 国产一区日韩二区欧美三区| 欧美性受xxxx黑人xyx| 2017欧美狠狠色| 婷婷中文字幕综合| 成人在线综合网| 日韩一级高清毛片| 亚洲一区二区四区蜜桃| 国内精品写真在线观看| 日本精品一级二级| 久久久国产一区二区三区四区小说| 一区二区高清视频在线观看| 国产在线观看免费一区| 欧洲一区在线观看| 国产精品区一区二区三| 久久国产尿小便嘘嘘| 在线中文字幕一区二区| 国产精品色婷婷久久58| 麻豆精品新av中文字幕| 欧美色图天堂网| 日韩美女啊v在线免费观看| 国内成人自拍视频| 日韩欧美一级片| 爽爽淫人综合网网站| 色综合色狠狠天天综合色| 国产精品美女一区二区三区| 国产一区二区不卡| 日韩一区和二区| 午夜精品福利视频网站 | 在线观看视频欧美| 国产精品丝袜黑色高跟| 国产美女一区二区| 日韩一级免费观看| 首页亚洲欧美制服丝腿| 欧美日韩中文精品| 亚洲欧美经典视频| 99国产精品视频免费观看| 中文字幕二三区不卡| 国产一本一道久久香蕉| 欧美草草影院在线视频| 日韩高清中文字幕一区| 欧美一区在线视频| 日韩av午夜在线观看| 91精品国产欧美一区二区成人| 香蕉久久夜色精品国产使用方法| 欧美亚洲国产怡红院影院| 夜色激情一区二区| 欧美日免费三级在线| 视频在线在亚洲| 91精品国产欧美日韩| 麻豆91在线看| 久久久久国色av免费看影院| 成人永久aaa| 国产精品三级视频| 色综合久久99| 亚洲成人av在线电影| 欧美日本乱大交xxxxx| 日本中文字幕一区二区视频| 欧美mv日韩mv| 国产精品1024| 亚洲欧美色一区| 日本道在线观看一区二区| 亚洲香肠在线观看| 日韩欧美国产高清| 成人综合激情网| 亚洲精品久久久蜜桃| 337p亚洲精品色噜噜噜| 国产一区二区三区国产| 成人欧美一区二区三区1314| 欧美日韩综合色| 久99久精品视频免费观看| 久久午夜国产精品| 91麻豆免费观看| 日本伊人色综合网| 久久蜜桃av一区二区天堂 | 最新成人av在线| 欧美日韩电影在线播放| 国产一区二区三区美女| 一区二区三区在线免费观看| 欧美mv日韩mv|