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

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

?? csl_i2c.h

?? 基于ti tms320c672x下音頻開發例子程式
?? H
?? 第 1 頁 / 共 3 頁
字號:

/*
 * =============================================================================
 *   @func CSL_i2cClose
 *
 *   @b Description
 *   @n This function closes the specified instance of I2C.
 *
 *   @arg  hI2c
           Handle to the I2C instance
 *
 *   @ret CSL_Status
 *         CSL_SOK            - Close successful
 *         CSL_ESYS_BADHANDLE - Invalid handle
 *
 *   @eg
 *     CSL_i2cClose (hI2c);
 * =============================================================================
 */
CSL_Status  CSL_i2cClose(
    /** Pointer to the object that holds reference to the
     *  instance of I2C requested after the call
     */
    CSL_I2cHandle                         hI2c
);


/** 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_I2cHwSetup.
 *
 *  <b> Usage Constraints: </b>
 *  Both @a CSL_i2cInit() and @a CSL_i2cOpen() 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_I2cHandle hI2c;
     CSL_I2cHwSetup hwSetup = CSL_I2C_HWSETUP_DEFAULTS;
     CSL_i2cHwSetup(hI2c, &hwSetup);
  @endverbatim
 *
 * @return Returns the status of the setup operation
 *
 */
CSL_Status  CSL_i2cHwSetup(
    /** Pointer to the object that holds reference to the
     *  instance of I2C requested after the call
     */
    CSL_I2cHandle                         hI2c,
    /** Pointer to setup structure which contains the
     *  information to program I2C to a useful state
     */
    CSL_I2cHwSetup                        *setup
);

/** This function gets the current setup of the I2C. The status is
 *  returned through @a CSL_I2cHwSetup. The obtaining of status
 *  is the reverse operation of @a CSL_i2cHwSetup() function.
 *
 *  <b> Usage Constraints: </b>
 *  Both @a CSL_i2cInit() and @a CSL_i2cOpen() must be called successfully
 *  in that order before @a CSL_i2cGetHwSetup() can be called.
 *
 * @b Example:
 * @verbatim
      CSL_I2cHandle hI2c;
      CSL_Status status;
      CSL_I2cHwSetup *mysetup;
       ...
      status = CSL_i2cGetHwSetup(hI2c, &mysetup);
   @endverbatim
 *
 * @return returns the status of the operation (see @a CSL_Status)
 *
 */
CSL_Status  CSL_i2cGetHwSetup(
    /** Pointer to the object that holds reference to the
     *  instance of I2C requested after the call
     */
    CSL_I2cHandle                         hI2c,
    /** Pointer to setup structure which contains the
     *  information to program I2C to a useful state
     */
    CSL_I2cHwSetup                        *setup
);


/** Control operations for the I2C.  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_I2cHwControlCmd.
 *
 *  <b> Usage Constraints: </b>
 *  Both @a CSL_i2cInit() and @a CSL_i2cOpen() must be called successfully
 *  in that order before @a CSL_i2cHwControl() can be called. For the
 *  argument type that can be @a void* casted & passed with a particular command
 *  refer to @a CSL_I2cHwControlCmd
 *
 * @b Example:
 * @verbatim
       CSL_I2cHandle hI2c;
       CSL_Status status;
       ...
       status = CSL_i2cHwControl(hI2c,
                                    CSL_I2C_CMD_START,
                                   &command);
   @endverbatim
 *
 *  @return returns the status of the operation (see @a CSL_Status)
 *
 */
CSL_Status  CSL_i2cHwControl(
    /** Pointer to the object that holds reference to the
     *  instance of I2C requested after the call
     */
    CSL_I2cHandle                        hI2c,
    /** The command to this API indicates the action to be taken
     */
    CSL_I2cHwControlCmd                  cmd,
    /** An optional argument @a void* casted
     */
    void                                 *arg
);

/** Reads the received data from the data register.
 *
 *  <b> Usage Constraints: </b>
 *  Both @a CSL_i2cInit() and @a CSL_i2cOpen() must be called successfully
 *  in that order before @a CSL_i2cRead() can be called.
 *
 * @b Example:
 * @verbatim
 *
      Uint16 *data_pro;
      CSL_I2cHandle hI2c;
      CSL_Status status;
      ...
      status = CSL_i2cRead(hI2c,&data_pro );
   @endverbatim
 *
 * @return Returns the status of the operation (see @a CSL_Status)
 *
 */
CSL_Status CSL_i2cRead(
     /**  Handle of already opened peripheral
      */
     CSL_I2cHandle hI2c,
     /** Pointer to memory where data will be read and stored
      */
     void* buf
);

/** This function writes the specified data into I2C data register..
 *
 *  <b> Usage Constraints: </b>
 *  Both @a CSL_i2cInit() and @a CSL_i2cOpen() must be called successfully
 *  in that order before @a CSL_i2cWrite() can be called.
 *
 *  @b Example:
 *  @verbatim

      CSL_I2cHandle hI2c;
      ...
      status = CSL_i2cWrite(hI2c,&data_out );
   @endverbatim
 *
 * @return Returns the status of the operation (see @a CSL_Status)
 *
 */
CSL_Status CSL_i2cWrite(
     /** Handle of already opened peripheral
      */
     CSL_I2cHandle hI2c,
     /** Pointer to data to be written
      */
     void* buf
);

/** =============================================================================
 *   @func CSL_i2cHwSetupRaw
 *
 *   @desc
 *       This function configures the registers of I2C as per the values given
 *       in the Config structure.
 *
 *   @arg hI2c
 *        Handle to the I2C instance
 *
 *   @arg hwConfig
 *        Pointer to I2C config structure
 *
 *   @ret CSL_Status
 *         CSL_SOK             - Configuration successful
 *         CSL_ESYS_BADHANDLE  - Invalid handle
 *
 *   @eg
 *
 *        CSL_Status            status;
 *        CSL_I2cConfig     hwConfig;
 *
 *        status = CSL_i2cHwsetupRaw (hI2c, &hwConfig);
 *
 * ===========================================================================
 */

extern CSL_Status  CSL_i2cHwSetupRaw (
    CSL_I2cHandle           hI2c,
    CSL_I2cConfig *         config
);

/** 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_I2cHwStatusQuery
 *
 *  <b> Usage Constraints: </b>
 *  Both @a CSL_i2cInit() and @a CSL_i2cOpen() must be called successfully
 *  in that order before @a CSL_i2cGetHwStatus() can be called. For the
 *  argument type that can be @a void* casted & passed with a particular cmd
 *  refer to @a CSL_I2cHwStatusQuery
 *
 * @b Example:
 * @verbatim
      CSL_I2cHandle hI2c;
      CSL_Status status;
      Uint16  *response;
       ...
      status = CSL_i2cGetHwStatus(hI2c,
                           CSL_I2C_QUERY_BUS_BUSY,
                                  &response);
   @endverbatim
 *
 * @return Returns the status of the operation (see @a CSL_Status)
 *
 */
CSL_Status  CSL_i2cGetHwStatus(
    /** Pointer to the object that holds reference to the
     *  instance of I2C requested after the call
     */
    CSL_I2cHandle                         hI2c,
    /** The query to this API which indicates the status
     *  to be returned
     */
    CSL_I2cHwStatusQuery                  query,
    /** Placeholder to return the status. @a void* casted */
    void                                  *response
);


/** ============================================================================
 *   @n@b CSL_i2cGetBaseAddress
 *
 *   @b Description
 *   @n  Function to get the base address of the peripheral instance.
 *       This function is used for getting the base address of the peripheral
 *       instance. This function will be called inside the CSL_i2cOpen()
 *       function call. This function is open for re-implementing if the user
 *       wants to modify the base address of the peripheral object to point to
 *       a different location and there by allow CSL initiated write/reads into
 *       peripheral MMR's go to an alternate location.
 *
 *   @b Arguments
 *   @verbatim
            i2cNum          Specifies the instance of I2C to be opened.

            pI2cParam       Module specific parameters.

            pBaseAddress    Pointer to baseaddress structure containing base
                            address details.

     @endverbatim
 *
 *   <b> Return Value </b>  CSL_Status
 *   @li                    CSL_OK            Open call is successful
 *   @li                    CSL_ESYS_FAIL     The instance number is invalid.
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *   @n  Base Address structure is populated
 *
 *   @b Modifies
 *   @n    1. The status variable
 *
 *         2. Base address structure is modified.
 *
 *   @b Example
 *   @verbatim
        CSL_Status              status;
        CSL_I2cBaseAddress  baseAddress;

       ...
      status = CSL_i2cGetBaseAddress(CSL_I2C_PER_CNT, NULL, &baseAddress);

    @endverbatim
 * ===========================================================================
 */
extern CSL_Status   CSL_i2cGetBaseAddress (
        CSL_InstNum            i2cNum,
        CSL_I2cParam *         pI2cParam,
        CSL_I2cBaseAddress *   pBaseAddress
);

#ifdef __cplusplus
}
#endif


#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美成人vr18sexvr| 欧美一区二区福利在线| 日本强好片久久久久久aaa| 国产女人aaa级久久久级| 欧美色视频在线观看| 国产成人99久久亚洲综合精品| 亚洲国产欧美在线| 亚洲同性同志一二三专区| 欧美tk丨vk视频| 欧美在线观看禁18| 成人av在线一区二区| 久久精品99国产精品日本| 亚洲国产成人av网| 亚洲欧美激情视频在线观看一区二区三区| 精品国产伦一区二区三区观看方式 | 久久久久一区二区三区四区| 色婷婷香蕉在线一区二区| 丰满少妇久久久久久久| 精品一区二区三区视频| 日日摸夜夜添夜夜添精品视频| 亚洲伦在线观看| 国产精品每日更新| 国产蜜臀av在线一区二区三区| 日韩久久久久久| 91精品国产色综合久久不卡蜜臀| 在线观看视频一区| 91在线视频播放地址| 成人高清视频在线| 国产成人在线色| 国产高清不卡一区| 国产自产视频一区二区三区| 理论电影国产精品| 久久er精品视频| 国产在线一区二区综合免费视频| 久久99国产精品尤物| 另类的小说在线视频另类成人小视频在线 | 777a∨成人精品桃花网| 欧美亚洲国产一卡| 欧美三级在线播放| 欧美性色黄大片| 欧美日韩一区小说| 欧美一级高清大全免费观看| 亚洲视频免费在线| 亚洲丝袜自拍清纯另类| 日韩伦理av电影| 亚洲国产色一区| 日韩精品每日更新| 青青草伊人久久| 精品在线免费视频| 国产成人高清视频| 91亚洲精品一区二区乱码| 色先锋aa成人| 9191久久久久久久久久久| 欧美一区永久视频免费观看| 日韩免费在线观看| 日本一区二区三区国色天香| 国产精品麻豆久久久| 亚洲人成人一区二区在线观看| 亚洲精品免费在线观看| 亚洲成精国产精品女| 日韩精品欧美精品| 国产综合久久久久影院| 成人av高清在线| 在线视频你懂得一区| 7777精品久久久大香线蕉| 精品欧美一区二区久久| 国产嫩草影院久久久久| 亚洲特级片在线| 亚洲一区二区视频在线观看| 日韩—二三区免费观看av| 国产在线精品视频| 色综合久久天天| 制服丝袜在线91| 国产无一区二区| 亚洲午夜久久久久久久久久久| 毛片av一区二区| 成人国产在线观看| 欧美福利一区二区| 国产亚洲欧洲一区高清在线观看| 最新国产精品久久精品| 奇米色777欧美一区二区| 风间由美中文字幕在线看视频国产欧美 | 精品av久久707| 国产一区二区三区久久久| 成人av影院在线| 日韩欧美在线影院| 亚洲欧美日韩久久精品| 日韩电影在线一区二区三区| 成年人午夜久久久| 精品国产亚洲在线| 亚洲综合久久久| 国产剧情一区在线| 欧美精品xxxxbbbb| 国产精品对白交换视频| 日本美女视频一区二区| proumb性欧美在线观看| 精品精品国产高清a毛片牛牛| 亚洲精品v日韩精品| 国产二区国产一区在线观看| 在线播放视频一区| 亚洲欧美aⅴ...| 国产精品911| 欧美一区在线视频| 亚洲综合男人的天堂| 成人高清免费观看| www久久久久| 美女视频黄a大片欧美| 日本电影亚洲天堂一区| 国产精品国产馆在线真实露脸| 久久精品国产精品亚洲精品 | 久久久久久夜精品精品免费| 午夜精品一区二区三区免费视频| 91亚洲精华国产精华精华液| 国产片一区二区| 国内精品第一页| 精品久久一区二区三区| 日韩国产精品久久| 欧美日本一区二区三区四区| 亚洲欧美一区二区不卡| 不卡一卡二卡三乱码免费网站| 久久久久久久久蜜桃| 精品一二三四区| 91精品久久久久久久99蜜桃| 午夜国产精品一区| 欧美性感一区二区三区| 亚洲午夜在线电影| 91福利国产成人精品照片| 亚洲欧美日韩一区| 一本一道久久a久久精品综合蜜臀| 国产精品灌醉下药二区| 成人性生交大片| 欧美—级在线免费片| 国产精品一卡二卡在线观看| 欧美精品一区视频| 国产麻豆精品视频| 久久久精品一品道一区| 国产激情91久久精品导航| 国产视频在线观看一区二区三区 | 亚洲综合免费观看高清完整版在线 | 日本少妇一区二区| 日韩免费一区二区| 国产一区二区在线电影| 国产免费成人在线视频| a级精品国产片在线观看| 亚洲柠檬福利资源导航| 欧美在线三级电影| 天天综合网 天天综合色| 日韩欧美中文一区| 国产盗摄精品一区二区三区在线| 中文字幕av一区二区三区免费看 | 日韩欧美中文字幕制服| 国产成人丝袜美腿| 亚洲婷婷在线视频| 欧美日韩一区三区四区| 美脚の诱脚舐め脚责91| 欧美激情一区在线观看| 91久久一区二区| 日韩有码一区二区三区| 久久久久国产精品人| 99免费精品视频| 视频一区二区三区中文字幕| 精品国产露脸精彩对白| 成人理论电影网| 亚洲国产综合色| 久久美女艺术照精彩视频福利播放| 成人黄色国产精品网站大全在线免费观看 | 欧美大片一区二区三区| 懂色av一区二区三区免费观看| 亚洲欧美色图小说| 日韩一区二区免费在线电影| 国产91在线观看丝袜| 亚洲综合一区二区三区| 日韩欧美国产系列| 91视频国产观看| 久久不见久久见中文字幕免费| 国产精品家庭影院| 日韩三级在线观看| 91丝袜美腿高跟国产极品老师 | 日韩av成人高清| 国产精品麻豆视频| 日韩一区二区免费高清| 91在线观看一区二区| 精品亚洲欧美一区| 亚洲最色的网站| 欧美激情一区二区三区不卡| 欧美色视频在线观看| 懂色av中文一区二区三区| 七七婷婷婷婷精品国产| 亚洲免费伊人电影| 久久久亚洲欧洲日产国码αv| 欧美色图天堂网| 成人18视频日本| 狠狠色丁香久久婷婷综合_中 | 日韩成人一级大片| 中文字幕精品综合| 日韩三级高清在线| 欧美吻胸吃奶大尺度电影| 国产suv精品一区二区三区| 爽爽淫人综合网网站| 樱花影视一区二区|