mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 04:59:55 +00:00 
			
		
		
		
	update reset reason for c3/s3/h2
This commit is contained in:
		 wuzhenghui
					wuzhenghui
				
			
				
					committed by
					
						 Michael (XIAO Xufeng)
						Michael (XIAO Xufeng)
					
				
			
			
				
	
			
			
			 Michael (XIAO Xufeng)
						Michael (XIAO Xufeng)
					
				
			
						parent
						
							673d0371ba
						
					
				
				
					commit
					1ef989a1b5
				
			| @@ -82,8 +82,7 @@ typedef enum { | |||||||
|     NO_MEAN                =  0, |     NO_MEAN                =  0, | ||||||
|     POWERON_RESET          =  1,    /**<1, Vbat power on reset*/ |     POWERON_RESET          =  1,    /**<1, Vbat power on reset*/ | ||||||
|     RTC_SW_SYS_RESET       =  3,    /**<3, Software reset digital core*/ |     RTC_SW_SYS_RESET       =  3,    /**<3, Software reset digital core*/ | ||||||
|     DEEPSLEEP_RESET        =  5,    /**<3, Deep Sleep reset digital core*/ |     DEEPSLEEP_RESET        =  5,    /**<5, Deep Sleep reset digital core*/ | ||||||
|     SDIO_RESET             =  6,    /**<6, Reset by SLC module, reset digital core*/ |  | ||||||
|     TG0WDT_SYS_RESET       =  7,    /**<7, Timer Group0 Watch dog reset digital core*/ |     TG0WDT_SYS_RESET       =  7,    /**<7, Timer Group0 Watch dog reset digital core*/ | ||||||
|     TG1WDT_SYS_RESET       =  8,    /**<8, Timer Group1 Watch dog reset digital core*/ |     TG1WDT_SYS_RESET       =  8,    /**<8, Timer Group1 Watch dog reset digital core*/ | ||||||
|     RTCWDT_SYS_RESET       =  9,    /**<9, RTC Watch dog Reset digital core*/ |     RTCWDT_SYS_RESET       =  9,    /**<9, RTC Watch dog Reset digital core*/ | ||||||
| @@ -95,6 +94,11 @@ typedef enum { | |||||||
|     RTCWDT_RTC_RESET       = 16,    /**<16, RTC Watch dog reset digital core and rtc module*/ |     RTCWDT_RTC_RESET       = 16,    /**<16, RTC Watch dog reset digital core and rtc module*/ | ||||||
|     TG1WDT_CPU_RESET       = 17,    /**<17, Time Group1 reset CPU*/ |     TG1WDT_CPU_RESET       = 17,    /**<17, Time Group1 reset CPU*/ | ||||||
|     SUPER_WDT_RESET        = 18,    /**<18, super watchdog reset digital core and rtc module*/ |     SUPER_WDT_RESET        = 18,    /**<18, super watchdog reset digital core and rtc module*/ | ||||||
|  |     GLITCH_RTC_RESET       = 19,    /**<19, glitch reset digital core and rtc module*/ | ||||||
|  |     EFUSE_RESET            = 20,    /**<20, efuse reset digital core*/ | ||||||
|  |     USB_UART_CHIP_RESET    = 21,    /**<21, usb uart reset digital core */ | ||||||
|  |     USB_JTAG_CHIP_RESET    = 22,    /**<22, usb jtag reset digital core */ | ||||||
|  |     POWER_GLITCH_RESET     = 23,    /**<23, power glitch reset digital core and rtc module*/ | ||||||
| } RESET_REASON; | } RESET_REASON; | ||||||
|  |  | ||||||
| typedef enum { | typedef enum { | ||||||
|   | |||||||
| @@ -90,6 +90,9 @@ typedef enum { | |||||||
|     SUPER_WDT_RESET        = 18,    /**<18, super watchdog reset digital core and rtc module*/ |     SUPER_WDT_RESET        = 18,    /**<18, super watchdog reset digital core and rtc module*/ | ||||||
|     GLITCH_RTC_RESET       = 19,    /**<19, glitch reset digital core and rtc module*/ |     GLITCH_RTC_RESET       = 19,    /**<19, glitch reset digital core and rtc module*/ | ||||||
|     EFUSE_RESET            = 20,    /**<20, efuse reset digital core*/ |     EFUSE_RESET            = 20,    /**<20, efuse reset digital core*/ | ||||||
|  |     USB_UART_CHIP_RESET    = 21,    /**<21, usb uart reset digital core */ | ||||||
|  |     USB_JTAG_CHIP_RESET    = 22,    /**<22, usb jtag reset digital core */ | ||||||
|  |     POWER_GLITCH_RESET     = 23,    /**<23, power glitch reset digital core and rtc module*/ | ||||||
| } RESET_REASON; | } RESET_REASON; | ||||||
|  |  | ||||||
| typedef enum { | typedef enum { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user