AM273x MCU+ SDK  08.06.00

Introduction

APIs related to CSIRX D-Phy programming

Data Structures

struct  CSIRX_DphyConfig
 DPHY configuration. More...
 

Functions

void CSIRX_DphyConfig_init (CSIRX_DphyConfig *config)
 Sets default values for configuration. More...
 
int32_t CSIRX_dphySetConfig (CSIRX_Handle handle, CSIRX_DphyConfig *config)
 Configure DPHY. More...
 
int32_t CSIRX_dphyIsControlClockResetDone (CSIRX_Handle handle, bool *isDone)
 Check if DPHY control clock reset is done. More...
 
int32_t CSIRX_dphyIsByteClockResetDone (CSIRX_Handle handle, bool *isDone)
 Check if DPHY byte clock reset is done. More...
 
int32_t CSIRX_dphyIsClockMissingDetectorError (CSIRX_Handle handle, bool *isError)
 Check if DPHY clock missing detector error. More...
 

Function Documentation

◆ CSIRX_DphyConfig_init()

void CSIRX_DphyConfig_init ( CSIRX_DphyConfig config)

Sets default values for configuration.

Parameters
config[in] configuration

◆ CSIRX_dphySetConfig()

int32_t CSIRX_dphySetConfig ( CSIRX_Handle  handle,
CSIRX_DphyConfig config 
)

Configure DPHY.

Parameters
handle[in] CSIRX driver handle
config[in] DPHY configuration
Returns
SystemP_SUCCESS on success, else failure

◆ CSIRX_dphyIsControlClockResetDone()

int32_t CSIRX_dphyIsControlClockResetDone ( CSIRX_Handle  handle,
bool *  isDone 
)

Check if DPHY control clock reset is done.

Parameters
handle[in] CSIRX driver handle
isDone[out] true: reset is done, false: reset is not done
Returns
SystemP_SUCCESS on success, else failure

◆ CSIRX_dphyIsByteClockResetDone()

int32_t CSIRX_dphyIsByteClockResetDone ( CSIRX_Handle  handle,
bool *  isDone 
)

Check if DPHY byte clock reset is done.

Parameters
handle[in] CSIRX driver handle
isDone[out] true: reset is done, false: reset is not done
Returns
SystemP_SUCCESS on success, else failure

◆ CSIRX_dphyIsClockMissingDetectorError()

int32_t CSIRX_dphyIsClockMissingDetectorError ( CSIRX_Handle  handle,
bool *  isError 
)

Check if DPHY clock missing detector error.

This API is only meaningful if CSIRX_DphyConfig::isClockMissingDetectionEnabled was configured to true i.e clock missing detector was enabled.

Parameters
handle[in] CSIRX driver handle
isError[out] true: error is detected, false: no error
Returns
SystemP_SUCCESS on success, else failure