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

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

?? dsp28_ev.h

?? DSP CPU定時器的使用 中斷的使用 如何進入中斷
?? H
?? 第 1 頁 / 共 2 頁
字號:

#ifndef DSP28_EV_H
#define DSP28_EV_H

/* --------------------------------------------------- */
/* 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 rsvd1:2;         // 5:4   reserved
   Uint16 TCOMPOE: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 rsvd2:2;         // 12:11 reserved
   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 T1CMPOE:1;       // 4     Timer1 compare output
   Uint16 T2CMPOE:1;       // 5     Timer2 compare output
   Uint16 TCOMPOE: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 T1CTRIP:1;       // 11    Timer1 trip enable
   Uint16 T2CTRIP:1;       // 12    Timer2 trip enable
   Uint16 T3STAT:1;        // 13    GP Timer 3 status (read only)
   Uint16 T4STAT:1;        // 14    GP Timer 4 status (read only)
   Uint16 rsvd:1;          // 15    reserved
};

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

/* Timer Control Register bit defintions */
struct TCONA_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 TCONA_REG {
   Uint16        all;
   struct  TCONA_BITS bit;
};

struct TCONB_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 TCONB_REG {
   Uint16        all;
   struct  TCONB_BITS bit;
};


struct EXTCONA_BITS {
   Uint16   INDCOE:1;        // 0      Independant compare output
   Uint16   QEPIQEL:1;       // 1      QEP/CAP3 Index Qual Mode
   Uint16   QEPIE:1;         // 2      QEP index enable
   Uint16   EVSOCE:1;        // 3      Ev 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   QEPIQEL:1;       // 1      QEP/CAP3 Index Qual Mode
   Uint16   QEPIE:1;         // 2      QEP index enable
   Uint16   EVSOCE:1;        // 3      Ev 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   rsvd:8;         // 7:0    reserved
   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   rsvd:8;         // 7:0    reserved
   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 control
   Uint16  CAPQEPN:2;       // 14:13 Capture Unit 1 and 2 control
   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  CAPQEPN:2;       // 14:13 Capture Unit 4 and 5 control
   Uint16  CAPRES:1;        // 15    Capture reset (always reads 0)
};

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

/* Capture FIFO Status Register bit definitions */
struct CAPFIFOA_BITS  {
   Uint16 rsvd1:8;           // 7:0   reserved
   Uint16 CAP1FIFO:2;        // 9:8   CAP1 FIFO status
   Uint16 CAP2FIFO:2;        // 11:10 CAP2 FIFO status
   Uint16 CAP3FIFO:2;        // 13:12 CAP2 FIFO status
   Uint16 rsvd2:2;           // 15:14 reserved
}; 

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

/* Capture FIFO Status Register bit definitions */
struct CAPFIFOB_BITS  {
   Uint16 rsvd1:8;           // 7:0   reserved
   Uint16 CAP4FIFO:2;        // 9:8   CAP4 FIFO status
   Uint16 CAP5FIFO:2;        // 11:10 CAP5 FIFO status
   Uint16 CAP6FIFO:2;        // 13:12 CAP6 FIFO status
   Uint16 rsvd2:2;           // 15:14 reserved
}; 

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

/* Interrupt Mask Register bit definitions */
struct EVAIMRA_BITS {
    Uint16  PDPINTA:1;      // 0       Enable PDPINTA
    Uint16  CMP1INT:1;      // 1       Enable

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品灌醉下药二区| 日韩欧美不卡一区| 91在线观看一区二区| 国产精品888| 国产精品系列在线播放| 粉嫩高潮美女一区二区三区| 国产福利91精品一区二区三区| 激情文学综合丁香| 成人一区二区三区视频在线观看| 国产一区三区三区| 波多野结衣中文字幕一区二区三区| 成人黄色免费短视频| 色综合久久88色综合天天免费| 欧美三级一区二区| 26uuu欧美日本| 亚洲一区视频在线观看视频| 亚洲成人免费在线观看| 麻豆国产精品777777在线| 国产成人免费av在线| 色婷婷亚洲综合| 久久久久9999亚洲精品| 亚洲精品ww久久久久久p站| 久久国产精品露脸对白| av电影在线观看一区| 欧美xxxxxxxx| 亚洲乱码中文字幕| 国产麻豆视频一区| 欧美一区二区二区| 亚洲美女电影在线| 成人影视亚洲图片在线| 日韩亚洲欧美一区二区三区| 亚洲欧美精品午睡沙发| 成人黄色av电影| 国产亚洲精品福利| 激情文学综合网| 欧美成人aa大片| 久久精品国产久精国产爱| 欧美色大人视频| 亚洲一区二区三区不卡国产欧美| 大美女一区二区三区| 国产日韩av一区| 成人国产精品视频| 国产精品三级久久久久三级| 国产高清久久久久| 国产无遮挡一区二区三区毛片日本| 麻豆国产精品一区二区三区| 欧美成人三级在线| www.激情成人| 亚洲精品国产第一综合99久久| 91在线国内视频| 亚洲国产欧美另类丝袜| 91精品视频网| 国产一区二区按摩在线观看| 久久久久综合网| 色综合久久综合| 天天色图综合网| 91精品国产91久久综合桃花 | 亚洲黄色在线视频| 欧美一区二区三区喷汁尤物| 精品一区二区三区视频在线观看| 国产午夜精品在线观看| 色综合视频在线观看| 蜜臀久久久99精品久久久久久| 精品久久久久99| 丁香婷婷综合色啪| 青青国产91久久久久久 | 日韩一区欧美二区| 国产精品成人一区二区艾草| 正在播放一区二区| 色哟哟日韩精品| 国产成人av影院| 久久99久久99小草精品免视看| 国产精品麻豆网站| 久久久国际精品| 日韩欧美www| 欧美一卡二卡三卡| 欧美三级三级三级爽爽爽| 成人aa视频在线观看| 国产在线精品一区二区夜色| 日韩电影免费一区| 亚洲成av人片在线| 亚洲一区电影777| 亚洲免费在线播放| 日韩一区日韩二区| 国产婷婷一区二区| 久久女同精品一区二区| 久久午夜羞羞影院免费观看| 日韩美女在线视频 | 视频一区中文字幕国产| 亚洲国产一区二区a毛片| 亚洲一区成人在线| 日韩国产成人精品| 国内久久婷婷综合| 成人深夜福利app| 色香蕉成人二区免费| 欧美性猛交xxxx黑人交| 91麻豆精品国产91久久久久| 日韩欧美久久一区| 久久人人97超碰com| 亚洲精品国产第一综合99久久| 亚洲福利一二三区| 国产精品一品视频| 欧洲国内综合视频| 国产无人区一区二区三区| 国产精品传媒视频| 麻豆精品视频在线观看视频| 成人av电影在线| 日韩欧美区一区二| 亚洲欧美日韩系列| 狠狠色丁香婷婷综合| 99久久久国产精品免费蜜臀| 欧美精品久久天天躁| 26uuu国产一区二区三区| 亚洲另类春色校园小说| 极品少妇一区二区| 欧美亚洲自拍偷拍| 国产精品久久影院| 精品午夜久久福利影院| 在线一区二区三区| 日本一区二区综合亚洲| 免费成人美女在线观看.| 日本精品视频一区二区| 中文字幕亚洲在| 国产乱码精品一区二区三区av| 欧美美女网站色| 亚洲午夜免费视频| 国产精品视频线看| 久久久亚洲午夜电影| 6080yy午夜一二三区久久| 色综合欧美在线| 国产亚洲综合性久久久影院| 国内精品久久久久影院薰衣草| 欧美日韩一区二区三区高清 | 日韩黄色免费网站| 欧美日韩精品一区二区三区 | 99久久精品国产毛片| 日韩限制级电影在线观看| 亚洲一区二区三区不卡国产欧美| 一本色道久久加勒比精品| 亚洲私人影院在线观看| 日本韩国欧美在线| 天堂久久久久va久久久久| 日韩美女一区二区三区四区| 韩国成人在线视频| 亚洲人成网站在线| 欧美午夜在线一二页| 狠狠色狠狠色综合系列| 国产区在线观看成人精品| 在线免费不卡电影| 另类小说一区二区三区| 国产精品高潮呻吟久久| 在线播放91灌醉迷j高跟美女| 国内精品久久久久影院薰衣草 | av激情亚洲男人天堂| 偷窥少妇高潮呻吟av久久免费| 精品久久人人做人人爽| 91麻豆福利精品推荐| 国产精品自拍网站| 香蕉久久一区二区不卡无毒影院| 久久伊人蜜桃av一区二区| 色婷婷综合久久久久中文| 另类小说图片综合网| 夜夜嗨av一区二区三区四季av| 久久久国产精品午夜一区ai换脸| 欧美日韩中文字幕一区二区| 成人精品视频一区二区三区尤物| 亚洲va国产va欧美va观看| 国产精品国产成人国产三级| 日韩女优制服丝袜电影| 欧美日韩亚洲国产综合| 99精品视频一区二区三区| 久久99久久99小草精品免视看| 亚洲成a人片在线不卡一二三区| 17c精品麻豆一区二区免费| 亚洲精品在线电影| 亚洲精品一区二区三区蜜桃下载 | 亚洲欧美福利一区二区| 欧美激情综合五月色丁香小说| 欧美本精品男人aⅴ天堂| 欧美色网一区二区| 在线播放中文字幕一区| 91麻豆精品国产91久久久久| 欧美精品成人一区二区三区四区| 欧美色倩网站大全免费| 欧美日韩小视频| 亚洲一二三四久久| 亚洲色图在线播放| 欧美电影一区二区| 成人免费小视频| 樱花影视一区二区| 亚洲成人资源在线| 91在线精品一区二区三区| 成人一区二区三区| 亚洲无人区一区| 亚洲成年人影院| 久久机这里只有精品| 国产成人免费高清| 在线精品视频免费播放| 91精品一区二区三区在线观看| 91精品国产全国免费观看|