Commit Graph

9 Commits (16272ef716a6faba298131e6df922b89d86e3427)

Author SHA1 Message Date
Torkel Danielsson db7428d398 Reduce the scope of some critical sections in the examples 3 years ago
Daniel Egger f2986badc1 Ran rustfmt over all code
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger c4ad05524e Soft-deprecate `stm32` for PAC access and use `pac` instead
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
Daniel Egger 1e649bbc0b Fix a number of clippy warnings
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 2b60666a31 Simplified examples a bit and fixed/added commentry
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
HarkonenBade 7ea2af8a74 Enforce better safety guarentees
* Makes use of Rcc parameters rather than making RCC pointers
* Applys CS parameters to GPIO functions that mutate the port non
atomically
* Cut down on build gating hell a bit
4 years ago
Daniel Egger 97128234d7 Applied a healthy dose of warning cleanup
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
5 years ago
HarkonenBade c61a55ed85 Fix example and use loops to show off advantages better 5 years ago
David Sawatzke aca43e3a11 Add Input Trait to OpenDrain
Add full pin Abstraction

Fix build for differences between 2015 & 2018 edition

Replace transmute with cast

Add example for using multiple pins of different ports together

Fix warning for example
5 years ago