The Stellaris® on-chip clock failure detection circuitry allows a microcontroller to respond appropriately if the main crystal oscillator stops functioning. This capability can be extended to situations in which the crystal oscillator fails due to an open or short circuit.