Lines Matching refs:newStartupTimeInUs
207 uint32_t newStartupTimeInUs ; in OSCHF_GetStartupTime() local
221 newStartupTimeInUs = 2000; in OSCHF_GetStartupTime()
223 newStartupTimeInUs = (( HWREG( CCFG_BASE + CCFG_O_MODE_CONF_1 ) & in OSCHF_GetStartupTime()
229 … newStartupTimeInUs = RTC_CV_TO_US( oscHfGlobals.timeXoscStable_CV - oscHfGlobals.timeXoscOn_CV ); in OSCHF_GetStartupTime()
230 newStartupTimeInUs += ( newStartupTimeInUs >> 2 ); // Add 25 percent margin in OSCHF_GetStartupTime()
231 if ( newStartupTimeInUs < oscHfGlobals.previousStartupTimeInUs ) { in OSCHF_GetStartupTime()
232 newStartupTimeInUs = oscHfGlobals.previousStartupTimeInUs; in OSCHF_GetStartupTime()
236 if ( newStartupTimeInUs < 200 ) { in OSCHF_GetStartupTime()
237 newStartupTimeInUs = 200; in OSCHF_GetStartupTime()
239 if ( newStartupTimeInUs > 4000 ) { in OSCHF_GetStartupTime()
240 newStartupTimeInUs = 4000; in OSCHF_GetStartupTime()
242 return ( newStartupTimeInUs ); in OSCHF_GetStartupTime()