Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							2bca875b5f 
							
						 
					 
					
						
						
							
							stm32: use private_bounds for sealed traits.  
						
						
						
						
					 
					
						2024-03-23 01:38:51 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							3387ee7238 
							
						 
					 
					
						
						
							
							stm32/gpio: remove generics.  
						
						
						
						
					 
					
						2024-01-22 21:31:06 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							495b8b739a 
							
						 
					 
					
						
						
							
							Change GPIO inherent methods back to &self.  
						
						... 
						
						
						
						With the embedded-hal rc3 update I changed them to require `&mut self`, but
in retrospect I think `&self` is better, for extra flexibility.
This PR reverts the changes from the rc3 update to inherent methods. 
						
						
					 
					
						2024-01-10 00:00:10 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							49534cd405 
							
						 
					 
					
						
						
							
							stm32: more docs.  
						
						
						
						
					 
					
						2023-12-19 00:10:36 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							80c9d04bbd 
							
						 
					 
					
						
						
							
							stm32: add some docs.  
						
						
						
						
					 
					
						2023-12-18 00:53:18 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							d81395fab3 
							
						 
					 
					
						
						
							
							Update embedded-hal to 1.0.0-rc.3  
						
						
						
						
					 
					
						2023-12-14 16:19:32 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							c6989dfbca 
							
						 
					 
					
						
						
							
							Remove nightly and unstable-traits features in preparation for 1.75.  
						
						
						
						
					 
					
						2023-11-29 17:26:33 +01:00 
						 
				 
			
				
					
						
							
							
								Adam Greig 
							
						 
					 
					
						
						
						
						
							
						
						
							e78a6db151 
							
						 
					 
					
						
						
							
							stm32: Don't try handle EXTI inputs above 16  
						
						
						
						
					 
					
						2023-11-01 05:23:34 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							97ca0e77bf 
							
						 
					 
					
						
						
							
							stm32: avoid creating many tiny critical sections in init.  
						
						... 
						
						
						
						Saves 292 bytes on stm32f0 bilnky with max optimizations (from 3132 to 2840). 
						
						
					 
					
						2023-10-12 16:20:34 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							e03239e88d 
							
						 
					 
					
						
						
							
							stm32: centralize enabling pwr, syscfg, flash.  
						
						
						
						
					 
					
						2023-09-25 01:07:55 +02:00 
						 
				 
			
				
					
						
							
							
								Sebastian Goll 
							
						 
					 
					
						
						
						
						
							
						
						
							2405aff11f 
							
						 
					 
					
						
						
							
							Add get_level() to ExtiInput  
						
						
						
						
					 
					
						2023-09-20 00:03:39 +02:00 
						 
				 
			
				
					
						
							
							
								xoviat 
							
						 
					 
					
						
						
						
						
							
						
						
							6da75ea285 
							
						 
					 
					
						
						
							
							stm32: rtc/low-power cleanup  
						
						
						
						
					 
					
						2023-09-15 18:41:33 -05:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							558918651e 
							
						 
					 
					
						
						
							
							stm32: update stm32-metapac.  
						
						
						
						
					 
					
						2023-06-19 03:22:12 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							8c93805ab5 
							
						 
					 
					
						
						
							
							Add rt feature to HALs, cfg out interrupt handling when not set.  
						
						
						
						
					 
					
						2023-06-08 18:57:03 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							921780e6bf 
							
						 
					 
					
						
						
							
							Make interrupt module more standard.  
						
						... 
						
						
						
						- Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`.
- Reexport the PAC interrupt enum in `embassy_xx::interrupt`.
This has a few advantages:
- The `embassy_xx::interrupt` module is now more "standard".
  - It works with `cortex-m` functions for manipulating interrupts, for example.
  - It works with RTIC.
- the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs.
- When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`. 
						
						
					 
					
						2023-06-08 18:00:48 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							404aa29289 
							
						 
					 
					
						
						
							
							cortex-m: remove owned interrupts.  
						
						
						
						
					 
					
						2023-06-01 03:25:19 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							611d023829 
							
						 
					 
					
						
						
							
							stm32: add H5 support.  
						
						
						
						
					 
					
						2023-04-06 18:59:37 +02:00 
						 
				 
			
				
					
						
							
							
								Grant Miller 
							
						 
					 
					
						
						
						
						
							
						
						
							7be4337de9 
							
						 
					 
					
						
						
							
							Add #[must_use] to all futures  
						
						
						
						
					 
					
						2023-02-24 13:01:41 -06:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							2a349afea7 
							
						 
					 
					
						
						
							
							stm32: add stm32c0 support.  
						
						
						
						
					 
					
						2023-01-17 21:28:16 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							1e2fb0459d 
							
						 
					 
					
						
						
							
							Switch to async-fn-in-trait  
						
						
						
						
					 
					
						2022-11-25 21:02:06 +01:00 
						 
				 
			
				
					
						
							
							
								Ulf Lilleengen 
							
						 
					 
					
						
						
						
						
							
						
						
							72c2e985bb 
							
						 
					 
					
						
						
							
							Update embedded-hal versions and explicitly pin  
						
						
						
						
					 
					
						2022-09-29 11:27:46 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							8ba421f324 
							
						 
					 
					
						
						
							
							Do not use cfg_if for embedded-hal-async feature gates.  
						
						... 
						
						
						
						Old code used `cfg_if!` because rustc still parses code inside disabled cfg's, and Rust stable at that time couldn't parse the new GAT where-clause location. This is not the case anymore. 
						
						
					 
					
						2022-08-31 03:11:21 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							21072bee48 
							
						 
					 
					
						
						
							
							split embassy-util into embassy-futures, embassy-sync.  
						
						
						
						
					 
					
						2022-08-22 22:18:13 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							a0f1b0ee01 
							
						 
					 
					
						
						
							
							Split embassy crate into embassy-executor, embassy-util.  
						
						
						
						
					 
					
						2022-07-29 23:40:36 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							4901c34d9c 
							
						 
					 
					
						
						
							
							Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral  
						
						
						
						
					 
					
						2022-07-23 14:00:19 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							be6408e202 
							
						 
					 
					
						
						
							
							Rename unsafe_impl_unborrow to impl_unborrow  
						
						
						
						
					 
					
						2022-07-23 01:33:22 +02:00 
						 
				 
			
				
					
						
							
							
								amugniere@gmail.com 
							
						 
					 
					
						
						
						
						
							
						
						
							53388d4576 
							
						 
					 
					
						
						
							
							have adapted access to pin() and port() methods of Sealed::Pin in exti.rs  according to previous changes on Input struct  
						
						
						
						
					 
					
						2022-07-10 20:55:04 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							a8703b7598 
							
						 
					 
					
						
						
							
							Run rustfmt.  
						
						
						
						
					 
					
						2022-06-12 22:22:31 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							5085100df2 
							
						 
					 
					
						
						
							
							Add embassy-cortex-m crate.  
						
						... 
						
						
						
						- Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`.
- Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore)
- Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`. 
						
						
					 
					
						2022-06-12 21:45:38 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							96d0eb9476 
							
						 
					 
					
						
						
							
							stm32: Fix stm32f107 build.  
						
						
						
						
					 
					
						2022-05-08 21:37:37 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							8b757e1aec 
							
						 
					 
					
						
						
							
							Add stm32wlexx support  
						
						
						
						
					 
					
						2022-04-08 03:43:58 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							9bad9365dc 
							
						 
					 
					
						
						
							
							Update rust nightly, embedded-hal 1.0, embedded-hal-async.  
						
						
						
						
					 
					
						2022-03-11 00:38:07 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							dd828a7a92 
							
						 
					 
					
						
						
							
							stm32: move macrotables to embassy-stm32 build.rs  
						
						
						
						
					 
					
						2022-02-26 03:23:09 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							ea5cd19c30 
							
						 
					 
					
						
						
							
							stm32: fix build for h7ab  
						
						
						
						
					 
					
						2022-02-24 06:28:29 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							340eb4eead 
							
						 
					 
					
						
						
							
							stm32: add rust stable support  
						
						
						
						
					 
					
						2022-02-12 02:45:52 +01:00 
						 
				 
			
				
					
						
							
							
								Ulf Lilleengen 
							
						 
					 
					
						
						
						
						
							
						
						
							4032fc0655 
							
						 
					 
					
						
						
							
							Support unstable-trait feature for stm32  
						
						
						
						
					 
					
						2022-01-26 22:39:06 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							ade44e91c4 
							
						 
					 
					
						
						
							
							stm32/exti: add wait_for_high, wait_for_low.  
						
						
						
						
					 
					
						2022-01-19 17:59:55 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							b526addf7b 
							
						 
					 
					
						
						
							
							stm32/exti: expose all functionality as inherent methods.  
						
						
						
						
					 
					
						2022-01-19 17:59:55 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							58fc64722c 
							
						 
					 
					
						
						
							
							stm32/gpio: expose all functionality as inherent methods.  
						
						
						
						
					 
					
						2022-01-19 17:59:55 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							52e156b429 
							
						 
					 
					
						
						
							
							stm32: use critical_section instead of cortex_m::interrupt  
						
						
						
						
					 
					
						2022-01-19 17:59:55 +01:00 
						 
				 
			
				
					
						
							
							
								Wilfried Chauveau 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eac604accd 
							
						 
					 
					
						
						
							
							Fix missing lifetime bounds  
						
						
						
						
					 
					
						2021-11-21 10:10:28 +00:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							f12b70535b 
							
						 
					 
					
						
						
							
							Adjust for STM32U5.  
						
						
						
						
					 
					
						2021-11-02 12:05:24 -04:00 
						 
				 
			
				
					
						
							
							
								Mariusz Ryndzionek 
							
						 
					 
					
						
						
						
						
							
						
						
							bce909ec1e 
							
						 
					 
					
						
						
							
							Initial STM32F1 family support with two examples for STM32F103C8 (Blue Pill)  
						
						
						
						
					 
					
						2021-09-28 18:31:04 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							ead987245d 
							
						 
					 
					
						
						
							
							embassy: Refactor module structure to remove kitchen-sink util.  
						
						
						
						
					 
					
						2021-09-11 02:35:35 +02:00 
						 
				 
			
				
					
						
							
							
								Ben Gamari 
							
						 
					 
					
						
						
						
						
							
						
						
							e2f71ffbbd 
							
						 
					 
					
						
						
							
							Add support for STM32G0  
						
						
						
						
					 
					
						2021-08-20 00:15:11 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							ec51880e28 
							
						 
					 
					
						
						
							
							stm32/exti: unify all versions into single impl  
						
						
						
						
					 
					
						2021-08-19 22:17:17 +02:00 
						 
				 
			
				
					
						
							
							
								Thales Fragoso 
							
						 
					 
					
						
						
						
						
							
						
						
							013792b944 
							
						 
					 
					
						
						
							
							Separate exti into v1 and v2  
						
						
						
						
					 
					
						2021-06-24 20:28:06 -03:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							240616aa72 
							
						 
					 
					
						
						
							
							General clean-up and removal of dead code.  
						
						
						
						
					 
					
						2021-06-03 14:25:17 -04:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							d75bf143eb 
							
						 
					 
					
						
						
							
							Remove the exti_interrupts table.  
						
						
						
						
					 
					
						2021-06-03 14:18:58 -04:00