Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						036e6ae30c 
					 
					
						
						
							
							Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. ( #1700 )  
						
						 
						
						
						
						
					 
					
						2023-07-28 13:23:22 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								xoviat 
							
						 
					 
					
						
						
							
						
						270d1d59a0 
					 
					
						
						
							
							stm32/rcc: use wpan default only for wpan  
						
						 
						
						
						
						
					 
					
						2023-07-24 18:25:15 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								xoviat 
							
						 
					 
					
						
						
							
						
						1425dda0a7 
					 
					
						
						
							
							stm32/rcc: fix minor issues  
						
						 
						
						
						
						
					 
					
						2023-07-24 17:19:45 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								xoviat 
							
						 
					 
					
						
						
							
						
						bd60f003e0 
					 
					
						
						
							
							stm32/rcc: move rcc logic from ipcc  
						
						 
						
						
						
						
					 
					
						2023-07-23 17:01:34 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Phil Markgraf 
							
						 
					 
					
						
						
							
						
						3bae533066 
					 
					
						
						
							
							Enable RTC on STM32WL chips ( #1645 )  
						
						 
						
						... 
						
						
						
						* Add clippy allow to not report if same then branch
* Support enabling RTC clock on STM32WL
* Add clippy allow to not report if same then branch
* Support enabling RTC clock on STM32WL
* Add rtc example for stm32wl
* Address code review feedback 
						
						
					 
					
						2023-07-15 13:40:23 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Purser 
							
						 
					 
					
						
						
							
						
						69b4e898b3 
					 
					
						
						
							
							Correctly calculate target VCO frequency from multipliers  
						
						 
						
						
						
						
					 
					
						2023-07-07 20:52:44 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mathias 
							
						 
					 
					
						
						
							
						
						1255d8a8ce 
					 
					
						
						
							
							Merge branch 'main' of  https://github.com/embassy-rs/embassy  into embassy-stm32/rcc-rtc-l4  
						
						 
						
						
						
						
					 
					
						2023-07-05 12:36:42 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						eb57bb298f 
					 
					
						
						
							
							Merge pull request  #1617  from xoviat/const-rcc  
						
						 
						
						... 
						
						
						
						stm32/rcc: allow const-propagation 
						
						
					 
					
						2023-07-04 22:31:55 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								xoviat 
							
						 
					 
					
						
						
							
						
						953c745ed8 
					 
					
						
						
							
							stm32/rcc: allow const-propagation  
						
						 
						
						
						
						
					 
					
						2023-07-04 16:29:46 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						9c4df46c46 
					 
					
						
						
							
							rustfmt.  
						
						 
						
						
						
						
					 
					
						2023-07-04 21:34:55 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mathias 
							
						 
					 
					
						
						
							
						
						60b2f075dc 
					 
					
						
						
							
							Merge branch 'main' of  https://github.com/embassy-rs/embassy  into embassy-stm32/rcc-rtc-l4  
						
						 
						
						
						
						
					 
					
						2023-07-03 19:33:26 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mathias 
							
						 
					 
					
						
						
							
						
						d372df7ddb 
					 
					
						
						
							
							L4: Switch to MSI to prevent problems with PLL configuration, and enable power to AHB bus clock to allow RTC to run  
						
						 
						
						
						
						
					 
					
						2023-07-01 12:16:23 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						e892014b65 
					 
					
						
						
							
							Update stm32-metapac, includes chiptool changes to use real Rust enums now.  
						
						 
						
						
						
						
					 
					
						2023-06-29 02:01:33 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kevin Lannen 
							
						 
					 
					
						
						
							
						
						5666c56903 
					 
					
						
						
							
							STM32G4: Add CRS support to RCC  
						
						 
						
						... 
						
						
						
						Create working CRS USB Example 
						
						
					 
					
						2023-06-28 16:53:16 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						ed493be869 
					 
					
						
						
							
							stm32: update metapac, includes fix for OTG with 9 endpoints (H7)  
						
						 
						
						
						
						
					 
					
						2023-06-27 23:58:32 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						558918651e 
					 
					
						
						
							
							stm32: update stm32-metapac.  
						
						 
						
						
						
						
					 
					
						2023-06-19 03:22:12 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kevin Lannen 
							
						 
					 
					
						
						
							
						
						c94ba84892 
					 
					
						
						
							
							stm32g4: PLL: Add support for configuring PLL_P and PLL_Q  
						
						 
						
						
						
						
					 
					
						2023-06-14 10:44:51 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carl St-Laurent 
							
						 
					 
					
						
						
							
						
						8ddeaddc67 
					 
					
						
						
							
							Rename to follow ref manual and CubeIDE  
						
						 
						
						
						
						
					 
					
						2023-06-08 20:46:48 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carl St-Laurent 
							
						 
					 
					
						
						
							
						
						4185c10bf8 
					 
					
						
						
							
							Cleanup  
						
						 
						
						
						
						
					 
					
						2023-06-04 12:09:03 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carl St-Laurent 
							
						 
					 
					
						
						
							
						
						ade46489f1 
					 
					
						
						
							
							Added Vcore boost mode and Flash wait state  
						
						 
						
						
						
						
					 
					
						2023-06-04 11:57:42 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carl St-Laurent 
							
						 
					 
					
						
						
							
						
						6fe853a7d3 
					 
					
						
						
							
							Better comments  
						
						 
						
						
						
						
					 
					
						2023-06-04 10:58:44 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carl St-Laurent 
							
						 
					 
					
						
						
							
						
						2f269f3256 
					 
					
						
						
							
							stm32/rcc: Implement basic PLL support for STM32G4 series  
						
						 
						
						
						
						
					 
					
						2023-06-03 22:05:24 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								bors[bot] 
							
						 
					 
					
						
						
							
						
						d28dc08f09 
					 
					
						
						
							
							Merge  #1486  
						
						 
						
						... 
						
						
						
						1486: feature(embassy-stm32): add RTC MUX selection to embassy-stm32 L4 family r=Dirbaio a=MathiasKoch
To select and setup LSE and/or LSI
Co-authored-by: Mathias <mk@blackbird.online > 
						
						
					 
					
						2023-05-25 20:13:27 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mathias 
							
						 
					 
					
						
						
							
						
						181c4c5311 
					 
					
						
						
							
							Add RTC MUX selection to embassy-stm32 L4 family, to select and setup LSE and/or LSI  
						
						 
						
						
						
						
					 
					
						2023-05-25 21:28:32 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rasmus Melchior Jacobsen 
							
						 
					 
					
						
						
							
						
						963f3e3059 
					 
					
						
						
							
							Align with updated stm32 metapac  
						
						 
						
						
						
						
					 
					
						2023-05-25 16:06:02 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marco Pastrello 
							
						 
					 
					
						
						
							
						
						db2bc8783e 
					 
					
						
						
							
							Improve readability  
						
						 
						
						
						
						
					 
					
						2023-05-05 19:04:58 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marco Pastrello 
							
						 
					 
					
						
						
							
						
						c37f86ff1c 
					 
					
						
						
							
							removes unecessary braces  
						
						 
						
						
						
						
					 
					
						2023-05-05 00:12:32 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marco Pastrello 
							
						 
					 
					
						
						
							
						
						2dcbe75cca 
					 
					
						
						
							
							beautify  
						
						 
						
						
						
						
					 
					
						2023-05-04 23:51:42 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marco Pastrello 
							
						 
					 
					
						
						
							
						
						5158014f3f 
					 
					
						
						
							
							PPLXTPRE is a bool.  
						
						 
						
						... 
						
						
						
						This flag for example permits the following clock tree
configuration on stm32f103r8
    let mut config = Config::default();
    config.rcc.hse = Some(Hertz(16_000_000));
    config.rcc.sys_ck = Some(Hertz(72_000_000));
    config.rcc.pclk1 = Some(Hertz(36_000_000));
    config.rcc.pclk2 = Some(Hertz(72_000_000));
    config.rcc.pllxtpre = true;
Init fails if pllxtpre is false. 
						
						
					 
					
						2023-05-04 22:59:52 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marco Pastrello 
							
						 
					 
					
						
						
							
						
						1cc61dc68a 
					 
					
						
						
							
							Support PLLXTPRE switch.  
						
						 
						
						... 
						
						
						
						See figure 2. Clock tree page 12 DS5319 Rev 18
https://www.st.com/resource/en/datasheet/stm32f103cb.pdf  
						
						
					 
					
						2023-05-04 21:32:37 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								bors[bot] 
							
						 
					 
					
						
						
							
						
						1fdce6e52a 
					 
					
						
						
							
							Merge  #1360   #1361  
						
						 
						
						... 
						
						
						
						1360: stm32/rcc: add i2s pll on some f4 micros r=Dirbaio a=xoviat
Adds the i2s pll on some f4 micros. 
1361: Executor: Replace unnecessary atomics in runqueue r=Dirbaio a=GrantM11235
Only the head pointer needs to be atomic. The `RunQueueItem` pointers are only loaded and stored, and never concurrently
Co-authored-by: xoviat <xoviat@users.noreply.github.com >
Co-authored-by: Grant Miller <GrantM11235@gmail.com > 
						
						
					 
					
						2023-04-15 10:38:28 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								xoviat 
							
						 
					 
					
						
						
							
						
						f395ec44e8 
					 
					
						
						
							
							stm32/rcc: add pllsai clock  
						
						 
						
						
						
						
					 
					
						2023-04-14 21:28:27 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								xoviat 
							
						 
					 
					
						
						
							
						
						650589ab3f 
					 
					
						
						
							
							stm32/rcc: add plli2s to Clocks and cfg directives  
						
						 
						
						
						
						
					 
					
						2023-04-14 16:30:36 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								xoviat 
							
						 
					 
					
						
						
							
						
						c1d5f86871 
					 
					
						
						
							
							stm32/rcc: fix warnings  
						
						 
						
						
						
						
					 
					
						2023-04-12 18:11:55 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								xoviat 
							
						 
					 
					
						
						
							
						
						0289630fe4 
					 
					
						
						
							
							stm32/rcc: add i2s pll on some f4 micros  
						
						 
						
						
						
						
					 
					
						2023-04-12 18:04:44 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Goll 
							
						 
					 
					
						
						
							
						
						f3699e67b9 
					 
					
						
						
							
							Fix typo in derivation of PLLP divisor  
						
						 
						
						
						
						
					 
					
						2023-04-12 02:07:31 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						611d023829 
					 
					
						
						
							
							stm32: add H5 support.  
						
						 
						
						
						
						
					 
					
						2023-04-06 18:59:37 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mathieu Dupont 
							
						 
					 
					
						
						
							
						
						1349dabe1a 
					 
					
						
						
							
							add compilation time exclusion for stm32f410  
						
						 
						
						
						
						
					 
					
						2023-04-03 17:55:05 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mathieu Dupont 
							
						 
					 
					
						
						
							
						
						4ce1c5f27d 
					 
					
						
						
							
							Add MCO support for L4 and F4 families  
						
						 
						
						
						
						
					 
					
						2023-04-03 16:41:25 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Yanush 
							
						 
					 
					
						
						
							
						
						13f0c64a8c 
					 
					
						
						
							
							Fix APB clock calculation for several STM32 families  
						
						 
						
						
						
						
					 
					
						2023-03-16 21:21:39 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Enderle 
							
						 
					 
					
						
						
							
						
						d21643c060 
					 
					
						
						
							
							fix "prescaler none" which incorrectly set "prescaler divided by 3"  
						
						 
						
						
						
						
					 
					
						2023-02-12 11:36:57 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christian Enderle 
							
						 
					 
					
						
						
							
						
						5e3c33b777 
					 
					
						
						
							
							Fix rcc prescaler for wb55 HCLK1  
						
						 
						
						... 
						
						
						
						- fix prescaler not divided which incorrectly set prescaler divided by 3 
						
						
					 
					
						2023-01-21 14:39:25 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						f604153f05 
					 
					
						
						
							
							stm32/rcc: print actual freqs on boot.  
						
						 
						
						
						
						
					 
					
						2023-01-20 16:31:04 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						2a349afea7 
					 
					
						
						
							
							stm32: add stm32c0 support.  
						
						 
						
						
						
						
					 
					
						2023-01-17 21:28:16 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						041531c829 
					 
					
						
						
							
							stm32/rcc: fix u5 pll, add hsi48.  
						
						 
						
						
						
						
					 
					
						2023-01-11 17:57:22 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Timo Kröger 
							
						 
					 
					
						
						
							
						
						84240d49ea 
					 
					
						
						
							
							stm32wl: Fix RCC  
						
						 
						
						... 
						
						
						
						* `MSIRGSEL = 1` was required for MSI accept the updated MSI range
* Reorder enable and clock switching to properly handle the jump from
the default 4MHz MSI to a higher MSI freuquency 
						
						
					 
					
						2022-08-26 15:44:58 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						2649f13dc7 
					 
					
						
						
							
							stm32/rcc: fix unnecessary parentheses  
						
						 
						
						
						
						
					 
					
						2022-08-17 15:03:23 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						4901c34d9c 
					 
					
						
						
							
							Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral  
						
						 
						
						
						
						
					 
					
						2022-07-23 14:00:19 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Grant Miller 
							
						 
					 
					
						
						
							
						
						5ecbe5c918 
					 
					
						
						
							
							embassy-stm32: Simplify time  
						
						 
						
						... 
						
						
						
						- Remove unused `MilliSeconds`, `MicroSeconds`, and `NanoSeconds` types
- Remove `Bps`, `KiloHertz`, and `MegaHertz` types that were only used
for converting to `Hertz`
- Replace all instances of `impl Into<Hertz>` with `Hertz`
- Add `hz`, `khz`, and `mhz` methods to `Hertz`, as well as
free function shortcuts
- Remove `U32Ext` extension trait 
						
						
					 
					
						2022-07-10 21:46:45 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								chemicstry 
							
						 
					 
					
						
						
							
						
						5a208d28d0 
					 
					
						
						
							
							Fix g0 rcc build  
						
						 
						
						
						
						
					 
					
						2022-07-11 00:37:00 +03:00