/* Selects the clock source for the RTC. 
Valid values for ui32OSC are:  */
void am_hal_rtc_osc_select(uint32_t ui32OSC)
/* Selects the clock source for the RTC. 
Valid values for ui32OSC are:  */
void am_hal_rtc_osc_select(uint32_t ui32OSC)
{
    if (ui32OSC)
    {
        AM_REG(CLKGEN, OCTRL) |= AM_REG_CLKGEN_OCTRL_OSEL_M;
    }
    else
    {
        AM_REG(CLKGEN, OCTRL) &= ~AM_REG_CLKGEN_OCTRL_OSEL_M;
    }
}