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

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

?? dsp281x_ev.h

?? DSP2812開發的無刷直流電機控制程序,希望對大家有幫助!
?? 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一区二区三区免费野_久草精品视频
久久综合久久鬼色中文字| 亚洲美女视频一区| 综合色中文字幕| 蜜桃在线一区二区三区| 99久久国产免费看| 精品国产一区二区三区久久久蜜月 | 午夜精品视频一区| 丁香激情综合国产| 日韩亚洲欧美中文三级| 尤物av一区二区| 国产99久久久精品| 日韩欧美国产系列| 午夜精品久久久久久久| 一道本成人在线| 日本一区二区视频在线观看| 免费观看在线色综合| 欧美三区在线视频| 中文字幕一区二区三区视频| 久久97超碰色| 欧美精品久久一区二区三区| 亚洲色图第一区| 国产精品1区2区3区在线观看| 8x8x8国产精品| 午夜久久福利影院| 欧洲av在线精品| 一区二区三区在线看| av激情综合网| 国产精品国产三级国产专播品爱网| 国产精品一区二区无线| 精品精品国产高清一毛片一天堂| 日韩av中文字幕一区二区| 欧美日韩国产大片| 午夜精品一区二区三区电影天堂| 欧美视频精品在线| 亚洲午夜精品17c| 欧美在线看片a免费观看| 伊人一区二区三区| 欧美在线观看一区二区| 亚洲大型综合色站| 欧美三级蜜桃2在线观看| 午夜视频一区二区| 日韩一区二区三区在线视频| 国产一区二区美女诱惑| 精品sm捆绑视频| 风间由美中文字幕在线看视频国产欧美 | 国产91对白在线观看九色| 久久久久亚洲蜜桃| 成人性生交大片免费| 国产精品久久久久影院| 色综合天天综合给合国产| 一区二区三区国产精华| 欧美日韩黄视频| 捆绑变态av一区二区三区| 欧美电影免费提供在线观看| 国产成人午夜电影网| 国产精品日韩精品欧美在线| 91福利在线看| 青青草国产成人av片免费| 精品国产免费人成电影在线观看四季 | 亚洲成国产人片在线观看| 91麻豆精品久久久久蜜臀| 激情伊人五月天久久综合| 日本一区二区动态图| 在线观看亚洲一区| 免费在线观看日韩欧美| 欧美极品aⅴ影院| 91黄色小视频| 九九国产精品视频| 国产精品青草综合久久久久99| 在线观看国产日韩| 韩国av一区二区| 亚洲一区二区三区影院| 欧美精品一级二级| 国产成人免费视频精品含羞草妖精| 最好看的中文字幕久久| 欧美一卡在线观看| 91啪九色porn原创视频在线观看| 秋霞电影一区二区| 亚洲婷婷综合久久一本伊一区| 欧美一区二区黄| 色菇凉天天综合网| 激情深爱一区二区| 亚洲成人免费看| 日韩一区在线看| 精品国产乱码久久久久久老虎| 在线亚洲欧美专区二区| 国产精品99久久久久久宅男| 亚洲高清免费一级二级三级| 国产精品人成在线观看免费 | 亚洲在线视频一区| 国产午夜精品久久久久久免费视| 欧美系列亚洲系列| 99热这里都是精品| 国产乱人伦精品一区二区在线观看| 亚洲国产毛片aaaaa无费看| 国产精品视频一区二区三区不卡| 日韩欧美成人午夜| 91精品久久久久久蜜臀| 91视频在线观看免费| 国产suv一区二区三区88区| 麻豆传媒一区二区三区| 五月婷婷综合在线| 一区二区欧美在线观看| 中文字幕视频一区二区三区久| 亚洲精品在线观| 日韩一级黄色片| 91精品国产综合久久久蜜臀图片| 在线一区二区视频| 色综合激情久久| 色八戒一区二区三区| 成人91在线观看| 成人黄色免费短视频| 床上的激情91.| 成人亚洲精品久久久久软件| 国产麻豆午夜三级精品| 九九国产精品视频| 国产在线看一区| 激情六月婷婷久久| 国模一区二区三区白浆| 国产一区中文字幕| 国产69精品久久久久777| 成人深夜视频在线观看| www.欧美.com| 91在线国产观看| 91国偷自产一区二区三区观看| 91久久精品一区二区二区| 6080午夜不卡| 精品国产一区二区三区四区四| 日韩精品专区在线影院重磅| 久久久久久日产精品| 国产日韩欧美电影| 17c精品麻豆一区二区免费| 一区二区三区中文在线| 亚洲va韩国va欧美va| 免费看欧美女人艹b| 国产精品资源网| 99精品视频免费在线观看| 色综合夜色一区| 欧美日韩黄色一区二区| 欧美电影免费观看高清完整版在 | 日日欢夜夜爽一区| 麻豆国产91在线播放| 国产精品18久久久久久vr| 99久久99久久精品国产片果冻| 91视视频在线观看入口直接观看www | 中文字幕在线观看不卡视频| 亚洲综合在线五月| 日本aⅴ亚洲精品中文乱码| 国产精品一二二区| 91官网在线观看| 日韩欧美在线一区二区三区| 国产精品视频九色porn| 婷婷久久综合九色国产成人| 国产一区 二区| 欧美艳星brazzers| 久久一区二区三区四区| 一区二区三区免费| 久久99精品国产.久久久久久| av欧美精品.com| 日韩精品一区二区三区老鸭窝| 国产精品福利影院| 美腿丝袜亚洲色图| 91久久精品网| 亚洲精品ww久久久久久p站| 日日夜夜精品视频天天综合网| 国产成人精品免费网站| 欧美精品 国产精品| 国产精品午夜春色av| 日韩福利视频导航| 色美美综合视频| 国产欧美一区二区在线| 午夜精品一区在线观看| 99re66热这里只有精品3直播| 日韩三级精品电影久久久 | 亚洲成人中文在线| 成人动漫视频在线| 精品免费99久久| 五月激情丁香一区二区三区| av不卡在线播放| 久久网这里都是精品| 日本va欧美va欧美va精品| 色国产精品一区在线观看| 中文字幕av一区 二区| 久久se精品一区精品二区| 精品视频一区二区不卡| 亚洲人123区| 不卡的av电影| 中文在线一区二区 | 婷婷久久综合九色综合伊人色| 91原创在线视频| 国产精品―色哟哟| 丁香六月综合激情| 国产亚洲午夜高清国产拍精品 | 国内精品久久久久影院一蜜桃| 欧美一区二区福利视频| 日本在线观看不卡视频| 欧美猛男男办公室激情| 午夜久久久久久久久久一区二区| 在线观看日韩av先锋影音电影院| 亚洲三级在线观看|