Recovery:
reset_controller.assert_reset(Control::LPUART0);
reset_controller.assert_reset(Control::LPUART1);
reset_controller.assert_reset(Control::LPI2C0);
reset_controller.assert_reset(Control::LPSPI0);
system_delay(reset_recovery_time);
reset_controller.release_reset(Control::LPI2C0);
reset_controller.release_reset(Control::LPSPI0);
reset_controller.release_reset(Control::LPUART0);
- 註
- Power Management Integration:
- Reset assertion automatically gates peripheral clocks for power saving
- Use reset control for dynamic power management in low-power applications
- Some peripherals may retain state in certain low-power modes even when reset
- Coordinate reset control with clock management and power mode transitions
-
Debug Considerations:
- Reset state affects peripheral register visibility in debug tools
- Some debug interfaces may become unavailable when communication peripherals are reset
- Consider debug requirements when implementing reset sequences in production code
- 參閱
- MCXA153 Reference Manual, Chapter: Reset and Clock Control (RCC)
-
System Clock Management for coordinate clock and reset control
-
Power Management Unit for low-power reset integration