XilinxProcessorIPLib/drivers/dsi/src/xdsi.h
static inline u32 XDsi_IsModeEnabled(XDsi *InstancePtr)
{
	return XDsi_GetBitField(InstancePtr->Config.BaseAddr,
	XDSI_CCR_OFFSET, XDSI_CCR_CORECMDMODE_MASK, XDSI_CCR_CORECMDMODE_SHIFT);
}
/****************************************************************************/
/**
*
* This function is used to check if the Command/video mode is enabled by checking
* Command Mode bit in the Core Configuration Register
*
* @param	InstancePtr is a pointer to the DSI Instance to be
*		worked on.
*
* @return	SET (for command mode) or RESET(for video mode) in u32 format
*
* @note		None
*
****************************************************************************/
This function is used to check if the Command/video mode is enabled by checking
Command Mode bit in the Core Configuration Register
This function is used to check if the Command / video mode is enabled by checking Command Mode bit in the Core Configuration Register
static inline u32 XDsi_IsModeEnabled(XDsi *InstancePtr)
{
	return XDsi_GetBitField(InstancePtr->Config.BaseAddr,
	XDSI_CCR_OFFSET, XDSI_CCR_CORECMDMODE_MASK, XDSI_CCR_CORECMDMODE_SHIFT);
}
static inline u32 XDsi_IsModeEnabled ( XDsi * InstancePtr ) { return XDsi_GetBitField ( InstancePtr -> Config . BaseAddr , XDSI_CCR_OFFSET , XDSI_CCR_CORECMDMODE_MASK , XDSI_CCR_CORECMDMODE_SHIFT ) ; }
This function is used to check if the Command/video mode is enabled by checking
Command Mode bit in the Core Configuration Register
This function is used to check if the Command / video mode is enabled by checking Command Mode bit in the Core Configuration Register