mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 21:05:35 +01:00
impl Mutex on all shared resources
document how to write generic code that operates on resources
This commit is contained in:
parent
16d473a9b6
commit
37a0692a0f
11 changed files with 322 additions and 104 deletions
6
ci/expected/generics.run
Normal file
6
ci/expected/generics.run
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
UART1(STATE = 0)
|
||||
SHARED: 0 -> 1
|
||||
UART0(STATE = 0)
|
||||
SHARED: 1 -> 2
|
||||
UART1(STATE = 1)
|
||||
SHARED: 2 -> 4
|
||||
Loading…
Add table
Add a link
Reference in a new issue