JuliDi 
							
						 
					 
					
						
						
							
						
						8d0095c618 
					 
					
						
						
							
							add option to enable/disable complete transfer interrupt  
						
						
						
						
					 
					
						2023-06-22 10:43:45 +02:00 
						 
				 
			
				
					
						
							
							
								JuliDi 
							
						 
					 
					
						
						
							
						
						fdb3c3d6ff 
					 
					
						
						
							
							Merge remote-tracking branch 'upstream/main'  
						
						
						
						
					 
					
						2023-06-21 11:52:53 +02:00 
						 
				 
			
				
					
						
							
							
								JuliDi 
							
						 
					 
					
						
						
							
						
						88052480b1 
					 
					
						
						
							
							fix typo, minor cleanup  
						
						
						
						
					 
					
						2023-06-19 13:50:17 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						3c70f799a2 
					 
					
						
						
							
							Merge pull request  #1572  from whitequark/bdma-blocking_wait-stop  
						
						... 
						
						
						
						BDMA: request stop after busy loop in blocking_wait() 
						
						
					 
					
						2023-06-19 09:55:07 +00:00 
						 
				 
			
				
					
						
							
							
								JuliDi 
							
						 
					 
					
						
						
							
						
						e0747e937f 
					 
					
						
						
							
							remove unsafe for circular dma reg access  
						
						
						
						
					 
					
						2023-06-19 11:15:09 +02:00 
						 
				 
			
				
					
						
							
							
								JuliDi 
							
						 
					 
					
						
						
							
						
						320e2cf35b 
					 
					
						
						
							
							Merge branch 'main' of github.com:embassy-rs/embassy  
						
						
						
						
					 
					
						2023-06-19 11:14:48 +02:00 
						 
				 
			
				
					
						
							
							
								Catherine 
							
						 
					 
					
						
						
							
						
						bbc81146ec 
					 
					
						
						
							
							BDMA: request stop after busy loop in blocking_wait().  
						
						... 
						
						
						
						Otherwise the channel cannot be used again, since CR.EN remains set
and the DMA channel registers are read-only while it is set. 
						
						
					 
					
						2023-06-19 09:06:41 +00:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						558918651e 
					 
					
						
						
							
							stm32: update stm32-metapac.  
						
						
						
						
					 
					
						2023-06-19 03:22:12 +02:00 
						 
				 
			
				
					
						
							
							
								JuliDi 
							
						 
					 
					
						
						
							
						
						f8ee33abb9 
					 
					
						
						
							
							add half transfer interrupt and circular dma  
						
						
						
						
					 
					
						2023-06-18 18:51:36 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						98c821ac39 
					 
					
						
						
							
							Remove embassy-cortex-m crate, move stuff to embassy-hal-common.  
						
						
						
						
					 
					
						2023-06-09 16:44:20 +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 
						 
				 
			
				
					
						
							
							
								xoviat 
							
						 
					 
					
						
						
							
						
						aba0f8fd6c 
					 
					
						
						
							
							stm32/uart: refactor rx ringbuffer  
						
						... 
						
						
						
						- remove some race conditions
- allow full use of rx buffer 
						
						
					 
					
						2023-05-29 14:49:43 -05:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						00cde67abe 
					 
					
						
						
							
							stm32/dma: solve overlapping impl on DmaCtrl on stm32h7  
						
						
						
						
					 
					
						2023-05-01 23:20:51 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						25864ae4dc 
					 
					
						
						
							
							stm32/bdma: add ringbuffer support.  
						
						
						
						
					 
					
						2023-05-01 22:42:36 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						2080d8bb6d 
					 
					
						
						
							
							stm32/spi: add support for all word sizes.  
						
						... 
						
						
						
						Co-Authored-By: anton smeenk <asmeenk@planet.nl > 
						
						
					 
					
						2023-04-18 20:56:23 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						173c65b543 
					 
					
						
						
							
							stm32/dma: refactor.  
						
						
						
						
					 
					
						2023-04-18 16:37:35 +02:00 
						 
				 
			
				
					
						
							
							
								chemicstry 
							
						 
					 
					
						
						
							
						
						a53f525f51 
					 
					
						
						
							
							stm32/sdmmc: Fix SDIOv1 writes  
						
						
						
						
					 
					
						2023-02-18 01:37:06 +02:00 
						 
				 
			
				
					
						
							
							
								Rasmus Melchior Jacobsen 
							
						 
					 
					
						
						
							
						
						47a0769fc2 
					 
					
						
						
							
							Let repeated clock byte be singular pointer and not array pointer  
						
						
						
						
					 
					
						2022-12-23 15:49:22 +01:00 
						 
				 
			
				
					
						
							
							
								Rasmus Melchior Jacobsen 
							
						 
					 
					
						
						
							
						
						e9a2c4a9e3 
					 
					
						
						
							
							Let start_write_repeated accept pointer instead of slice  
						
						
						
						
					 
					
						2022-12-23 15:40:09 +01:00 
						 
				 
			
				
					
						
							
							
								Rasmus Melchior Jacobsen 
							
						 
					 
					
						
						
							
						
						da9ee83756 
					 
					
						
						
							
							fix(stm32): Fix write buffer lifetime for repeated writes  
						
						
						
						
					 
					
						2022-12-23 09:32:18 +01:00 
						 
				 
			
				
					
						
							
							
								Matous Hybl 
							
						 
					 
					
						
						
							
						
						4cc0463123 
					 
					
						
						
							
							stm32: Add basic support for DMA priority settings  
						
						
						
						
					 
					
						2022-11-28 21:22:39 +01: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 
							
						 
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
							
							
								Matous Hybl 
							
						 
					 
					
						
						
							
						
						945fa0871f 
					 
					
						
						
							
							Implement giant (chunked) DMA transfers for DCMI.  
						
						
						
						
					 
					
						2022-04-25 14:30:43 +02:00 
						 
				 
			
				
					
						
							
							
								chemicstry 
							
						 
					 
					
						
						
							
						
						48fc48ea7d 
					 
					
						
						
							
							Fix BDMA  
						
						
						
						
					 
					
						2022-03-16 19:41:34 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						77841a4676 
					 
					
						
						
							
							stm32/dma: panic on DMA error.  
						
						
						
						
					 
					
						2022-03-09 03:19:05 +01:00 
						 
				 
			
				
					
						
							
							
								Grant Miller 
							
						 
					 
					
						
						
							
						
						8c45c98e41 
					 
					
						
						
							
							stm32: Refactor DMA interrupts  
						
						... 
						
						
						
						Previously, every dma interrupt handler called the same `on_irq`
function which had to check the state of every dma channel.
Now, each dma interrupt handler only calls an `on_irq` method for its
corresponding channel or channels. 
						
						
					 
					
						2022-03-08 14:18:31 -06:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						53d9a0b516 
					 
					
						
						
							
							stm32: exclude spammy files from docs by prefixing with _.  
						
						... 
						
						
						
						These files end up containing chip-specific info, so they deduplicate
really badly when building docs for all 1200 chips.
The doc generator removes files starting with `_`. 
						
						
					 
					
						2022-03-04 18:03:41 +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 
							
						 
					 
					
						
						
							
						
						8160af6af9 
					 
					
						
						
							
							stm32: replace peripheral_rcc! macrotable with build.rs  
						
						
						
						
					 
					
						2022-02-09 00:58:17 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						fbaa7e59d5 
					 
					
						
						
							
							stm32/dma: fix interrupt codegen for new stm32-data  
						
						
						
						
					 
					
						2022-02-05 03:03:32 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						3d27a0e7cb 
					 
					
						
						
							
							stm32/dma: make lowlevel api take ptrs instead of slices.  
						
						
						
						
					 
					
						2022-01-19 17:59:55 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						022c4cb739 
					 
					
						
						
							
							stm32/dma: simplify impls a bit.  
						
						
						
						
					 
					
						2021-12-08 03:30:07 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						b316d2620c 
					 
					
						
						
							
							stm32/dma: improve trait docs, seal Word.  
						
						
						
						
					 
					
						2021-12-08 03:18:15 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						4e349d0f5d 
					 
					
						
						
							
							stm32/dma: use the right waker slot number for DMA2 (must add 8)  
						
						
						
						
					 
					
						2021-12-08 01:54:31 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						fd2fe62b5f 
					 
					
						
						
							
							stm32/dma: rename is_stopped to is_running.  
						
						... 
						
						
						
						Note that this does NOT invert the result of `en()` because it was
wrong before. 
						
						
					 
					
						2021-12-08 01:51:39 +01:00 
						 
				 
			
				
					
						
							
							
								Matous Hybl 
							
						 
					 
					
						
						
							
						
						b2910558d3 
					 
					
						
						
							
							Refactor DMA traits.  
						
						
						
						
					 
					
						2021-12-07 21:43:47 +01:00 
						 
				 
			
				
					
						
							
							
								Joshua Salzedo 
							
						 
					 
					
						
						
							
						
						e2719aba10 
					 
					
						
						
							
							Further extend the dma channel trait  
						
						
						
						
					 
					
						2021-12-07 21:43:47 +01:00 
						 
				 
			
				
					
						
							
							
								Joshua Salzedo 
							
						 
					 
					
						
						
							
						
						93e047ede2 
					 
					
						
						
							
							cargo fmt  
						
						
						
						
					 
					
						2021-12-07 21:43:47 +01:00 
						 
				 
			
				
					
						
							
							
								Joshua Salzedo 
							
						 
					 
					
						
						
							
						
						3411039cb9 
					 
					
						
						
							
							Implement extended Channel trait to bdma.rs  
						
						
						
						
					 
					
						2021-12-07 21:43:47 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						ead987245d 
					 
					
						
						
							
							embassy: Refactor module structure to remove kitchen-sink util.  
						
						
						
						
					 
					
						2021-09-11 02:35:35 +02:00 
						 
				 
			
				
					
						
							
							
								Thales Fragoso 
							
						 
					 
					
						
						
							
						
						c7ae2d2a3a 
					 
					
						
						
							
							stm32: Add fences to DMA code  
						
						
						
						
					 
					
						2021-08-10 20:45:41 -03:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						9bd34429f3 
					 
					
						
						
							
							stm32: add missing + 'a bounds on trait GATs  
						
						
						
						
					 
					
						2021-08-04 19:39:54 +02:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
							
						
						8759213fcc 
					 
					
						
						
							
							Use new interrupt! table format to /enable/ the IRQs also.  
						
						
						
						
					 
					
						2021-07-27 13:23:33 -04:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
							
						
						b910551c9a 
					 
					
						
						
							
							Generate more rows in the interrupts! table.  
						
						... 
						
						
						
						Adjust DMA/BDMA to use the new style. 
						
						
					 
					
						2021-07-27 12:52:01 -04:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
						
						3c7375c6cd 
					 
					
						
						
							
							stm32/bdma: do not clear IF on IRQ handler  
						
						
						
						
					 
					
						2021-07-24 10:01:11 +02:00