Dario Nieuwenhuis
							
						 
					 | 
					
						
						
							
						
						306110f56e
					 | 
					
						
						
							
							stm32/spi: implement async trasnfer_in_place
						
						
						
						
						
						
					 | 
					
						2022-03-15 00:40:48 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						f1d6c95205
					 | 
					
						
						
							
							rustfmt
						
						
						
						
						
						
					 | 
					
						2022-03-14 18:22:41 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						71632648c7
					 | 
					
						
						
							
							Fix zero-length-slice bugs
						
						
						
						
						
						
					 | 
					
						2022-03-14 18:14:55 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						15c533fe2a
					 | 
					
						
						
							
							Fix async write bug
						
						
						
						
						
						
					 | 
					
						2022-03-14 18:04:31 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						6e00c58854
					 | 
					
						
						
							
							Make all functions generic over word size
						
						
						
						
						
						
					 | 
					
						2022-03-14 16:53:50 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						f0b62bc8e0
					 | 
					
						
						
							
							Use const REGS
						
						
						
						
						
						
					 | 
					
						2022-03-14 15:56:08 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						482ffea4dd
					 | 
					
						
						
							
							Finish unification
						
						
						
						
						
						
					 | 
					
						2022-03-14 15:56:08 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						406b1b3dd2
					 | 
					
						
						
							
							Finish matching versions
						
						
						
						
						
						
					 | 
					
						2022-03-14 15:56:08 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						7cd6f00a90
					 | 
					
						
						
							
							Add set_txdmaen and set_rxdmaen functions
						
						
						
						
						
						
					 | 
					
						2022-03-14 15:56:08 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						444b37fcdf
					 | 
					
						
						
							
							Add flush_rx_fifo function
						
						
						
						
						
						
					 | 
					
						2022-03-14 15:56:08 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						683c11f399
					 | 
					
						
						
							
							Call set_word_size before disabling SPE
						
						
						
						
						
						
					 | 
					
						2022-03-14 15:56:08 -05: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
							
						 
					 | 
					
						
						
							
						
						bf80504ac7
					 | 
					
						
						
							
							stm32: centralize gpio reg access in the gpio module.
						
						
						
						
						
						
					 | 
					
						2022-02-24 02:49:20 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Dario Nieuwenhuis
							
						 
					 | 
					
						
						
							
						
						1e69a8c484
					 | 
					
						
						
							
							stm32: move pin trait impls from macrotables to build.rs
						
						
						
						
						
						
					 | 
					
						2022-02-23 19:54:46 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Dario Nieuwenhuis
							
						 
					 | 
					
						
						
							
						
						b4abb1f5c2
					 | 
					
						
						
							
							stm32: move dma trait impls from macrotables to build.rs
						
						
						
						
						
						
					 | 
					
						2022-02-23 19:16:37 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Dario Nieuwenhuis
							
						 
					 | 
					
						
						
							
						
						340eb4eead
					 | 
					
						
						
							
							stm32: add rust stable support
						
						
						
						
						
						
					 | 
					
						2022-02-12 02:45:52 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Dario Nieuwenhuis
							
						 
					 | 
					
						
						
							
						
						b99ab3d5d9
					 | 
					
						
						
							
							stm32: Add standard crate-wide macros for pin/dma traits, switch all drivers to use them.
						
						
						
						
						
						
					 | 
					
						2022-02-10 21:38:03 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Dario Nieuwenhuis
							
						 
					 | 
					
						
						
							
						
						a8bd3ab952
					 | 
					
						
						
							
							Add missing + 'd on unborrows.
						
						
						
						
						
						
					 | 
					
						2022-02-10 16:06:42 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Dario Nieuwenhuis
							
						 
					 | 
					
						
						
							
						
						550da471be
					 | 
					
						
						
							
							stm32: Remove OptionalPin
						
						
						
						
						
						
						
						The idea behind OptionalPin has a few problems:
- you need to impl the signal traits for NoPin which is a bit weird https://github.com/embassy-rs/embassy/blob/master/embassy-stm32/src/dcmi.rs#L413-L416
- you can pass any combination of set/unset pins, which needs checking at runtime  https://github.com/embassy-rs/embassy/blob/master/embassy-stm32/src/dcmi.rs#L130
The replacement is to do multiple `new` constructors for each combination of pins you want to take. 
						
						
					 | 
					
						2022-02-10 02:38:10 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Ulf Lilleengen
							
						 
					 | 
					
						
						
							
						
						4032fc0655
					 | 
					
						
						
							
							Support unstable-trait feature for stm32
						
						
						
						
						
						
					 | 
					
						2022-01-26 22:39:06 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Dario Nieuwenhuis
							
						 
					 | 
					
						
						
							
						
						889d757ab8
					 | 
					
						
						
							
							stm32/spi: expose all functionality as inherent methods.
						
						
						
						
						
						
					 | 
					
						2022-01-19 17:59:55 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Matous Hybl
							
						 
					 | 
					
						
						
							
						
						66e46d8012
					 | 
					
						
						
							
							Add the possibility to reconfigure Spi mode and bit order configuration on the fly.
						
						
						
						
						
						
					 | 
					
						2022-01-14 12:50:58 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Ulf Lilleengen
							
						 
					 | 
					
						
						
							
						
						2bbd1ddb8a
					 | 
					
						
						
							
							Remove unneeded rustfmt::skip
						
						
						
						
						
						
					 | 
					
						2021-12-16 11:37:53 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						6597e67036
					 | 
					
						
						
							
							Add finish_dma function
						
						
						
						
						
						
					 | 
					
						2021-12-14 17:46:25 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						a13a7a6616
					 | 
					
						
						
							
							Replace wait_for_idle with spin_until_idle
						
						
						
						
						
						
					 | 
					
						2021-12-14 17:46:25 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						e75cb1a564
					 | 
					
						
						
							
							Regs type alias
						
						
						
						
						
						
					 | 
					
						2021-12-14 15:39:00 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						b06658c195
					 | 
					
						
						
							
							Refactor new
						
						
						
						
						
						
					 | 
					
						2021-12-14 15:39:00 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Matous Hybl
							
						 
					 | 
					
						
						
							
						
						b2910558d3
					 | 
					
						
						
							
							Refactor DMA traits.
						
						
						
						
						
						
					 | 
					
						2021-12-07 21:43:47 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Ulf Lilleengen
							
						 
					 | 
					
						
						
							
						
						f9ac0c8047
					 | 
					
						
						
							
							Add back MISO flush
						
						
						
						
						
						
					 | 
					
						2021-12-07 09:40:45 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						79baa04118
					 | 
					
						
						
							
							Implement blocking traits with a macro
						
						
						
						
						
						
					 | 
					
						2021-12-07 00:03:52 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						bf1f80afa1
					 | 
					
						
						
							
							Unify blocking trait impls
						
						
						
						
						
						
					 | 
					
						2021-12-07 00:03:52 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						3a17e3a2a5
					 | 
					
						
						
							
							Move async trait impls to mod
						
						
						
						
						
						
					 | 
					
						2021-12-07 00:03:52 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						20d2151b1d
					 | 
					
						
						
							
							check_error_flags function
						
						
						
						
						
						
					 | 
					
						2021-12-07 00:03:52 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						496579b48b
					 | 
					
						
						
							
							Move Word trait to mod
						
						
						
						
						
						
					 | 
					
						2021-12-07 00:03:52 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						7c78247be3
					 | 
					
						
						
							
							v2: set frxth and ds in new
						
						
						
						
						
						
					 | 
					
						2021-12-06 22:36:53 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						d76bc45e30
					 | 
					
						
						
							
							Move Spi drop impl to mod
						
						
						
						
						
						
					 | 
					
						2021-12-06 17:19:55 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						bd9e730024
					 | 
					
						
						
							
							Move set_word_size to mod
						
						
						
						
						
						
					 | 
					
						2021-12-06 16:47:08 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						a35b7d90bc
					 | 
					
						
						
							
							Add tx_ptr and rx_ptr methods
						
						
						
						
						
						
					 | 
					
						2021-12-06 16:33:06 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						a35f337bd6
					 | 
					
						
						
							
							Move Spi::new and Spi::compute_baud_rate to mod
						
						
						
						
						
						
					 | 
					
						2021-12-06 15:19:24 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						75374ce7e8
					 | 
					
						
						
							
							Fix ssoe in v1
						
						
						
						
						
						
					 | 
					
						2021-12-06 14:57:53 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						e1cccc8391
					 | 
					
						
						
							
							Move Spi to mod (without NoDma defaults)
						
						
						
						
						
						
					 | 
					
						2021-12-06 14:47:50 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						aeb69a7665
					 | 
					
						
						
							
							Track current word size in v2 and v3 also
						
						
						
						
						
						
					 | 
					
						2021-12-06 14:24:02 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						d51885c0eb
					 | 
					
						
						
							
							Move WordSize methods to mod
						
						
						
						
						
						
					 | 
					
						2021-12-06 14:13:25 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Grant Miller
							
						 
					 | 
					
						
						
							
						
						d426caefbf
					 | 
					
						
						
							
							Move NoPin impls from v1 to mod
						
						
						
						
						
						
					 | 
					
						2021-12-06 14:02:21 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Ulf Lilleengen
							
						 
					 | 
					
						
						
							
						
						81ec4c82fd
					 | 
					
						
						
							
							Flush MISO before transfer operation
						
						
						
						
						
						
					 | 
					
						2021-12-03 09:53:28 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Matous Hybl
							
						 
					 | 
					
						
						
							
						
						f0cb77443c
					 | 
					
						
						
							
							Fix wrong pin configuration in STM32's SPI v3.
						
						
						
						
						
						
					 | 
					
						2021-12-01 22:18:14 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Ulf Lilleengen
							
						 
					 | 
					
						
						
							
						
						cd9a1d547c
					 | 
					
						
						
							
							Ensure SPI DMA write is completed
						
						
						
						
						
						
						
						Fix a bug where DMA writes were not fully completed and only a single
byte out of two were written. 
						
						
					 | 
					
						2021-11-24 14:59:18 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Ulf Lilleengen
							
						 
					 | 
					
						
						
							
						
						d2a79a46c5
					 | 
					
						
						
							
							Configure the correct pin instances
						
						
						
						
						
						
					 | 
					
						2021-10-21 11:57:00 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Tobias Pisani
							
						 
					 | 
					
						
						
							
						
						43a7226d8b
					 | 
					
						
						
							
							inline FRE register check for SPI on F1
						
						
						
						
						
						
					 | 
					
						2021-10-11 23:33:32 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |