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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? csl_vpbe.h

?? TI達芬奇dm644x各硬件模塊測試代碼
?? 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


?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一色哟哟哟| 午夜一区二区三区在线观看| 国产乱子伦一区二区三区国色天香| 日韩一区二区三区视频在线观看| 麻豆一区二区99久久久久| 久久综合色婷婷| www.亚洲免费av| 亚洲精品免费电影| 欧美日韩一区二区三区四区五区| 视频一区中文字幕| 精品国产欧美一区二区| 成人精品免费视频| 亚洲国产精品久久一线不卡| 欧美成人一区二区三区| 成人开心网精品视频| 亚洲一区二区在线免费看| 欧美一区二区视频在线观看2020| 国产东北露脸精品视频| 亚洲乱码日产精品bd| 欧美一区二区不卡视频| 国产精品77777竹菊影视小说| 自拍偷拍欧美精品| 777午夜精品免费视频| 国产福利一区二区三区视频| 亚洲黄色片在线观看| 精品国产成人在线影院| 日本韩国视频一区二区| 久久成人av少妇免费| 亚洲精品亚洲人成人网| 欧美成人精品福利| 日本精品一级二级| 国产精品亚洲午夜一区二区三区| 亚洲激情图片小说视频| 久久人人爽人人爽| 欧美三级欧美一级| 成人av网址在线| 麻豆成人免费电影| 亚洲精品伦理在线| 国产片一区二区三区| 91精品黄色片免费大全| 91片在线免费观看| 国产精品一区二区你懂的| 婷婷中文字幕一区三区| 亚洲欧美一区二区在线观看| 日韩精品一区二区三区在线 | 欧美经典一区二区三区| 欧美少妇性性性| 成人免费视频视频| 国产在线视频一区二区三区| 日韩制服丝袜先锋影音| 亚洲精品成人天堂一二三| 中文字幕欧美区| 久久综合网色—综合色88| 日韩一区二区三区电影在线观看| 91九色最新地址| www.欧美精品一二区| 国产精品亚洲а∨天堂免在线| 日本不卡高清视频| 丝瓜av网站精品一区二区| 洋洋成人永久网站入口| 国产精品美女久久久久高潮| 久久久不卡网国产精品一区| 日韩欧美国产不卡| 日韩欧美一区电影| 日韩一区二区影院| 91精品欧美一区二区三区综合在| 欧美日韩成人激情| 欧美日韩午夜精品| 欧美日韩一区二区三区在线| 日本福利一区二区| 在线观看日韩高清av| 色欧美片视频在线观看在线视频| 成人av网址在线| a4yy欧美一区二区三区| aaa亚洲精品一二三区| 99视频在线精品| av综合在线播放| 99精品视频一区二区| 91在线视频18| 99国产精品国产精品久久| 91影院在线免费观看| 91麻豆自制传媒国产之光| 91网站黄www| 欧亚洲嫩模精品一区三区| 欧美主播一区二区三区| 欧美另类一区二区三区| 日韩欧美区一区二| 精品精品国产高清一毛片一天堂| 欧美岛国在线观看| 久久久www成人免费毛片麻豆| 国产精品欧美一级免费| 中文字幕综合网| 午夜精品福利一区二区蜜股av | 国产日韩精品一区二区浪潮av| 国产色综合久久| 国产精品看片你懂得| 亚洲精品国久久99热| 丝袜亚洲另类欧美综合| 久久疯狂做爰流白浆xx| 国产精品77777竹菊影视小说| 99久久精品免费精品国产| 欧美视频完全免费看| 精品国产成人系列| 亚洲日本青草视频在线怡红院 | 中文字幕电影一区| 亚洲欧美国产77777| 日韩二区三区四区| 国产精品 日产精品 欧美精品| 91丨九色丨蝌蚪丨老版| 欧美一区二区视频在线观看2022| 国产视频不卡一区| 亚洲高清在线精品| 国产成人8x视频一区二区| 日本韩国欧美在线| 久久午夜老司机| 亚洲国产精品人人做人人爽| 国产精品中文有码| 欧美午夜电影在线播放| 久久女同性恋中文字幕| 亚洲第一二三四区| 国产传媒欧美日韩成人| 欧美日韩国产美| 国产精品免费看片| 久久国产精品99精品国产| 91福利在线免费观看| 久久夜色精品国产欧美乱极品| 亚洲综合在线第一页| 国产成人午夜精品影院观看视频 | 不卡欧美aaaaa| 欧美一区二区视频在线观看2022| 中文字幕中文字幕在线一区| 日韩福利视频导航| 在线精品国精品国产尤物884a| 国产午夜精品一区二区 | 精品国产露脸精彩对白| 亚洲综合色婷婷| 成人免费福利片| 欧美成人国产一区二区| 日日夜夜一区二区| 在线看国产一区二区| 国产精品丝袜一区| 国产精品久久久久9999吃药| 毛片一区二区三区| 欧美精品在欧美一区二区少妇| 老司机午夜精品| 成人免费va视频| 久久久久高清精品| 奇米777欧美一区二区| 欧美日韩国产综合一区二区| 亚洲视频小说图片| 北岛玲一区二区三区四区| 久久在线观看免费| 国产在线播精品第三| 日韩欧美一区在线观看| 日日摸夜夜添夜夜添亚洲女人| 一本一道久久a久久精品| 国产精品国产三级国产三级人妇 | 亚洲综合999| 91精品福利视频| 亚洲狼人国产精品| 日本丰满少妇一区二区三区| 亚洲精品一二三区| 欧洲精品一区二区| 亚洲美女视频一区| 日本高清不卡一区| 亚洲成人一区在线| 制服.丝袜.亚洲.另类.中文| 天堂在线一区二区| 欧美一级片在线| 蜜乳av一区二区三区| 日韩一区二区在线观看| 久久se精品一区精品二区| 精品久久免费看| 国产精品一级黄| 国产精品少妇自拍| 91美女片黄在线观看| 一区二区三区四区精品在线视频| 91视频在线看| 亚洲国产日日夜夜| 日韩视频123| 国产精品一级黄| 中文字幕一区二区三区在线观看| 99re在线精品| 亚洲高清不卡在线| 日韩欧美一区二区视频| 国产乱码精品一区二区三区av | 久热成人在线视频| 欧美精品一区二区三区一线天视频 | 一色桃子久久精品亚洲| 91年精品国产| 亚洲 欧美综合在线网络| 日韩视频一区在线观看| 国产成人免费视频网站| 亚洲图片你懂的| 欧美久久久久久久久久| 国产一区二区三区在线观看免费视频| 欧美国产成人在线| 在线免费观看一区| 国产一区视频导航| 一区二区三区四区国产精品|