XilinxProcessorIPLib/drivers/dp14txss/examples/src/dats_dp14/idt_8t49n24x.c
static int IDT_8T49N24x_LockMode(u32 I2CBaseAddress, u8 I2CSlaveAddress)
{
	int Result;
	u8 Value;
	u8 Mask;

	Value = 0x02;
	Mask = 0x02;
	Result = IDT_8T49N24x_ModifyRegister(I2CBaseAddress, I2CSlaveAddress, 0x006c, Value, Mask);

	return XST_SUCCESS;
}
/*****************************************************************************/
/**
*
* This function sets the lock mode
*
* @param I2CBaseAddress is the baseaddress of the I2C core.
* @param I2CSlaveAddress is the 7-bit I2C slave address.
*
* @return
*    - XST_SUCCESS
*    - XST_FAILURE
*
* @note None.
*
******************************************************************************/
This function sets the lock mode
This function sets the lock mode
static int IDT_8T49N24x_LockMode(u32 I2CBaseAddress, u8 I2CSlaveAddress)
{
	int Result;
	u8 Value;
	u8 Mask;
	Value = 0x02;
	Mask = 0x02;
	Result = IDT_8T49N24x_ModifyRegister(I2CBaseAddress, I2CSlaveAddress, 0x006c, Value, Mask);
	return XST_SUCCESS;
}
static int IDT_8T49N24x_LockMode ( u32 I2CBaseAddress , u8 I2CSlaveAddress ) { int Result ; u8 Value ; u8 Mask ; Value = 0x02 ; Mask = 0x02 ; Result = IDT_8T49N24x_ModifyRegister ( I2CBaseAddress , I2CSlaveAddress , 0x006c , Value , Mask ) ; return XST_SUCCESS ; }
This function sets the lock mode
This function sets the lock mode