This commit is contained in:
2026-08-31 22:43:51 -04:00
commit c87308caca
521 changed files with 141326 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#include "power_mgmt.h"
void shutdown_all_peripherals() {
power_adc_disable();
power_timer0_disable();
power_timer1_disable();
power_timer2_disable();
power_timer3_disable();
#if !DO_UART
power_usart0_disable();
power_usart1_disable();
#endif
}