mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 21:14:37 +00:00 
			
		
		
		
	Merge branch 'feature/mcpwm_capture_on_both_edge' into 'master'
MCPWM: add an option to do mcpwm capture on both edges See merge request espressif/esp-idf!9850
This commit is contained in:
		| @@ -81,6 +81,7 @@ typedef enum { | ||||
|  * @brief MCPWM select capture starts from which edge | ||||
|  */ | ||||
| typedef enum { | ||||
|     MCPWM_NEG_EDGE = BIT(0),  /*!<Capture the negative edge*/ | ||||
|     MCPWM_POS_EDGE = BIT(1),  /*!<Capture the positive edge*/ | ||||
|     MCPWM_NEG_EDGE = BIT(0),          /*!<Capture the negative edge*/ | ||||
|     MCPWM_POS_EDGE = BIT(1),          /*!<Capture the positive edge*/ | ||||
|     MCPWM_BOTH_EDGE = BIT(1)|BIT(0),  /*!<Capture both edges*/ | ||||
| } mcpwm_capture_on_edge_t; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael (XIAO Xufeng)
					Michael (XIAO Xufeng)