wiring_analog.c
void analogReference( uint32_t type )
{	
	if( type == REFSEL_VBG || type == REFSEL_VDD_1_2_PS || type == REFSEL_VDD_1_3_PS)
	{
		analogReference_ext_type = EXT_REFSEL_NONE;
		analogReference_type = type;
	}
	else if( type == EXT_REFSEL_AREF0 || type == EXT_REFSEL_AREF1 )
	{
		analogReference_ext_type = type;
		analogReference_type = REFSEL_EXT;		
	}
}
/**********************************************************************
name :
function : Using an external reference voltage cannot be more than: 1.3 V
**********************************************************************/
name :
function : Using an external reference voltage cannot be more than: 1.3 V
name : function : Using an external reference voltage cannot be more than : 1 . 3 V
void analogReference( uint32_t type )
{	
	if( type == REFSEL_VBG || type == REFSEL_VDD_1_2_PS || type == REFSEL_VDD_1_3_PS)
	{
		analogReference_ext_type = EXT_REFSEL_NONE;
		analogReference_type = type;
	}
	else if( type == EXT_REFSEL_AREF0 || type == EXT_REFSEL_AREF1 )
	{
		analogReference_ext_type = type;
		analogReference_type = REFSEL_EXT;		
	}
}
void analogReference ( uint32_t type ) { if ( type == REFSEL_VBG || type == REFSEL_VDD_1_2_PS || type == REFSEL_VDD_1_3_PS ) { analogReference_ext_type = EXT_REFSEL_NONE ; analogReference_type = type ; } else if ( type == EXT_REFSEL_AREF0 || type == EXT_REFSEL_AREF1 ) { analogReference_ext_type = type ; analogReference_type = REFSEL_EXT ; } }
name :
function : Using an external reference voltage cannot be more than: 1.3 V
name : function : Using an external reference voltage cannot be more than : 1 . 3 V