external/target/lpc4337/lpc_board_ngx_xplorer_4330/src/uda1380.c
static int Audio_Codec_SetDefaultValues(const uint8_t *values, int sz)
{
	int ret;
	uint8_t buff[10];	/* Verification buffer */

	/* Set System register's default values */
	ret = UDA1380_REG_WriteMult(values, sz);
	if (ret) {
		ret = UDA1380_REG_VerifyMult(values[0], &values[1], buff, sz - 1);
	}
	return ret;
}
/* Set the default values to the codec registers */
Set the default values to the codec registers
Set the default values to the codec registers
static int Audio_Codec_SetDefaultValues(const uint8_t *values, int sz)
{
	int ret;
	uint8_t buff[10];	
	ret = UDA1380_REG_WriteMult(values, sz);
	if (ret) {
		ret = UDA1380_REG_VerifyMult(values[0], &values[1], buff, sz - 1);
	}
	return ret;
}
static int Audio_Codec_SetDefaultValues ( const uint8_t * values , int sz ) { int ret ; uint8_t buff [ 10 ] ; ret = UDA1380_REG_WriteMult ( values , sz ) ; if ( ret ) { ret = UDA1380_REG_VerifyMult ( values [ 0 ] , & values [ 1 ] , buff , sz - 1 ) ; } return ret ; }
Set the default values to the codec registers
Set the default values to the codec registers
/* Verification buffer */ /* Set System register's default values */