#include <inc/hw_types.h>
#include <inc/hw_ccfg.h>
#include <inc/hw_fcfg1.h>
#include <driverlib/aon_batmon.h>
#include <driverlib/aon_rtc.h>
#include <driverlib/osc.h>
Go to the source code of this file.
Data Structures | |
struct | OscHfGlobals_t |
Macros | |
#define | RTC_CV_TO_MS(x) (( 1000 * ( x )) >> 16 ) |
#define | RTC_CV_TO_US(x) (( 1000000 * ( x )) >> 16 ) |
Functions | |
void | OSCClockSourceSet (uint32_t ui32SrcClk, uint32_t ui32Osc) |
Configure the oscillator input to the a source clock. More... | |
uint32_t | OSCClockSourceGet (uint32_t ui32SrcClk) |
Get the source clock settings. More... | |
uint32_t | OSCHF_GetStartupTime (uint32_t timeUntilWakeupInMs) |
Returns maximum startup time (in microseconds) of XOSC_HF. More... | |
void | OSCHF_TurnOnXosc (void) |
Turns on XOSC_HF (but without switching to XOSC_HF). More... | |
bool | OSCHF_AttemptToSwitchToXosc (void) |
Switch to XOSC_HF if XOSC_HF is ready. More... | |
void | OSCHF_SwitchToRcOscTurnOffXosc (void) |
Switch to RCOSC_HF and turn off XOSC_HF. More... | |
int32_t | OSC_HPOSCRelativeFrequencyOffsetGet (int32_t tempDegC) |
Calculate the temperature dependent relative frequency offset of HPOSC. More... | |
int16_t | OSC_HPOSCRelativeFrequencyOffsetToRFCoreFormatConvert (int32_t HPOSC_RelFreqOffset) |
Converts the relative frequency offset of HPOSC to the RF Core parameter format. More... | |
uint32_t | OSCHF_DebugGetCrystalAmplitude (void) |
Get crystal amplitude (assuming crystal is running). More... | |
uint32_t | OSCHF_DebugGetExpectedAverageCrystalAmplitude (void) |
Get the expected average crystal amplitude. More... | |
Variables | |
static OscHfGlobals_t | oscHfGlobals |
#define RTC_CV_TO_MS | ( | x | ) | (( 1000 * ( x )) >> 16 ) |
Definition at line 81 of file osc.c.
Referenced by OSCHF_GetStartupTime().
#define RTC_CV_TO_US | ( | x | ) | (( 1000000 * ( x )) >> 16 ) |
Definition at line 82 of file osc.c.
Referenced by OSCHF_AttemptToSwitchToXosc(), and OSCHF_GetStartupTime().
|
static |