/* Stops the desired oscillator(s) (OSC). 
Valid values for ui32OscFlags are:  */
void am_hal_clkgen_osc_stop(uint32_t ui32OscFlags)
/* Stops the desired oscillator(s) (OSC). 
Valid values for ui32OscFlags are:  */
void am_hal_clkgen_osc_stop(uint32_t ui32OscFlags)
{
    if ( ui32OscFlags & (AM_HAL_CLKGEN_OSC_LFRC | AM_HAL_CLKGEN_OSC_XT) )
    {
        AM_REG(CLKGEN, OCTRL) |= ui32OscFlags;
    }
}