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

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

?? dsp281x_ev.h

?? 基于TMS320F2812的永磁同步電機矢量控制軟件部分
?? H
?? 第 1 頁 / 共 2 頁
字號:
//###########################################################################
//
// FILE:	DSP281x_Ev.h
//
// TITLE:	DSP281x Device Event Manager Register Definitions.
//
//###########################################################################
//
//  Ver | dd mmm yyyy | Who  | Description of changes
// =====|=============|======|===============================================
//  1.00| 11 Sep 2003 | L.H. | Changes since previous version (v.58 Alpha)
//      |             |      | CAPCON, EXTCON and CAPFIFO register for EVA renamed CAPCONA
//      |             |      |    EXTCONA and CAPFIFOA.  This is to be consistant
//      |             |      |    with other documentation. EVB was already correct.
//      |             |      | Corrected bit definitions for GPTCONA & GPTCONB registers
//      |             |      | T1CON and T2CON were using the same bit definitions.  Split
//      |             |      |    this so the reserved bits in T1CON would be correct
//      |             |      | T3CON and T4CON were using the same bit definitions.  Split
//      |             |      |    this so the reserved bits in T3CON would be correct
//      |             |      | Changed QEPIQEL to QEPIQUAL in EXTCONA/EXTCONB registers
//      |             |      | Added bits that are active only when EXTCONA.0 = 1 
//      |             |      |    to the COMCONA and COMCONB registers. 
//      |             |      | Changed CAPQEPN to CAP12EN in the CAPCONA register
//      |             |      | Changed CAPQEPN to CAP45EN in the CAPCONB register
//###########################################################################

#ifndef DSP281x_EV_H
#define DSP281x_EV_H


#ifdef __cplusplus
extern "C" {
#endif

/* --------------------------------------------------- */
/* F2810/12 Event Manager (EV) GP Timer Registers      */
/*                                                     */
/* ----------------------------------------------------*/

/* Overall Timer Control Register */

struct GPTCONA_BITS  {
   Uint16 T1PIN:2;         // 1:0   Polarity of GP timer 1 compare
   Uint16 T2PIN:2;         // 3:2   Polarity of GP timer 2 compare
   Uint16 T1CMPOE:1;       // 4     Timer1 compare output
   Uint16 T2CMPOE:1;       // 5     Timer2 compare output 
   Uint16 TCMPOE:1;        // 6     Compare output enable
   Uint16 T1TOADC:2;       // 8:7   Start ADC with timer 1 event
   Uint16 T2TOADC:2;       // 10:9  Start ADC with timer 2 event
   Uint16 T1CTRIPE:1;      // 11    Enable Timer 1 compare trip
   Uint16 T2CTRIPE:1;      // 12    Enable Timer 2 compare trip
   Uint16 T1STAT:1;        // 13    GP Timer 1 status (read only)
   Uint16 T2STAT:1;        // 14    GP Timer 2 status (read only)
   Uint16 rsvd:1;          // 15    reserved
};

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

struct GPTCONB_BITS  {
   Uint16 T3PIN:2;         // 1:0   Polarity of GP timer 3 compare
   Uint16 T4PIN:2;         // 3:2   Polarity of GP timer 4 compare
   Uint16 T3CMPOE:1;       // 4     Timer3 compare output
   Uint16 T4CMPOE:1;       // 5     Timer4 compare output 
   Uint16 TCMPOE:1;        // 6     Compare output enable
   Uint16 T3TOADC:2;       // 8:7   Start ADC with timer 3 event
   Uint16 T4TOADC:2;       // 10:9  Start ADC with timer 4 event
   Uint16 T3CTRIPE:1;      // 11    Timer 3 trip enable
   Uint16 T4CTRIPE:1;      // 12    Timer 4 trip enable
   Uint16 T3STAT:1;        // 13    GP Timer 3 status (read only)
   Uint16 T4STAT:1;        // 14    GP Timer 4 status (read only)
   Uint16 rsvd2:1;         // 15    reserved
};

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

/* Timer 1 Control Register bit defintions */
struct T1CON_BITS  {
   Uint16  rsvd1:1;         // 0     reserved
   Uint16  TECMPR:1;        // 1     Timer compare enable
   Uint16  TCLD10:2;        // 3:2   Timer copare register reload
   Uint16  TCLKS10:2;       // 5:4   Clock source select
   Uint16  TENABLE:1;       // 6     Timer enable
   Uint16  rsvd2:1;         // 7     reserved
   Uint16  TPS:3;           // 10:8  Input clock prescaler
   Uint16  TMODE:2;         // 12:11 Count mode selection
   Uint16  rsvd:1;          // 13    reserved
   Uint16  FREE:1;          // 14    Free emulation control
   Uint16  SOFT:1;          // 15    Soft emulation control
};      

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


/* Timer 2 Control Register bit defintions */
struct T2CON_BITS  {
   Uint16  SET1PR:1;        // 0     Period register select
   Uint16  TECMPR:1;        // 1     Timer compare enable
   Uint16  TCLD10:2;        // 3:2   Timer copare register reload
   Uint16  TCLKS10:2;       // 5:4   Clock source select
   Uint16  TENABLE:1;       // 6     Timer enable
   Uint16  T2SWT1:1;        // 7     Start GP timer 2 with GP timer 1's enable
   Uint16  TPS:3;           // 10:8  Input clock prescaler
   Uint16  TMODE:2;         // 12:11 Count mode selection
   Uint16  rsvd:1;          // 13    reserved
   Uint16  FREE:1;          // 14    Free emulation control
   Uint16  SOFT:1;          // 15    Soft emulation control
};      

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

/* Timer 3 Control Register bit defintions */
struct T3CON_BITS  {
   Uint16  rsvd1:1;         // 0     reserved
   Uint16  TECMPR:1;        // 1     Timer compare enable
   Uint16  TCLD10:2;        // 3:2   Timer copare register reload
   Uint16  TCLKS10:2;       // 5:4   Clock source select
   Uint16  TENABLE:1;       // 6     Timer enable
   Uint16  rsvd2:1;         // 7     reserved
   Uint16  TPS:3;           // 10:8  Input clock prescaler
   Uint16  TMODE:2;         // 12:11 Count mode selection
   Uint16  rsvd:1;          // 13    reserved
   Uint16  FREE:1;          // 14    Free emulation control
   Uint16  SOFT:1;          // 15    Soft emulation control
};      

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

/* Timer 4 Control Register bit defintions */
struct T4CON_BITS  {
   Uint16  SET3PR:1;        // 0     Period register select
   Uint16  TECMPR:1;        // 1     Timer compare enable
   Uint16  TCLD10:2;        // 3:2   Timer copare register reload
   Uint16  TCLKS10:2;       // 5:4   Clock source select
   Uint16  TENABLE:1;       // 6     Timer enable
   Uint16  T4SWT3:1;        // 7     Start GP timer 2 with GP timer 1's enable
   Uint16  TPS:3;           // 10:8  Input clock prescaler
   Uint16  TMODE:2;         // 12:11 Count mode selection
   Uint16  rsvd:1;          // 13    reserved
   Uint16  FREE:1;          // 14    Free emulation control
   Uint16  SOFT:1;          // 15    Soft emulation control
};      

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


struct EXTCONA_BITS {
   Uint16   INDCOE:1;        // 0      Independant compare output
   Uint16   QEPIQUAL:1;      // 1      QEP/CAP3 Index Qual Mode
   Uint16   QEPIE:1;         // 2      QEP index enable
   Uint16   EVSOCE:1;        // 3      EvA start of conversion output enable
   Uint16   rsvd:12;         // 15:4   reserved
};

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


struct EXTCONB_BITS {
   Uint16   INDCOE:1;        // 0      Independant compare output
   Uint16   QEPIQUAL:1;      // 1      QEP/CAP3 Index Qual Mode
   Uint16   QEPIE:1;         // 2      QEP index enable
   Uint16   EVSOCE:1;        // 3      EvB start of conversion output enable
   Uint16   rsvd:12;         // 15:4   reserved
};

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



/* Compare Control Register */
struct COMCONA_BITS {
   Uint16   C1TRIPE:1;      // 0      C1TRIP enable
   Uint16   C2TRIPE:1;      // 1      C2TRIP enable
   Uint16   C3TRIPE:1;      // 2      C3TRIP eanble
   Uint16   rsvd:2;         // 4:3    reserved
   Uint16   FCMP1OE:1;      // 5      Full compare 1 output enable
   Uint16   FCMP2OE:1;      // 6      Full compare 2 output enable
   Uint16   FCMP3OE:1;      // 7      Full compare 3 output enable
   Uint16   PDPINTASTATUS:1;// 8      Current status of the PDPINTA pin
   Uint16   FCOMPOE:1;      // 9      Compare output enable
   Uint16   ACTRLD:2;       // 11:10  Action control register reload
   Uint16   SVENABLE:1;     // 12     Space vector PWM Mode enable
   Uint16   CLD:2;          // 14:13  Compare register reload condition
   Uint16   CENABLE:1;      // 15     Compare enable
}; 

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

struct COMCONB_BITS {
   Uint16   C4TRIPE:1;      // 0      C4TRIP enable
   Uint16   C5TRIPE:1;      // 1      C5TRIP enable
   Uint16   C6TRIPE:1;      // 2      C6TRIP eanble
   Uint16   rsvd:2;         // 4:3    reserved
   Uint16   FCMP4OE:1;      // 5      Full compare 4 output enable
   Uint16   FCMP5OE:1;      // 6      Full compare 5 output enable
   Uint16   FCMP6OE:1;      // 7      Full compare 6 output enable
   Uint16   PDPINTBSTATUS:1;// 8      Current status of the PDPINTB pin
   Uint16   FCOMPOE:1;      // 9      Compare output enable
   Uint16   ACTRLD:2;       // 11:10  Action control register reload
   Uint16   SVENABLE:1;     // 12     Space vector PWM Mode enable
   Uint16   CLD:2;          // 14:13  Compare register reload condition
   Uint16   CENABLE:1;      // 15     Compare enable
}; 

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

/* Compare Action Control Register bit definitions */

struct ACTRA_BITS {
   Uint16   CMP1ACT:2;     // 1:0    Action on compare output pin 1 CMP1
   Uint16   CMP2ACT:2;     // 3:2    Action on compare output pin 2 CMP2
   Uint16   CMP3ACT:2;     // 5:4    Action on compare output pin 3 CMP3
   Uint16   CMP4ACT:2;     // 7:6    Action on compare output pin 4 CMP4
   Uint16   CMP5ACT:2;     // 9:8    Action on compare output pin 5 CMP5
   Uint16   CMP6ACT:2;     // 11:10  Action on compare output pin 6 CMP6
   Uint16   D:3;           // 14:12  Basic vector bits
   Uint16   SVRDIR:1;      // 15     Space vecor PWM rotation dir
};

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

struct ACTRB_BITS {
   Uint16   CMP7ACT:2;     // 1:0    Action on compare output pin 7 CMP7
   Uint16   CMP8ACT:2;     // 3:2    Action on compare output pin 8 CMP8
   Uint16   CMP9ACT:2;     // 5:4    Action on compare output pin 9 CMP9
   Uint16   CMP10ACT:2;    // 7:6    Action on compare output pin 10 CMP10
   Uint16   CMP11ACT:2;    // 9:8    Action on compare output pin 11 CMP11
   Uint16   CMP12ACT:2;    // 11:10  Action on compare output pin 12 CMP12
   Uint16   D:3;           // 14:12  Basic vector bits
   Uint16   SVRDIR:1;      // 15     Space vecor PWM rotation dir
};

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

/* Dead-Band Timer Control register bit definitions */
struct DBTCON_BITS {
   Uint16   rsvd1:2;       // 1:0    reserved
   Uint16   DBTPS:3;       // 4:2    Dead-Band timer prescaler
   Uint16   EDBT1:1;       // 5      Dead-Band timer 1 enable
   Uint16   EDBT2:1;       // 6      Dead-Band timer 2 enable
   Uint16   EDBT3:1;       // 7      Dead-Band timer 3 enable
   Uint16   DBT:4;         // 11:8   Dead-Band timer period
   Uint16   rsvd2:4;       // 15:12  reserved   
};

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


/* Capture Control register bit definitions */
struct CAPCONA_BITS {
   Uint16  rsvd1:2;         // 1:0   reserved
   Uint16  CAP3EDGE:2;      // 3:2   Edge Detection for Unit 3
   Uint16  CAP2EDGE:2;      // 5:4   Edge Detection for Unit 2
   Uint16  CAP1EDGE:2;      // 7:6   Edge Detection for Unit 1
   Uint16  CAP3TOADC:1;     // 8     Unit 3 starts the ADC
   Uint16  CAP12TSEL:1;     // 9     GP Timer selection for Units 1 and 2
   Uint16  CAP3TSEL:1;      // 10    GP Timer selection for Unit 3
   Uint16  rsvd2:1;         // 11    reserved
   Uint16  CAP3EN:1;        // 12    Capture Unit 3 enable
   Uint16  CAP12EN:2;       // 14:13 Capture Unit 1 and 2 enable
   Uint16  CAPRES:1;        // 15    Capture reset (always reads 0)
};

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


/* Control register bit definitions */
struct CAPCONB_BITS {
   Uint16  rsvd1:2;         // 1:0   reserved
   Uint16  CAP6EDGE:2;      // 3:2   Edge Detection for Unit 6
   Uint16  CAP5EDGE:2;      // 5:4   Edge Detection for Unit 5
   Uint16  CAP4EDGE:2;      // 7:6   Edge Detection for Unit 4
   Uint16  CAP6TOADC:1;     // 8     Unit 6 starts the ADC
   Uint16  CAP45TSEL:1;     // 9     GP Timer selection for Units 4 and 5
   Uint16  CAP6TSEL:1;      // 10    GP Timer selection for Unit 6
   Uint16  rsvd2:1;         // 11    reserved
   Uint16  CAP6EN:1;        // 12    Capture Unit 6 control
   Uint16  CAP45EN:2;       // 14:13 Capture Unit 4 and 5 control
   Uint16  CAPRES:1;        // 15    Capture reset (always reads 0)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美中文字幕精品| 国产网站一区二区| 久久久久久久久久久久久夜| 亚洲精品欧美二区三区中文字幕| 久久福利视频一区二区| 欧美中文一区二区三区| 中文在线一区二区| 国产一区二区三区香蕉| 7777精品伊人久久久大香线蕉经典版下载 | 91亚洲大成网污www| 欧美成人vps| 免费日本视频一区| 欧美日高清视频| 尤物av一区二区| www.日韩精品| 国产精品久久久久桃色tv| 激情综合色综合久久| 3d动漫精品啪啪1区2区免费 | 国产日韩成人精品| 国产一区二区三区免费在线观看| 欧美日韩成人综合天天影院 | 欧美日韩高清在线| 亚洲成a人在线观看| 在线观看亚洲专区| 亚洲综合成人在线| 欧美自拍丝袜亚洲| 一级女性全黄久久生活片免费| 99久久国产综合色|国产精品| 欧美经典一区二区| 成人av中文字幕| 国产精品女主播av| 9人人澡人人爽人人精品| 国产精品久久久久婷婷| 色哟哟一区二区三区| 依依成人精品视频| 精品视频1区2区| 五月天视频一区| 欧美一区午夜视频在线观看| 日本少妇一区二区| 久久综合九色综合久久久精品综合| 热久久久久久久| 26uuuu精品一区二区| 国产1区2区3区精品美女| 中文字幕国产一区| 在线观看亚洲专区| 日本va欧美va精品| 国产日韩欧美综合在线| 成人黄页在线观看| 亚洲人成亚洲人成在线观看图片 | 丁香天五香天堂综合| 国产精品日日摸夜夜摸av| 色综合久久综合网97色综合 | 91精品国产福利| 国内精品伊人久久久久av影院| 国产亚洲成aⅴ人片在线观看| 99r精品视频| 亚洲成人激情社区| 久久精品一区二区三区四区| 成av人片一区二区| 午夜av一区二区| 久久精品一区二区| 欧美欧美欧美欧美首页| 国产精品综合在线视频| 依依成人精品视频| 久久久久久久久久久电影| 欧美探花视频资源| 国产91精品入口| 日韩精品午夜视频| 综合分类小说区另类春色亚洲小说欧美| 亚洲精品免费在线播放| 日韩欧美中文字幕一区| 99久久久久久| 韩国精品久久久| 午夜精品福利在线| 中文av字幕一区| 欧美一级理论性理论a| 94-欧美-setu| 国产成人午夜99999| 天天av天天翘天天综合网色鬼国产| 国产亚洲一区二区三区四区| 欧美日韩视频不卡| 99re这里只有精品首页| 国产夫妻精品视频| 麻豆成人av在线| 五月天激情小说综合| 一区视频在线播放| 国产欧美日韩卡一| 日韩欧美国产一区二区三区| 欧美视频一区二区三区在线观看| 风流少妇一区二区| 狠狠色狠狠色综合系列| 婷婷久久综合九色国产成人 | 精品综合免费视频观看| 亚洲国产精品影院| 亚洲精品乱码久久久久久久久 | 色偷偷成人一区二区三区91 | 欧美精品v国产精品v日韩精品| 成人av网站在线| 国产激情一区二区三区四区 | 欧美无砖专区一中文字| 福利91精品一区二区三区| 狠狠色丁香婷婷综合久久片| 天天亚洲美女在线视频| 天天综合天天做天天综合| 一区二区三区91| 亚洲欧美电影院| 自拍视频在线观看一区二区| 久久久久国产一区二区三区四区| 精品国产凹凸成av人网站| 91精品国产综合久久香蕉的特点| 色婷婷av一区二区三区软件| 91麻豆高清视频| 在线精品观看国产| 欧美日韩中文国产| 欧美理论片在线| 欧美丰满嫩嫩电影| 欧美丰满美乳xxx高潮www| 91精品国产91久久综合桃花 | 欧美另类z0zxhd电影| 欧美精品一二三区| 日韩午夜激情免费电影| 精品国产污污免费网站入口 | 成人app网站| 日本道精品一区二区三区| 欧洲国产伦久久久久久久| 91福利视频久久久久| 欧美日韩一二三区| 日韩午夜激情免费电影| 国产情人综合久久777777| 中文在线一区二区| 一区二区高清在线| 日本成人在线不卡视频| 国精产品一区一区三区mba视频| 国内精品不卡在线| 99久久婷婷国产精品综合| 在线观看av一区| 91精品国产福利在线观看| 国产日产欧美一区二区三区| 国产精品国产a级| 午夜精品福利一区二区三区av| 久久91精品国产91久久小草| 成人黄色777网| 欧美久久一二三四区| 2020日本不卡一区二区视频| 国产精品美女久久久久高潮| 亚洲综合在线电影| 韩国在线一区二区| 色老综合老女人久久久| 555夜色666亚洲国产免| 久久久国产精华| 亚洲综合区在线| 久久电影国产免费久久电影| 成人av一区二区三区| 在线不卡一区二区| 中文字幕av一区二区三区免费看| 亚洲电影一区二区三区| 国产乱理伦片在线观看夜一区 | 国产成人精品免费视频网站| 91小视频在线| www国产精品av| 亚洲一区二区在线免费看| 国产一区在线不卡| 欧美日韩在线精品一区二区三区激情| 日韩美女主播在线视频一区二区三区| 国产精品久久久久久妇女6080| 五月激情丁香一区二区三区| 成人av电影观看| 久久综合色鬼综合色| 亚洲五月六月丁香激情| 成人毛片老司机大片| 欧美一区二区三区精品| 亚洲精品成人悠悠色影视| 韩国三级电影一区二区| 欧美久久久一区| 亚洲男同性视频| 国产激情91久久精品导航| 91精品国产一区二区三区 | 国产精品无码永久免费888| 三级在线观看一区二区| 91视频91自| 日本一区二区成人在线| 精品在线播放免费| 7777女厕盗摄久久久| 一区二区三区久久久| av亚洲精华国产精华精华| 国产视频一区在线播放| 精品一区二区综合| 91精品国产色综合久久不卡电影| 亚洲国产综合91精品麻豆| 色婷婷亚洲综合| 成人欧美一区二区三区视频网页 | 国产精品国产三级国产| 国产精品2024| 国产亚洲一区二区三区四区| 国内精品在线播放| 国产无遮挡一区二区三区毛片日本 | 成人av免费在线观看| 日本一区二区三区免费乱视频| 韩国av一区二区三区四区 | 福利电影一区二区|