Function startup_intilialisation

Source
pub(crate) unsafe fn startup_intilialisation()
Expand description

Startup initialisation

This code was more or less copied from the code examples of Texas instruments. It disables the watchdog, enables all RAM banks, configures the chip to the high-power mode (which is necessary for 48MHz operation) and enables waitstates and buffering in a way that the flash returns valid data with 48MHz CPU frequency.