mirror of
				https://github.com/embassy-rs/embassy.git
				synced 2025-11-04 06:45:35 +00:00 
			
		
		
		
	timer-doc-fix
This commit is contained in:
		
							parent
							
								
									f0ffc9f74a
								
							
						
					
					
						commit
						b4399a1bf5
					
				@ -1,6 +1,8 @@
 | 
				
			|||||||
//! Timers, PWM, quadrature decoder.
 | 
					//! Timers, PWM, quadrature decoder.
 | 
				
			||||||
 | 
					//!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//! Timer inheritance
 | 
					//! Timer inheritance
 | 
				
			||||||
 | 
					//!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// sealed:
 | 
					// sealed:
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
@ -14,16 +16,20 @@
 | 
				
			|||||||
//            |             +--------------------------------------|-----------+
 | 
					//            |             +--------------------------------------|-----------+
 | 
				
			||||||
//            +----------------------------------------------------+
 | 
					//            +----------------------------------------------------+
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//! BasicInstance --> CaptureCompare16bitInstance --+--> ComplementaryCaptureCompare16bitInstance  
 | 
					//! ```text
 | 
				
			||||||
//!                                                 |  
 | 
					//! BasicInstance --> CaptureCompare16bitInstance --+--> ComplementaryCaptureCompare16bitInstance
 | 
				
			||||||
//!                                                 +--> CaptureCompare32bitInstance  
 | 
					//!                                                 |
 | 
				
			||||||
 | 
					//!                                                 +--> CaptureCompare32bitInstance
 | 
				
			||||||
 | 
					//! ```
 | 
				
			||||||
//!
 | 
					//!
 | 
				
			||||||
//! mapping:
 | 
					//! Mapping:
 | 
				
			||||||
//!
 | 
					//!
 | 
				
			||||||
//! BasicInstance --> Basic Timer  
 | 
					//! |                   trait                    | timer                                                                                             |
 | 
				
			||||||
//! CaptureCompare16bitInstance --> 1-channel Timer, 2-channel Timer, General Purpose 16-bit Timer  
 | 
					//! | :----------------------------------------: | ------------------------------------------------------------------------------------------------- |
 | 
				
			||||||
//! CaptureCompare32bitInstance --> General Purpose 32-bit Timer  
 | 
					//! |              [BasicInstance]               | Basic Timer                                                                                       |
 | 
				
			||||||
//! ComplementaryCaptureCompare16bitInstance --> 1-channel with one complentary Timer, 2-channel with one complentary Timer, Advance Control Timer  
 | 
					//! |       [CaptureCompare16bitInstance]        | 1-channel Timer, 2-channel Timer, General Purpose 16-bit Timer                                    |
 | 
				
			||||||
 | 
					//! |       [CaptureCompare32bitInstance]        | General Purpose 32-bit Timer                                                                      |
 | 
				
			||||||
 | 
					//! | [ComplementaryCaptureCompare16bitInstance] | 1-channel with one complentary Timer, 2-channel with one complentary Timer, Advance Control Timer |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#[cfg(not(stm32l0))]
 | 
					#[cfg(not(stm32l0))]
 | 
				
			||||||
pub mod complementary_pwm;
 | 
					pub mod complementary_pwm;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user