YACWC
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user