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

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

?? csl_vpbe.h

?? TI的DM6446的硬件平臺搭建的相關例子
?? H
字號:
/** @mainpage VPBE 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 VPBE 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 VPBE module. While other cases
 * this list of APIs may not be sufficient to cover all the features of a
 * particular VPBE Module. The CSL developer should use his discretion 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 DocumentVersion 1.02
 *
 */

/** @file csl_vpbe.h
 *
 * @brief    Header file for functional layer of CSL
 *
 * Description
 *    - The different enumerations, structure definitions
 *      and function declarations
 *
 * Modification 1
 *    - modified on: 10/11/2004
 *    - reason: Created the sources
 *
 *
 * @date 11th October, 2004
 * @author Santosh Narayanan.
 *
 */
#ifndef _CSL_VPBE_H_
#define _CSL_VPBE_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <cslr.h>
#include <csl_error.h>
#include <csl_sysData.h>
#include <csl_types.h>
#include <cslr_vpbe.h>


/**************************************************************************\
* VPBE global typedef declarations
\**************************************************************************/

/** @brief This object contains the reference to the instance of VPBE opened
 *  using the @a CSL_vpbeOpen().
 *
 *  The pointer to this, is passed to all VPBE CSL APIs.
 */
typedef struct CSL_VpbeObj {
        /** This is the mode which the CSL instance is opened     */
        CSL_OpenMode openMode;
        /** This is a unique identifier to the instance of VPBE being
         *  referred to by this object
         */
        CSL_Uid uid;
        /** This is the variable that contains the current state of a
         *  resource being shared by current instance of VPBE with
         *  other peripherals
         */
        CSL_Xio xio;
        /** This is a pointer to the registers of the instance of VPBE
         *  referred to by this object
         */  
      CSL_VpbeRegsOvly regs;  
      /** This is the instance of VPBE being referred to by this object  */
      CSL_VpbeNum perNum;
}CSL_VpbeObj;

typedef struct CSL_VpbeObj *CSL_VpbeHandle;

/** @brief This has all the fields required to configure VPBE at Power Up
 *  (After a Hardware Reset) or a Soft Reset
 *
 *  This structure is used to setup or obtain existing setup of
 *  VPBE using @a CSL_vpbeHwSetup() function.
 */
 
typedef struct CSL_VpbeHwSetup_  CSL_VpbeHwSetup;

/** @brief Enumeration for queries passed to @a CSL_vpbeGetHwStatus()
 *
 * This is used to get the status of different operations or to get the
 * existing setup of VPBE.
 */
typedef enum {
    /** Get the Peripheral ID, Class and Rev, number (response type: @a CSL_VpbeClassRevStatus *)        */
    CSL_VPBE_QUERY_CLASS_REV_STATUS = 1
} CSL_VpbeHwStatusQuery;

/** @brief VPBE Periphreal ID, Class and Revision number structure
*/

typedef struct CSL_VpbeClassRevStatus_{
    /** Peripheral identification */
    Uint16 peripheralID;
    /** Class information */
    Uint16 classID;
    /** Revision number */
    Uint16 revNum;
}CSL_VpbeClassRevStatus;
	

/** @brief Enumeration for queries passed to @a CSL_vpbeHwControl()
 *
 * This is used to select the commands to control the operations
 * existing setup of VPBE. The arguments to be passed with each
 * enumeration if any are specified next to the enumeration.
 */
 typedef enum {
      /** Full clock rate select : no argument 	 */
      CSL_VPBE_CMD_CLKSEL_FULL ,
      /** Half clock rate select : no argument 	 */
      CSL_VPBE_CMD_CLKSEL_HALF 
} CSL_VpbeHwControlCmd;



/**************************************************************************\
* VPBE global function declarations
\**************************************************************************/

/**  This function is idempotent in that calling it many times is same as
 *   calling it once. This function initializes the MS CSL data structures.
 *
 * <b> Usage Constraints: </b>
 * CSL system initialization must be successfully completed by invoking
 * @a CSL_sysInit() before calling this function. This function should be
 * called before using any of the CSL APIs
 *
 * @b Example:
 * @verbatim


   ...
   CSL_sysInit();
   if (CSL_SOK != CSL_vpbeInit()) {
       return;
   }
   @endverbatim
 *
 * @return returns the status of the operation
 *
 */
CSL_Status  CSL_vpbeInit(
    void
);


/** The open call sets up the data structures for the particular instance of
 *  VPBE device. The device can be re-opened anytime after it has been normally
 *  closed if so required. VPBE Hardware setup will be performed at the end of
 *  the open call only if the HwSetup Pointer supplied was non- NULL. The handle
 *  returned by this call is input as an essential argument for rest of the APIs
 *  described for this module.
 *
 *  <b> Usage Constraints: </b>
 *  The CSL system as well as VPBE must be successfully initialized
 *  via @a CSL_sysInit() and @a CSL_vpbeInit() before calling this
 *  function. Memory for the @a CSL_vpbeObj must be allocated outside
 *  this call. This object must be retained while usage of this peripheral.
 *
 *  @b Example:
 *  @verbatim

	  CSL_VpbeObj     vpbeObj;
	  CSL_Status       status;
 		...
	  hVpbe = CSL_vpbeOpen(&vpbeObj,
                          CSL_VPBE_0,
                          CSL_EXCLUSIVE,
                          &status);
   @endverbatim
 *
 * @return returns a handle @a CSL_VpbeHandle to the requested instance of
 * VPBE if the call is successful, otherwise, a @a NULL is returned.
 *
 */
CSL_VpbeHandle CSL_vpbeOpen (
     /** Pointer to the object that holds reference to the
      *  instance of VPBE requested after the call
      */
     CSL_VpbeObj              *hVpbeObj,
     /** Instance of VPBE to which a handle is requested
      */
     CSL_VpbeNum              vpbeNum,
     /** Specifies if VPBE should be opened with exclusive or
      *  shared access to the associate pins
      */
     CSL_OpenMode            openMode,
     /** This returns the status (success/errors) of the call
      */
     CSL_Status              *status
);

/**  The Close call releases the resource and appropriate shared pins.
 *
 * <b> Usage Constraints: </b>
 * Both @a CSL_vpbeInit() and @a CSL_vpbeOpen() must be called successfully
 * in that order before @a CSL_vpbeClose() can be called.
 *
 * @b Example:
 * @verbatim


   CSL_VpbeHandle hVpbe;
   ...
   CSL_vpbeClose(hVpbe);
   @endverbatim
 *
 * @return returns the status of the operation (see @a CSL_Status)
 *
 */
CSL_Status  CSL_vpbeClose(
    /** Pointer to the object that holds reference to the
     *  instance of VPBE requested after the call
     */
    CSL_VpbeHandle                         hVpbe
);


/** This function initializes the device registers with the appropriate values
 *  provided through the HwSetup Data structure. This function needs to be called
 *  only if the HwSetup Structure was not previously passed through the Open call.
 *  After the Setup is completed, the serial device is ready for data transfer.
 *  For information passed through the HwSetup Data structure refer
 *  @a CSL_MsHwSetup.
 *
 *  <b> Usage Constraints: </b>
 *  Both @a CSL_vpbeInit() and @a CSL_vpbeOpen() must be called
 *  successfully in that order before this function can be called. The user
 *  has to allocate space for & fill in the main setup structure appropriately
 *  before calling this function
 *
 * @b Example:
 * @verbatim
     CSL_vpbeHandle hVpbe;
     CSL_VpbeHwSetup hwSetup = CSL_VPBE_HWSETUP_DEFAULTS;
     CSL_vpbeHwSetup(hVpbe, &hwSetup);
  @endverbatim
 *
 * @return Returns the status of the setup operation
 *
 */
CSL_Status  CSL_vpbeHwSetup(
    /** Pointer to the object that holds reference to the
     *  instance of VPBE requested after the call
     */
    CSL_VpbeHandle                         hVpbe,
    /** Pointer to setup structure which contains the
     *  information to program VPBE to a useful state
     */
    CSL_VpbeHwSetup                        *setup
);


/** Control operations for the VPBE.  For a particular control operation, the
 *  pointer to the corresponding data type needs to be passed as argument HwControl
 *  function Call. All the arguments (Structure elements included) passed to  the
 *  HwControl function are inputs. For the list of commands supported and argument
 *  type that can be @a void* casted & passed with a particular command refer to
 *  @a CSL_VpbeHwControlCmd.
 *
 *  <b> Usage Constraints: </b>
 *  Both @a CSL_vpbeInit() and @a CSL_vpbeOpen() must be called successfully
 *  in that order before @a CSL_vpbeHwControl() can be called. For the
 *  argument type that can be @a void* casted & passed with a particular command
 *  refer to @a CSL_VpbeHwControlCmd
 *
 * @b Example:
 * @verbatim
       CSL_VpbeHandle hVpbe;
       CSL_Status status;
       ...
       status = CSL_vpbeHwControl(hVpbe,
                                    CSL_VPBE_CMD_ENABLE,
                                   &command);
   @endverbatim
 *
 *  @return returns the status of the operation (see @a CSL_Status)
 *
 */
CSL_Status  CSL_vpbeHwControl(
    /** Pointer to the object that holds reference to the
     *  instance of MS requested after the call
     */
    CSL_VpbeHandle                         hVpbe,
    /** The command to this API indicates the action to be taken
     */
    CSL_VpbeHwControlCmd                   cmd,
    /** An optional argument @a void* casted
     */
    void                                 *arg
);

/** This function is used to read the current device configuration, status flags
 *  and the value present associated registers. Following table details the various
 *  status queries supported and the associated data structure to record the response.
 *  User should allocate memory for the said data type and pass its pointer as an
 *  unadorned void* argument to the status query call. For details about the various
 *  status queries supported and the associated data structure to record the response,
 *  refer to @a CSL_VpbeHwStatusQuery
 *
 *  <b> Usage Constraints: </b>
 *  Both @a CSL_vpbeInit() and @a CSL_vpbeOpen() must be called successfully
 *  in that order before @a CSL_vpbeGetHwStatus() can be called. For the
 *  argument type that can be @a void* casted & passed with a particular command
 *  refer to @a CSL_VpbeHwStatusQuery
 *
 * @b Example:
 * @verbatim
	  CSL_VpbeHandle hVpbe;
	  CSL_Status status;
	  Uint16  *response;
	   ...
	  status = CSL_vpbeGetHwStatus(hVpbe,
                           CSL_VPBE_QUERY_BUS_BUSY,
                                  &response);
   @endverbatim
 *
 * @return Returns the status of the operation (see @a CSL_Status)
 *
 */
CSL_Status  CSL_vpbeGetHwStatus(
   /** Pointer to the object that holds reference to the
    *  instance of VPBE requested after the call
    */
   CSL_VpbeHandle                         hVpbe,
   /** The query to this API which indicates the status
    *  to be returned
    */
   CSL_VpbeHwStatusQuery                  query,
   /** Placeholder to return the status. @a void* casted */
   void                                 *response
);

#ifdef __cplusplus
}
#endif


#endif


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产福利一区二区三区视频在线| 欧美日韩一区二区三区高清| 欧美在线免费观看亚洲| 欧美一区二区三区性视频| 国产精品美女一区二区在线观看| 日本亚洲视频在线| 色女孩综合影院| 中文字幕欧美三区| 久久99精品久久久久久国产越南 | 欧美绝品在线观看成人午夜影视| 久久毛片高清国产| 日本最新不卡在线| 欧洲av一区二区嗯嗯嗯啊| 中文字幕中文字幕在线一区| 另类小说图片综合网| 欧美日韩免费视频| 亚洲国产一区二区a毛片| a美女胸又www黄视频久久| 欧美精品一区二区三| 日韩制服丝袜av| 欧美三级乱人伦电影| 尤物在线观看一区| 91久久免费观看| 亚洲天堂中文字幕| 成a人片亚洲日本久久| 国产女同性恋一区二区| 激情文学综合丁香| 欧美一级久久久久久久大片| 婷婷成人激情在线网| 欧美视频一区二区在线观看| 亚洲综合色丁香婷婷六月图片| 色呦呦国产精品| 亚洲日本欧美天堂| 91麻豆免费在线观看| ●精品国产综合乱码久久久久| 成人av电影在线网| 亚洲欧美日韩综合aⅴ视频| 色综合天天综合网天天看片| 亚洲男帅同性gay1069| 一本色道a无线码一区v| 亚洲最大成人网4388xx| 欧美日韩一区二区三区在线看| 午夜精品一区在线观看| 在线不卡中文字幕播放| 精品一二三四区| 国产女主播视频一区二区| av在线不卡观看免费观看| 亚洲人成人一区二区在线观看| 色欧美日韩亚洲| 免费高清不卡av| 国产日韩在线不卡| 一本大道av伊人久久综合| 亚洲国产另类av| 欧美一区二区精品在线| 国产成人自拍网| 亚洲综合网站在线观看| 欧美一区国产二区| 国产福利一区二区三区视频| 亚洲精品欧美激情| 日韩精品资源二区在线| 成人激情文学综合网| 亚洲韩国精品一区| 久久久久久久电影| 欧美亚洲另类激情小说| 欧美在线免费视屏| 奇米四色…亚洲| 国产精品久久久久久妇女6080 | 欧美三级中文字| 久久精品国产在热久久| 国产精品视频看| 91精品欧美福利在线观看| 国产成人免费在线| 亚洲福利视频三区| 国产日韩欧美激情| 欧美日韩高清一区二区| 风间由美一区二区av101 | 91精品国产高清一区二区三区 | 欧美日韩高清不卡| 成人美女在线观看| 蜜桃视频在线观看一区| 亚洲人123区| 久久精品日产第一区二区三区高清版| 色先锋资源久久综合| 久久99精品视频| 亚洲成人免费在线观看| 国产精品久久久99| 欧美成人综合网站| 在线视频你懂得一区| 国产传媒久久文化传媒| 久久精品免费看| 亚洲va天堂va国产va久| 亚洲人被黑人高潮完整版| 久久久精品黄色| 日韩免费在线观看| 欧美日韩一区在线| 欧美综合久久久| 成人高清免费在线播放| 国产精品亚洲第一| 狠狠色丁香婷婷综合久久片| 天堂蜜桃91精品| 亚洲高清免费观看 | 国产亚洲人成网站| 欧美第一区第二区| 91精品国产福利在线观看| 欧美精品tushy高清| 色女孩综合影院| 91麻豆精品一区二区三区| av电影在线观看不卡| 成人黄色av网站在线| 国产成人午夜电影网| 国产精品一区免费在线观看| 韩国一区二区视频| 国产一区二区免费看| 国产精选一区二区三区| 久久电影国产免费久久电影 | 成人性生交大片免费看视频在线| 国产在线不卡一区| 欧美日韩精品高清| 欧美久久久久久蜜桃| 欧美日韩二区三区| 欧美一区午夜视频在线观看| 日韩午夜精品电影| 久久久精品一品道一区| 欧美激情中文不卡| 亚洲美女视频一区| 日韩在线一二三区| 经典一区二区三区| 成人黄页在线观看| 色素色在线综合| 欧美一区二区三区视频| 久久综合久久综合久久综合| 亚洲国产成人一区二区三区| 中文字幕一区不卡| 亚洲高清视频中文字幕| 麻豆国产欧美一区二区三区| 国产成人精品免费网站| 97久久超碰国产精品电影| 欧美在线短视频| 日韩欧美一区中文| 国产精品国产自产拍高清av| 亚洲黄色小视频| 精品在线亚洲视频| 一本久久a久久精品亚洲| 9191精品国产综合久久久久久| 精品黑人一区二区三区久久| 国产精品第五页| 视频一区在线视频| 国产69精品久久久久毛片| 在线观看91精品国产入口| 精品国产一区二区三区忘忧草 | 国产精品三级av| 亚洲国产裸拍裸体视频在线观看乱了| 国产做a爰片久久毛片| 一本久道久久综合中文字幕 | 亚洲人被黑人高潮完整版| 日本欧美肥老太交大片| 成人综合婷婷国产精品久久免费| 欧美在线视频你懂得| 日本一区二区三区久久久久久久久不 | 美国欧美日韩国产在线播放| 99久久伊人久久99| 精品噜噜噜噜久久久久久久久试看| 欧美国产精品一区二区三区| 五月激情综合婷婷| 91麻豆精品一区二区三区| 久久亚洲综合av| 偷偷要91色婷婷| 91网页版在线| 国产网站一区二区| 免费成人在线观看| 在线免费不卡电影| 日韩一区有码在线| 国产一区 二区 三区一级| 欧美日韩久久一区| 亚洲欧美日韩综合aⅴ视频| 国产高清无密码一区二区三区| 亚洲日本va午夜在线电影| 国产一区欧美一区| 日韩亚洲欧美一区| 日韩avvvv在线播放| 色呦呦一区二区三区| 综合久久久久久| 成人久久18免费网站麻豆 | 一卡二卡三卡日韩欧美| 成人av免费在线| 国产农村妇女精品| 韩国毛片一区二区三区| 91精品国产91综合久久蜜臀| 婷婷国产在线综合| 欧美日韩免费在线视频| 亚洲一区二区欧美| 91久久一区二区| 一区二区三区四区国产精品| 91麻豆精品视频| 亚洲综合一二区| 欧美日韩欧美一区二区| 调教+趴+乳夹+国产+精品| 欧美二区乱c少妇| 另类调教123区| 欧美岛国在线观看|