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

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

?? dsp2833x_eqep.h

?? tms320f28335頭文件。不錯的資料。必須的
?? H
字號:
// TI File $Revision: /main/1 $
// Checkin $Date: August 18, 2006   13:52:13 $
//###########################################################################
//
// FILE:   DSP2833x_EQep.h
//
// TITLE:  DSP2833x Enhanced Quadrature Encoder Pulse Module 
//         Register Bit Definitions.
//
//###########################################################################
// $TI Release: DSP2833x Header Files V1.01 $
// $Release Date: September 26, 2007 $
//###########################################################################

#ifndef DSP2833x_EQEP_H
#define DSP2833x_EQEP_H


#ifdef __cplusplus
extern "C" {
#endif

//----------------------------------------------------
// Capture decoder control register bit definitions */                                    
struct QDECCTL_BITS {         // bits   description
   Uint16 rsvd1:5;            // 4:0    reserved
   Uint16 QSP:1;              // 5      QEPS input polarity
   Uint16 QIP:1;              // 6      QEPI input polarity
   Uint16 QBP:1;              // 7      QEPB input polarity
   Uint16 QAP:1;              // 8      QEPA input polarity
   Uint16 IGATE:1;            // 9      Index pulse gating option
   Uint16 SWAP:1;             // 10     CLK/DIR signal source for Position Counter
   Uint16 XCR:1;              // 11     External clock rate
   Uint16 SPSEL:1;            // 12     Sync output pin select
   Uint16 SOEN:1;             // 13     Enable position compare sync
   Uint16 QSRC:2;             // 15:14  Position counter source
};

union QDECCTL_REG {
   Uint16              all;
   struct QDECCTL_BITS   bit;
};


//----------------------------------------------------
// QEP control register bit definitions */                                    
struct QEPCTL_BITS {           // bits   description
   Uint16 WDE:1;               // 0      QEP watchdog enable
   Uint16 UTE:1;               // 1      QEP unit timer enable
   Uint16 QCLM:1;              // 2      QEP capture latch mode
   Uint16 QPEN:1;              // 3      Quadrature position counter enable
   Uint16 IEL:2;               // 5:4    Index event latch
   Uint16 SEL:1;               // 6      Strobe event latch
   Uint16 SWI:1;               // 7      Software init position counter
   Uint16 IEI:2;               // 9:8    Index event init of position count
   Uint16 SEI:2;               // 11:10  Strobe event init
   Uint16 PCRM:2;              // 13:12  Position counter reset
   Uint16 FREE_SOFT:2;         // 15:14  Emulation mode
};

union QEPCTL_REG {
   Uint16               all;
   struct QEPCTL_BITS   bit;
};         


//----------------------------------------------------
// Quadrature capture control register bit definitions */                                    
struct QCAPCTL_BITS {          // bits   description
   Uint16 UPPS:4;              // 3:0    Unit position pre-scale         
   Uint16 CCPS:3;              // 6:4    QEP capture timer pre-scale
   Uint16 rsvd1:8;             // 14:7   reserved
   Uint16 CEN:1;               // 15     Enable QEP capture
};


union QCAPCTL_REG {
   Uint16               all;
   struct QCAPCTL_BITS  bit;
}; 



//----------------------------------------------------
// Position compare control register bit definitions */                                    
struct QPOSCTL_BITS {          // bits   description
   Uint16 PCSPW:12;            // 11:0   Position compare sync pulse width
   Uint16 PCE:1;               // 12     Position compare enable/disable
   Uint16 PCPOL:1;             // 13     Polarity of sync output
   Uint16 PCLOAD:1;            // 14     Position compare of shadow load
   Uint16 PCSHDW:1;            // 15     Position compare shadow enable
};

union QPOSCTL_REG {
   Uint16               all;
   struct QPOSCTL_BITS  bit;
};         

//----------------------------------------------------
// QEP interrupt control register bit definitions */                                    
struct QEINT_BITS {          // bits   description
   Uint16 rsvd1:1;           // 0      reserved
   Uint16 PCE:1;             // 1      Position counter error
   Uint16 QPE:1;             // 2      Quadrature phase error
   Uint16 QDC:1;             // 3      Quadrature dir change
   Uint16 WTO:1;             // 4      Watchdog timeout
   Uint16 PCU:1;             // 5      Position counter underflow
   Uint16 PCO:1;             // 6      Position counter overflow
   Uint16 PCR:1;             // 7      Position compare ready
   Uint16 PCM:1;             // 8      Position compare match
   Uint16 SEL:1;             // 9      Strobe event latch
   Uint16 IEL:1;             // 10     Event latch
   Uint16 UTO:1;             // 11     Unit timeout
   Uint16 rsvd2:4;           // 15:12  reserved
};


union QEINT_REG {
   Uint16               all;
   struct QEINT_BITS    bit;
};


//----------------------------------------------------
// QEP interrupt status register bit definitions */                                    
struct QFLG_BITS {          // bits   description
   Uint16 INT:1;            // 0      Global interrupt 
   Uint16 PCE:1;            // 1      Position counter error
   Uint16 PHE:1;            // 2      Quadrature phase error
   Uint16 QDC:1;            // 3      Quadrature dir change
   Uint16 WTO:1;            // 4      Watchdog timeout
   Uint16 PCU:1;            // 5      Position counter underflow
   Uint16 PCO:1;            // 6      Position counter overflow
   Uint16 PCR:1;            // 7      Position compare ready
   Uint16 PCM:1;            // 8      Position compare match
   Uint16 SEL:1;            // 9      Strobe event latch
   Uint16 IEL:1;            // 10     Event latch
   Uint16 UTO:1;            // 11     Unit timeout
   Uint16 rsvd2:4;          // 15:12  reserved
};


union QFLG_REG {
   Uint16               all;
   struct QFLG_BITS     bit;
};

//----------------------------------------------------
// QEP interrupt force register bit definitions */                                    
struct QFRC_BITS {          // bits   description
   Uint16 reserved:1;       // 0      Reserved
   Uint16 PCE:1;            // 1      Position counter error
   Uint16 PHE:1;            // 2      Quadrature phase error
   Uint16 QDC:1;            // 3      Quadrature dir change
   Uint16 WTO:1;            // 4      Watchdog timeout
   Uint16 PCU:1;            // 5      Position counter underflow
   Uint16 PCO:1;            // 6      Position counter overflow
   Uint16 PCR:1;            // 7      Position compare ready
   Uint16 PCM:1;            // 8      Position compare match
   Uint16 SEL:1;            // 9      Strobe event latch
   Uint16 IEL:1;            // 10     Event latch
   Uint16 UTO:1;            // 11     Unit timeout
   Uint16 rsvd2:4;          // 15:12  reserved
};


union QFRC_REG {
   Uint16               all;
   struct QFRC_BITS     bit;
};

// V1.1 Added UPEVNT (bit 7) This reflects changes 
// made as of F2833x Rev A devices
//----------------------------------------------------
// QEP status register bit definitions */                                    
struct QEPSTS_BITS {          // bits   description
   Uint16 PCEF:1;             // 0      Position counter error
   Uint16 FIMF:1;             // 1      First index marker
   Uint16 CDEF:1;             // 2      Capture direction error
   Uint16 COEF:1;             // 3      Capture overflow error
   Uint16 QDLF:1;             // 4      QEP direction latch
   Uint16 QDF:1;              // 5      Quadrature direction
   Uint16 FIDF:1;             // 6      Direction on first index marker
   Uint16 UPEVNT:1;           // 7      Unit position event flag
   Uint16 rsvd1:8;            // 15:8   reserved
};

union QEPSTS_REG {
   Uint16               all;
   struct QEPSTS_BITS   bit;
};

//----------------------------------------------------

struct EQEP_REGS {
   Uint32              QPOSCNT;   // Position counter 
   Uint32              QPOSINIT;  // Position counter init
   Uint32              QPOSMAX;   // Maximum position count
   Uint32              QPOSCMP;   // Position compare
   Uint32              QPOSILAT;  // Index position latch
   Uint32              QPOSSLAT;  // Strobe position latch
   Uint32              QPOSLAT;   // Position latch
   Uint32              QUTMR;     // Unit timer
   Uint32              QUPRD;     // Unit period
   Uint16              QWDTMR;    // QEP watchdog timer
   Uint16              QWDPRD;    // QEP watchdog period
   union  QDECCTL_REG  QDECCTL;   // Quadrature decoder control
   union  QEPCTL_REG   QEPCTL;    // QEP control 
   union  QCAPCTL_REG  QCAPCTL;   // Quadrature capture control     
   union  QPOSCTL_REG  QPOSCTL;   // Position compare control
   union  QEINT_REG    QEINT;     // QEP interrupt control        
   union  QFLG_REG     QFLG;      // QEP interrupt flag
   union  QFLG_REG     QCLR;      // QEP interrupt clear                   
   union  QFRC_REG     QFRC;      // QEP interrupt force                   
   union  QEPSTS_REG   QEPSTS;    // QEP status
   Uint16              QCTMR;     // QEP capture timer
   Uint16              QCPRD;     // QEP capture period
   Uint16              QCTMRLAT;  // QEP capture latch
   Uint16              QCPRDLAT;  // QEP capture period latch
   Uint16              rsvd1[30]; // reserved
};

    
 

//---------------------------------------------------------------------------
// GPI/O External References & Function Declarations:
//
extern volatile struct EQEP_REGS EQep1Regs;
extern volatile struct EQEP_REGS EQep2Regs;



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

#endif  // end of DSP2833x_EQEP_H definition

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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美电视剧在线观看完整版| 91精品国产全国免费观看| 56国语精品自产拍在线观看| 亚洲婷婷国产精品电影人久久| 久久精品国产亚洲aⅴ| 在线播放中文字幕一区| 亚洲一区二区三区中文字幕 | 欧美美女网站色| 一区二区三区精品在线观看| 国产在线国偷精品产拍免费yy| 日韩一区二区三区免费观看| 丝袜亚洲另类欧美| 欧美群妇大交群的观看方式| 亚洲风情在线资源站| 在线观看欧美精品| 香蕉加勒比综合久久| 欧美日韩精品一区二区在线播放| 亚洲一线二线三线视频| 在线精品视频免费观看| 亚洲成人av电影在线| 欧美日本国产一区| 蜜臀av性久久久久蜜臀aⅴ| 日韩小视频在线观看专区| 蜜臀av性久久久久蜜臀aⅴ| 91精品国产欧美日韩| 美女视频网站黄色亚洲| 日韩欧美激情一区| 国产综合色精品一区二区三区| 精品国产不卡一区二区三区| 国产精品白丝jk白祙喷水网站| 国产欧美日韩另类视频免费观看| 成人免费观看av| 亚洲综合另类小说| 欧美一区二区三区视频| 一本色道久久综合亚洲91| 亚洲欧美国产毛片在线| 欧美男生操女生| 国产精品综合一区二区三区| 久久久国产精华| 99国产精品久久久久久久久久久| 亚洲第一二三四区| 久久视频一区二区| 91蜜桃免费观看视频| 视频在线观看一区| 欧美国产一区二区| 欧美日韩精品一区二区| 国产不卡一区视频| 免费在线观看一区| 亚洲午夜三级在线| ...av二区三区久久精品| 精品国产一二三区| 欧美蜜桃一区二区三区| 91丝袜美腿高跟国产极品老师| 国产曰批免费观看久久久| 性久久久久久久久久久久 | 久久久久久黄色| 欧美日韩精品欧美日韩精品一 | 99久久国产综合精品女不卡| 免费观看日韩av| 亚洲永久精品国产| 亚洲精品一二三四区| 中文成人av在线| 久久精品一区二区三区四区| 欧美一区二区网站| 欧美色图免费看| 91免费视频网| 97久久精品人人做人人爽| 成人午夜激情在线| 国产白丝网站精品污在线入口| 久久成人麻豆午夜电影| 日本成人在线网站| 五月天激情综合| 五月天中文字幕一区二区| 亚洲综合精品自拍| 一区二区三区久久久| 国产精品自拍一区| 国产精品123区| 国产一区二区三区av电影| 久久国产视频网| 精品一区二区三区不卡 | 乱一区二区av| 麻豆精品在线视频| 激情深爱一区二区| 国产精品一区二区久久精品爱涩| 狠狠色狠狠色综合日日91app| 玖玖九九国产精品| 经典三级视频一区| 国产一区二区三区观看| 国产精品一区不卡| 波多野结衣中文字幕一区 | 石原莉奈在线亚洲三区| 日韩不卡一区二区三区| 日本大胆欧美人术艺术动态| 另类欧美日韩国产在线| 狠狠色丁香久久婷婷综合丁香| 国产一区三区三区| 成人av第一页| 欧美在线影院一区二区| 91麻豆精品91久久久久久清纯 | 一本到不卡精品视频在线观看 | 国产成人免费高清| 91免费视频网| 亚洲日本一区二区三区| 一区二区国产盗摄色噜噜| 首页亚洲欧美制服丝腿| 国产一区在线不卡| 91首页免费视频| 欧美精品一卡二卡| 久久综合狠狠综合久久激情| 国产精品天美传媒沈樵| 夜夜精品浪潮av一区二区三区| 日本午夜一区二区| 高清视频一区二区| 欧美裸体bbwbbwbbw| 欧美成人vr18sexvr| **性色生活片久久毛片| 免费观看成人鲁鲁鲁鲁鲁视频| 国产成人免费高清| 欧美精品高清视频| 中文字幕不卡在线播放| 五月天精品一区二区三区| 国产一区二区主播在线| 欧美在线不卡一区| 久久嫩草精品久久久久| 亚洲午夜在线视频| 国模套图日韩精品一区二区| 色哟哟亚洲精品| 精品成人免费观看| 亚洲一二三级电影| 国产iv一区二区三区| 欧美美女bb生活片| 亚洲欧洲综合另类| 国产一区欧美二区| 欧美一区二区观看视频| 亚洲欧美综合另类在线卡通| 另类小说欧美激情| 欧美日韩国产综合视频在线观看| 国产欧美日韩精品一区| 久久国产视频网| 欧美日韩免费电影| 亚洲欧美偷拍另类a∨色屁股| 国内精品写真在线观看| 欧美伦理视频网站| 一区二区高清视频在线观看| 成人午夜碰碰视频| 久久综合九色综合97_久久久| 水蜜桃久久夜色精品一区的特点| 91免费版pro下载短视频| 欧美激情一区二区三区四区| 精品在线观看视频| 欧美一区二区视频在线观看2022| 一区二区三区免费网站| 久久亚洲精精品中文字幕早川悠里| 亚洲福利视频导航| 在线观看亚洲成人| 自拍偷拍国产精品| 99精品偷自拍| 亚洲视频1区2区| 波波电影院一区二区三区| 中文字幕av在线一区二区三区| 国产原创一区二区| 欧美sm极限捆绑bd| 国内精品久久久久影院一蜜桃| 欧美一级片在线| 看片的网站亚洲| 欧美xfplay| 国产一区二区三区免费| 久久久久久久久久久久久夜| 九九热在线视频观看这里只有精品| 7777精品久久久大香线蕉| 五月婷婷激情综合网| 欧美精品高清视频| 青青草原综合久久大伊人精品优势| 欧美日韩免费一区二区三区 | 香蕉久久一区二区不卡无毒影院 | 成人av免费在线播放| 国产精品理伦片| 91蝌蚪国产九色| 一区二区三区精品视频| 欧美探花视频资源| 五月天中文字幕一区二区| 欧美高清hd18日本| 久久成人麻豆午夜电影| 久久久久久久久久久电影| 成人免费看片app下载| 自拍偷拍亚洲欧美日韩| 欧美亚洲免费在线一区| 麻豆精品一二三| 亚洲国产成人自拍| 日本精品视频一区二区| 五月天欧美精品| 久久青草国产手机看片福利盒子| 成人毛片视频在线观看| 亚洲精品菠萝久久久久久久| 777奇米成人网| 国产精品一区免费视频| 亚洲精品久久7777| 91精品国产丝袜白色高跟鞋| 国产福利91精品一区| 亚洲女子a中天字幕|