Example #1
0
TCgReturnCode CgxDriverTcxoControl(u32 aEnable)
{
	TCgReturnCode rc = ECgOk;

	if(aEnable)
		CGCoreEnable(CGCORE_ENABLE_TCXO);
	else
		CGCoreDisable(CGCORE_ENABLE_TCXO);

	return rc;
}
TCgReturnCode CgxDriverPowerOn(void)
{
	TCgReturnCode rc = ECgOk;

	gps_chip_power_on();

	// Enable clock to the GPS device
	rc = CGCoreEnable(CGCORE_ENABLE_TCXO);

	return rc;
}