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

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

?? csl_tmr.h

?? ccs下對dm6446的測試程序
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*  ============================================================================ *   Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005 * *   Use of this software is controlled by the terms and conditions found in the *   license agreement under which this software has been supplied. *   =========================================================================== *//** @file csl_tmr.h * *  @brief  Header file for functional layer of ARM TIMER CSL * *  Description *  - Comprises the function declarations for the various APIs and the *    associated enumerations, type and symbol definitions for the TIMER *    module. * *  Path: \\(CSLPATH)\\ipmodules\\timer\\src *//** @mainpage TIMER CSL 3.x * *  @section Introduction * *  @subsection xxx Purpose and Scope *  The purpose of this document is to identify a set of common CSL APIs for *  the TIMER Module across various devices. The CSL developer is expected *  to refer to this document while designing APIs for these modules. Some *  of the listed APIs may not be applicable to a given TIMER Module. While *  in other cases this list of APIs may not be sufficient to cover all the *  features of a particular TIMER Module. The CSL developer should use his *  discretion in designing new APIs or extending the existing ones to cover *  these. * *  @subsection aaa Terms and Abbreviations *    -# CSL:  Chip Support Library *    -# API:  Application Programmer Interface * * @subsection References *    -# CSL-001-DES, CSL 3.x Design Specification Document Version 1.02 *//* ============================================================================= *  Revision History *  =============== *  1-Sept-2004 HMM File Created. * ============================================================================= */#ifndef _CSL_TMR_H_#define _CSL_TMR_H_#ifdef __cplusplusextern "C" {#endif#include <csl.h>#include <csl_error.h>#include <csl_types.h>#include <cslr_tmr.h>#include <soc.h>/* *  General purpose global typedef declarations *//** @brief       Enumeration of supported command operations * *  This enum describes the commands used to control the GP timer through *  @a CSL_tmrHwControl () */typedef enum {    /**     * @brief   Loads the GP Timer Period Register 12     * @param   Uint32 *     */    CSL_TMR_CMD_LOAD_PRD12 = 0,    /**     * @brief   Loads the GP Timer Period Register 34     * @param   Uint32 *     */    CSL_TMR_CMD_LOAD_PRD34 = 1,    /**     * @brief   Loads the GP Timer Pre-scalar Register 34     * @param   Uint8 *     */    CSL_TMR_CMD_LOAD_PRESCALAR34 = 2,    /**     * @brief   Enable the GP timer 12     * @param   CSL_TmrEnamode     */    CSL_TMR_CMD_START12 = 3,    /**     * @brief   Enable the GP timer 34     * @param   CSL_TmrEnamode     */    CSL_TMR_CMD_START34 = 4,    /**     * @brief   Stop the GP timer 12     * @param   None     */    CSL_TMR_CMD_STOP12 = 5,    /**     * @brief   Stop the GP timer 34     * @param   None     */    CSL_TMR_CMD_STOP34 = 6,    /**     * @brief   Reset the GP timer 12     * @param   None     */    CSL_TMR_CMD_RESET12 = 7,    /**     * @brief   Reset the GP timer 34     * @param   None     */    CSL_TMR_CMD_RESET34 = 8,    /**     * @brief   Set the GPIO data for timer input 12     * @param   Bool     */    CSL_TMR_CMD_SET_GPIO_DATA_TINP12 = 9,    /**     * @brief   Set the GPIO data for timer output 12     * @param   Bool     */    CSL_TMR_CMD_SET_GPIO_DATA_TOUTP12 = 10,    /**     * @brief   Set the GPIO data for timer input 34     * @param   Bool     */    CSL_TMR_CMD_SET_GPIO_DATA_TINP34 = 11,    /**     * @brief   Set the GPIO data for timer output 34     * @param   Bool     */    CSL_TMR_CMD_SET_GPIO_DATA_TOUTP34 = 12,    /**     * @brief   Configure the GP Timer input 12 mode     * @param   Bool     */    CSL_TMR_CMD_CONFIG_GPIO_DIR_TINP12 = 13,    /**     * @brief   Configure the GP Timer input 34 mode     * @param   Bool     */    CSL_TMR_CMD_CONFIG_GPIO_DIR_TINP34 = 14,    /**     * @brief   Configure the GP Timer output 12 mode     * @param   Bool     */    CSL_TMR_CMD_CONFIG_GPIO_DIR_TOUTP12 = 15,    /**     * @brief   Configure the GP Timer output 34 mode     * @param   Bool     */    CSL_TMR_CMD_CONFIG_GPIO_DIR_TOUTP34 = 16,    /**     * @brief   Start the timer in GPtimer64 OR Chained mode     * @param   None     */    CSL_TMR_CMD_START64 = 17,    /**     * @brief   Stop the timer of GPtimer64 OR Chained     * @param   None     */    CSL_TMR_CMD_STOP64 = 18,    /**     * @brief   Reset the timer of GPtimer64 OR Chained     * @param   None     */    CSL_TMR_CMD_RESET64 = 19} CSL_TmrHwControlCmd;/** @brief       Enumeration of supported status query operations * *  This enum describes the commands used to get status of various parameters *  of the GP timer. These values are used in @a CSL_tmrGetHwStatus () */typedef enum {    /**     * @brief   Gets the current value of the GP timer TIMx register     * @param   Uint32 *     */    CSL_TMR_QUERY_COUNT12 = 0,    /**     * @brief   Gets the current value of the GP timer TIMx register     * @param   Uint32 *     */    CSL_TMR_QUERY_COUNT34 = 1,    /**     * @brief   This query command returns the status     *          about whether the GP timer12 is running or stopped     * @param   CSL_TmrTstat     */    CSL_TMR_QUERY_TSTAT12 = 2,    /**     * @brief   This query command returns the status     *          about whether the GP timer12 is running or stopped     * @param   CSL_TmrTstat     */    CSL_TMR_QUERY_TSTAT34 = 3,    /**     * @brief   Get the GPIO data from timer input12     * @param   Bool     */    CSL_TMR_QUERY_GPIO_DATA_TINP12 = 4,    /**     * @brief   Get the GPIO data from timer output12     * @param   Bool     */    CSL_TMR_QUERY_GPIO_DATA_TOUTP12 = 5,    /**     * @brief   Get the GPIO data from timer input34     * @param   Bool     */    CSL_TMR_QUERY_GPIO_DATA_TINP34 = 6,    /**     * @brief   Get the GPIO data from timer output34     * @param   Bool     */    CSL_TMR_QUERY_GPIO_DATA_TOUTP34 = 7,    /**     * @brief   This query command returns the GP timer's     *          Peripheral Identification number     * @param   CSL_TmrPidNumber     */    CSL_TMR_QUERY_PID_NUMBER = 8} CSL_TmrHwStatusQuery;/** @brief  Enumeration for timer input (gated/ not gated) */typedef enum {    /** timer input not gated */    CSL_TMR_CLOCK_INP_NOGATE = 0,    /** timer input gated */    CSL_TMR_CLOCK_INP_GATE = 1} CSL_TmrIpGate;/** @brief  Enumeration for timer clock source selection */typedef enum {    /** timer clock VBUS source selection */    CSL_TMR_CLKSRC_VBUS = 0,    /** timer clock Timer input pin source selection */    CSL_TMR_CLKSRC_TMRINP = 1} CSL_TmrClksrc;/** @brief  Enumeration for timer Enable Mode */typedef enum {    /** The timer is disabled and maintains current value */    CSL_TMR_ENAMODE_DISABLE = 0,    /**  The timer is enabled one time */    CSL_TMR_ENAMODE_ENABLE  = 1,    /**  The timer is enabled continuously */    CSL_TMR_ENAMODE_CONT = 2} CSL_TmrEnamode;/** @brief  Enumeration for timer pulse width */typedef enum {    /** One timer clock cycle */    CSL_TMR_PWID_ONECLK = 0,    /** Two timer clock cycle */    CSL_TMR_PWID_TWOCLKS = 1,    /** Three timer clock cycle */    CSL_TMR_PWID_THREECLKS = 2,    /** Four timer clock cycle */    CSL_TMR_PWID_FOURCLKS = 3} CSL_TmrPulseWidth;/** @brief  Enumeration for timer mode (pulse/clock) */typedef enum {    /** Pulse mode */    CSL_TMR_CP_PULSE = 0,    /** Clock mode */    CSL_TMR_CP_CLOCK = 1} CSL_TmrClockPulse;/** @brief  Enumeration for timer input (uninverted/inverted) */typedef enum {    /** Uninverted timer input drives timer */    CSL_TMR_INVINP_UNINVERTED = 0,    /** Inverted timer input drives timer */    CSL_TMR_INVINP_INVERTED = 1} CSL_TmrInvInp;/** @brief  Enumeration for timer output (uninverted/inverted) */typedef enum {    /** Uninverted timer output */    CSL_TMR_INVOUTP_UNINVERTED = 0,    /** Inverted timer output */    CSL_TMR_INVOUTP_INVERTED = 1} CSL_TmrInvOutp;/** @brief  Enumeration for timer mode */typedef enum {    /** The timer is in 64-bit GP timer mode */    CSL_TMR_TIMMODE_GPT = 0,    /** The timer is in dual 32-bit timer, unchained mode */    CSL_TMR_TIMMODE_DUAL_UNCHAINED = 1,    /** The timer is in 64-bit Watchdog timer mode */    CSL_TMR_TIMMODE_WDT = 2,    /** The timer is in dual 32-bit timer, chained mode */    CSL_TMR_TIMMODE_DUAL_CHAINED = 3} CSL_TmrMode;/** @brief  Enumeration for timer state */typedef enum {    /** timer TIMxx is in reset */    CSL_TMR_TIMxxRS_RESET_ON = 0,    /** timer TIM34 is not in reset. TIM34 can be used as a 32-bit timer */    CSL_TMR_TIMxxRS_RESET_OFF = 1} CSL_TmrState;/** @brief Structure to get the PID number */typedef struct {    /** Identifies the type of peripheral */    Uint8 tmrType;    /** Identifies the class of peripheral */    Uint8 tmrClass;    /** Identifies the revision level of the timer */    Uint8 tmrRevision;} CSL_TmrPidNumber;/** @brief  Enumeration for timer T status */typedef enum {    /** Timer status drives High */    CSL_TMR_TSTAT_HIGH = 1,    /** Timer status drives Low */    CSL_TMR_TSTAT_LOW = 0} CSL_TmrTstat;/** * @brief Hardware setup structure. */typedef struct {    /** Enable the timer input TINP34 to source the interrupt     *  or event in GPIO mode     */    Bool tmrGpInt34Eni;    /** Enable the timer output TOUTP34 to source the interrupt     *  or event in GPIO mode     */    Bool tmrGpInt34Eno;    /** Invert bit for timer input TINP34 when it is used to source     *  an interrupt or event (GPINT34_ENI=1)     */    Bool tmrGpInt34Invi;    /** Invert bit for timer output TOUTP34 when it is used to source     *  an interrupt or event (GPINT34_ENO=1)     */    Bool tmrGpInt34Invo;    /** Enable the timer input TINP12 to source the interrupt     *  or event in GPIO mode     */    Bool tmrGpInt12Eni;    /** Enable the timer output TOUTP12 to source the interrupt     *  or event in GPIO mode     */    Bool tmrGpInt12Eno;    /** Invert bit for timer input TINP12 when it is used to source     *  an interrupt or event (GPINT12_ENI=1)     */    Bool tmrGpInt12Invi;    /** Invert bit for timer output TOUTP12 when it is used to source     *  an interrupt or event (GPINT12_ENO=1)     */    Bool tmrGpInt12Invo;    /**Enable the timer input TINP34 in GPIO mode */    Bool tmrGpIoEni34;    /**Enable the timer output TOUTP34 in GPIO mode */    Bool tmrGpIoEno34;    /**Enable the timer input TINP12 in GPIO mode */    Bool tmrGpIoEni12;    /** Enable the timer output TOUTP12 in GPIO mode */    Bool tmrGpIoEno12;    /** Controls the direction of the timer output TOUTP34 in GPIO mode */    Bool tmrGpDirDiro34;    /** Controls the direction of the timer input TINP34 in GPIO mode */    Bool tmrGpDirDiri34;    /** Controls the direction of the timer output TOUTP12 in GPIO mode */    Bool tmrGpDirDiro12;    /** Controls the direction of the timer input TINP12 in GPIO mode */    Bool tmrGpDirDiri12;    /** 32 bit load value to be loaded to Timer Period Register 12 */    Uint32 tmrTimerPeriod12;    /** 32 bit load value to be loaded to Timer Period Register 34 */    Uint32 tmrTimerPeriod34;    /** 32 bit load value to be loaded to Timer Counter Register 12 */    Uint32 tmrTimerCounter12;    /** 32 bit load value to be loaded to Timer Counter Register 34 */    Uint32 tmrTimerCounter34;    /** TIEN determines if the timer clock is gated by the timer input.     *  Applicable only when CLKSRC=0     */    CSL_TmrIpGate tmrIpGate34;    /** CLKSRC determines the selected clock source for the timer */    CSL_TmrClksrc tmrClksrc34;    /** Pulse width. used in pulse mode (C/P_=0) by the timer */    CSL_TmrPulseWidth tmrPulseWidth34;    /** Clock/Pulse mode for timer34 output */    CSL_TmrClockPulse tmrClockPulse34;    /** Timer input inverter control. Only affects operation     *  if CLKSRC=1, Timer Input pin     */    CSL_TmrInvInp tmrInvInp34;    /** Timer output inverter control */    CSL_TmrInvOutp tmrInvOutp34;    /** TIEN determines if the timer clock is gated by the timer input.     *  Applicable only when CLKSRC=0     */    CSL_TmrIpGate tmrIpGate12;    /** CLKSRC determines the selected clock source for the timer */    CSL_TmrClksrc tmrClksrc12;    /** Pulse width. used in pulse mode (C/P_=0) by the timer */    CSL_TmrPulseWidth tmrPulseWidth12;    /** Clock/Pulse mode for timer12 output */    CSL_TmrClockPulse tmrClockPulse12;    /** Timer input inverter control. Only affects operation     *  if CLKSRC=1, Timer Input pin     */    CSL_TmrInvInp tmrInvInp12;    /** Timer output inverter control */    CSL_TmrInvOutp tmrInvOutp12;    /** TIM34 pre-scalar counter specifies the count for TIM34 */    Uint8 tmrPreScalarCounter34;    /** Configures the GP timer in GP mode or in     *  general purpose timer mode or Dual 32 bit timer mode     */    CSL_TmrMode             tmrTimerMode;} CSL_TmrHwSetup;/** *  @brief Config-structure Used to configure the GP timer using *  @a CSL_tmrHwSetupRaw() */typedef struct CSL_TmrConfig {    /** Emulation Management/Clock Speed Registers */    Uint32 EMUMGT_CLKSPD;    /** GPIO IO Interrupt Control and Enable Registers */    Uint32 GPINT_GPEN;    /** GPTDAT_GPDIR */    Uint32 GPTDAT_GPDIR;    /** Timer Counter Register 12 */    Uint32 TIM12;    /** Timer Counter Register 34 */    Uint32 TIM34;    /** Timer Period Register 12 */    Uint32 PRD12;    /** Timer Period Register 34 */    Uint32 PRD34;    /** Timer Control Register */    Uint32 TCR;    /** Timer Global Control Register */    Uint32 TGCR;    /** Watchdog Timer Control Register */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产乱码久久久久久牛牛| 老司机午夜精品99久久| 国产美女一区二区三区| 欧美日韩成人在线| 亚洲大型综合色站| 欧美视频第二页| 一区二区三区四区激情| 91麻豆精品在线观看| 国产精品免费久久久久| 国内一区二区在线| 2020国产精品自拍| 国产乱人伦偷精品视频免下载| 精品国产网站在线观看| 国产综合久久久久久鬼色| 在线亚洲高清视频| 一区二区三区四区五区视频在线观看| 91色porny蝌蚪| 亚洲综合免费观看高清完整版 | 久久久国产午夜精品| 国产福利91精品一区| 国产精品免费av| 欧美日韩午夜在线| 久久精品久久综合| 国产精品久久久久久久久免费桃花 | 黄色成人免费在线| 亚洲欧洲成人精品av97| 欧美精品日日鲁夜夜添| 国产精品一品视频| 亚洲在线成人精品| 久久精品欧美一区二区三区麻豆| 99久久伊人精品| 日韩国产精品久久| 亚洲色图.com| 欧美成人aa大片| 色偷偷久久人人79超碰人人澡| 另类综合日韩欧美亚洲| 亚洲区小说区图片区qvod| 日韩美女在线视频| 欧洲国产伦久久久久久久| 国产一区二区剧情av在线| 亚洲一区二区av在线| 久久久久久久久久久久久女国产乱 | 婷婷六月综合网| 国产日产亚洲精品系列| 欧美精品v国产精品v日韩精品 | 蜜臀精品久久久久久蜜臀| 最新国产の精品合集bt伙计| 91精品国产品国语在线不卡| av在线不卡电影| 麻豆精品视频在线观看免费| 一区二区三区四区亚洲| 日本一区二区成人| 26uuu欧美| 91精品国产一区二区| 日本福利一区二区| 白白色亚洲国产精品| 国产永久精品大片wwwapp| 亚洲电影视频在线| 亚洲少妇30p| 日本一区二区三级电影在线观看| 欧美一级在线免费| 欧美日韩视频在线观看一区二区三区| 波多野结衣中文一区| 成人一级黄色片| 国产综合色视频| 精品一区二区三区久久| 日本不卡123| 日韩福利视频导航| 日韩电影免费在线| 日产精品久久久久久久性色| 亚洲最色的网站| 亚洲伊人色欲综合网| 一区二区三区精品视频| 中文字幕综合网| 国产精品美日韩| 中文字幕一区二区三区在线不卡 | 亚洲国产wwwccc36天堂| 一区二区三区四区视频精品免费 | 在线免费一区三区| 欧洲激情一区二区| 欧美美女一区二区三区| 欧美在线免费播放| 欧美视频一区在线| 欧美亚洲高清一区二区三区不卡| 色综合一个色综合亚洲| 在线视频一区二区三| 色综合久久综合| 欧美自拍丝袜亚洲| 欧美精品在欧美一区二区少妇| 欧美日韩在线播放三区四区| 精品视频在线免费| 欧美一级理论片| 精品国产麻豆免费人成网站| 2014亚洲片线观看视频免费| 久久综合久久鬼色| 亚洲国产成人在线| 亚洲激情综合网| 午夜电影久久久| 国产一区福利在线| 大尺度一区二区| 91丨porny丨国产| 欧美在线短视频| 欧美大尺度电影在线| 久久久久久电影| 亚洲靠逼com| 久久福利视频一区二区| 99热99精品| 欧美男女性生活在线直播观看| 日韩精品一区二区三区视频| 欧美激情一区三区| 五月开心婷婷久久| 国产黑丝在线一区二区三区| 色偷偷88欧美精品久久久| 欧美日韩免费观看一区三区| 精品少妇一区二区三区在线播放 | 色综合天天做天天爱| 欧美精品久久天天躁| 国产亚洲成aⅴ人片在线观看| 国产精品久久久久久久久果冻传媒| 一二三四社区欧美黄| 久久精品国产99国产| 91在线视频播放地址| 日韩一区二区免费在线观看| 国产精品传媒在线| 理论电影国产精品| 色婷婷综合中文久久一本| 26uuu国产电影一区二区| 亚洲综合无码一区二区| 国产成人在线免费观看| 欧美日韩国产一级二级| 日本一区二区三区高清不卡| 午夜电影一区二区三区| 99久久久免费精品国产一区二区| 日韩一区二区精品葵司在线 | 亚洲一二三四区不卡| 国产一区在线观看视频| 欧美三日本三级三级在线播放| 久久久美女艺术照精彩视频福利播放| 一区二区三区免费观看| 国产成人精品免费| 日韩一卡二卡三卡| 亚洲视频狠狠干| 国产一区二区调教| 欧美精品 国产精品| 亚洲欧美激情小说另类| 懂色一区二区三区免费观看 | 中文av一区特黄| 韩国v欧美v亚洲v日本v| 欧美一区二区在线播放| 亚洲福中文字幕伊人影院| 91麻豆国产福利精品| 国产片一区二区| 极品少妇xxxx精品少妇| 欧美一区二区三区电影| 午夜精品久久久久久久| 欧美综合天天夜夜久久| 亚洲男人天堂av网| 97久久超碰精品国产| 中文字幕日本不卡| 成人黄色网址在线观看| 久久久另类综合| 精品一区二区三区免费视频| 欧美日韩一区二区在线视频| 亚洲美女精品一区| 色综合久久综合网欧美综合网 | 亚洲成人在线观看视频| 日本高清视频一区二区| 一区二区国产盗摄色噜噜| 91国产丝袜在线播放| 亚洲精品高清视频在线观看| 99re热视频这里只精品| 亚洲欧美综合色| 91啪在线观看| 亚洲伊人伊色伊影伊综合网| 精品视频免费在线| 人人精品人人爱| 久久亚洲一区二区三区四区| 国产成人夜色高潮福利影视| 日本一二三不卡| 色呦呦国产精品| 亚洲一区在线观看视频| 欧美群妇大交群中文字幕| 日韩av电影天堂| 久久精品亚洲一区二区三区浴池| 国产精品亚洲一区二区三区妖精| 国产精品丝袜91| 91福利在线观看| 日本亚洲电影天堂| 久久久亚洲高清| 不卡一卡二卡三乱码免费网站| 国产精品久久福利| 欧美影院一区二区| 久久99国内精品| 中文字幕在线一区免费| 日本道色综合久久| 免费成人在线视频观看| 国产欧美一区二区三区鸳鸯浴 | 日韩激情视频网站| 亚洲精品一区二区精华| 97se亚洲国产综合自在线观|