mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +00:00 
			
		
		
		
	esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
This commit is contained in:
		@@ -86,6 +86,9 @@
 | 
			
		||||
#define SOC_GPIO_VALID_OUTPUT_GPIO_MASK SOC_GPIO_VALID_GPIO_MASK
 | 
			
		||||
#define SOC_GPIO_DEEP_SLEEP_WAKEUP_VALID_GPIO_MASK        (0ULL | BIT0 | BIT1 | BIT2 | BIT3 | BIT4 | BIT5)
 | 
			
		||||
 | 
			
		||||
// digital I/O pad powered by VDD3P3_CPU or VDD_SPI(GPIO_NUM_6~GPIO_NUM_21)
 | 
			
		||||
#define SOC_GPIO_VALID_DIGITAL_IO_PAD_MASK 0x00000000003FFFC0ULL
 | 
			
		||||
 | 
			
		||||
// Support to configure sleep status
 | 
			
		||||
#define SOC_GPIO_SUPPORT_SLP_SWITCH  (1)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user