update num groups definition
This commit is contained in:
		
							parent
							
								
									4bf2178de7
								
							
						
					
					
						commit
						3cd6232d43
					
				| @ -13,6 +13,11 @@ use crate::pac::tsc::Tsc as Regs; | |||||||
| use crate::rcc::RccPeripheral; | use crate::rcc::RccPeripheral; | ||||||
| use crate::{peripherals, Peripheral}; | use crate::{peripherals, Peripheral}; | ||||||
| 
 | 
 | ||||||
|  | #[cfg(tsc_v1)] | ||||||
|  | const TSC_NUM_GROUPS: u32 = 6; | ||||||
|  | #[cfg(tsc_v2)] | ||||||
|  | const TSC_NUM_GROUPS: u32 = 7; | ||||||
|  | #[cfg(tsc_v3)] | ||||||
| const TSC_NUM_GROUPS: u32 = 8; | const TSC_NUM_GROUPS: u32 = 8; | ||||||
| 
 | 
 | ||||||
| /// Error type defined for TSC
 | /// Error type defined for TSC
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user