Components of system control:
The system detects the voltage periodically during
External reset | ||||
Watchdog reset | ||||
Software reset | ||||
Power-on reset | ||||
Power-down reset |
We are able to set the next PC when the watchdog counter overflows. When the watchdog counter overflows, it only clears the PC but keeps other registers.
The software executes
Clocks can be classified to two types based on clock frequency: high-speed clock and low-speed clock, or based on locality: internal clock and external clock. The Cartesian product gives four types:
The internal clock generates by RC oscillator, it oscillates fast, but the external clock gets higher precision and stablability. Hence the internal clock is used when the system bootstraps, after the system is on, we can change the clock to external clock.
Exit: Any external interrupt or EXIT signal.
The kernel and external device, and the internal stop work
Exit: reset signal or RTC alarm event.