Commit graph

2933 commits

Author SHA1 Message Date
Dario Nieuwenhuis
f36cbe5e0c nrf/spim: do not use PeripheralMutex 2021-03-29 00:58:57 +02:00
Dario Nieuwenhuis
ba6e0a4058 util: add wake_on_interrupt.
This is a lighter version of InterruptFuture.
2021-03-29 00:58:57 +02:00
Dario Nieuwenhuis
15eb46ec71 wip gpiote changels 2021-03-29 00:58:57 +02:00
Dario Nieuwenhuis
ba7b3974bb nrf/gpiote: update to new gpio 2021-03-29 00:58:57 +02:00
Dario Nieuwenhuis
3d3e770b8d nrf/gpio: add output drive config. 2021-03-29 00:58:57 +02:00
Dario Nieuwenhuis
fcf6a63b5c nrf: add owned Peripherals struct, migrate gpio and spim 2021-03-29 00:58:57 +02:00
Dario Nieuwenhuis
d9aaa0edf8 Implement PeripheralBorrow for interrupts. 2021-03-29 00:58:57 +02:00
Dario Nieuwenhuis
9c4087ac5c Introduce PeripheralBorrow trait 2021-03-29 00:58:57 +02:00
xoviat
f4791b826a
Merge pull request #109 from xoviat/proc-macro
add embassy::main
2021-03-28 17:56:44 -05:00
xoviat
f6bcd2690d
Merge pull request #116 from xoviat/fix-error
restrict usb to stm32f4
2021-03-27 21:45:44 -05:00
xoviat
8d014f7955 restrict usb to stm32f4 2021-03-27 21:42:26 -05:00
xoviat
9e687ade64 Merge branch 'master' of https://github.com/akiles/embassy into proc-macro 2021-03-27 21:31:49 -05:00
xoviat
4bc77e3d0e
Merge pull request #115 from xoviat/st-usb
STM32F4 USB.
2021-03-27 21:26:33 -05:00
xoviat
3242990690 Merge branch 'master' of https://github.com/akiles/embassy into st-usb 2021-03-27 21:24:21 -05:00
xoviat
6ee9e012fc add embassy::main and implement for stm32f4 2021-03-27 17:27:39 -05:00
xoviat
19b959b0f8
Merge pull request #114 from xoviat/consolidate
stm32: consolidate modules
2021-03-26 19:39:01 -05:00
xoviat
6f597653af stm32: consolidate modules 2021-03-26 19:34:52 -05:00
xoviat
0de2748008
Merge pull request #108 from theunkn0wn1/doc/util
Document embassy::util
2021-03-25 08:33:17 -05:00
Joshua Salzedo
ea650b684c
its /// not //. 2021-03-24 13:31:08 -07:00
Joshua Salzedo
18d3c803de
Add missing newlines 2021-03-24 13:21:32 -07:00
Joshua Salzedo
40617fea04
Document embassy::util::signal & embassy::util 2021-03-24 13:19:36 -07:00
Joshua Salzedo
62009150bd
Document embassy::util::InterruptFuture 2021-03-24 13:19:36 -07:00
Joshua Salzedo
a9e099c215
Document embassy::util::Forever 2021-03-24 13:19:36 -07:00
Joshua Salzedo
da59112e86
Document the DropBomb 2021-03-24 13:19:35 -07:00
xoviat
08990b2f6d
Merge pull request #103 from theunkn0wn1/doc/time
Document remainder of embassy::time
2021-03-24 07:26:48 -05:00
xoviat
226877b16a
Merge pull request #104 from xoviat/idle-trait
traits: add idle trait
2021-03-23 21:05:01 -05:00
xoviat
095ba23ad3 stm32: implement idle trait 2021-03-23 21:04:36 -05:00
xoviat
3c9d5b61bb traits: add idle trait 2021-03-23 21:04:18 -05:00
xoviat
639059ba33
readme: add wiki link 2021-03-22 17:21:08 -05:00
xoviat
10a77fce14
Merge pull request #106 from xoviat/fix-exti-new
stm32: fix exti impl. to require dp.SYSCFG.constrain()
2021-03-22 13:06:19 -05:00
xoviat
b79e9c2927 stm32: fix exti to require SysCfg.constrain() 2021-03-22 13:04:28 -05:00
Joshua Salzedo
8fbe83ac26
Added remainder of the docs for embassy::time's public interface. 2021-03-21 18:30:03 -07:00
Dario Nieuwenhuis
712204edb8
Merge pull request #102 from theunkn0wn1/doc/duration
Add some documentation for the timing module
2021-03-22 01:16:57 +01:00
Joshua Salzedo
42be860446
Correct descriptions of Duration 2021-03-21 17:11:30 -07:00
Joshua Salzedo
7988b78107
remove now redundant non-doc comment 2021-03-21 17:05:36 -07:00
Joshua Salzedo
10f14747c3
Fix module-level docstring 2021-03-21 17:05:22 -07:00
Joshua Salzedo
e363607d70
Added doc to the embassy::time::Duration struct 2021-03-21 17:01:52 -07:00
Joshua Salzedo
f8d63279ef
Re-add erroneously removed newlines 2021-03-21 17:01:13 -07:00
Joshua Salzedo
dcdd768e03 Add Struct/impl documentation for embassy::time::Instant 2021-03-21 16:45:53 -07:00
Joshua Salzedo
d453b9dd95 Add Struct/impl documentation for embassy::time::Duration 2021-03-21 16:45:48 -07:00
Joshua Salzedo
cf1323fb67 Add module-level documentation for embassy::time 2021-03-21 16:45:24 -07:00
xoviat
3e4e292cb7
Merge pull request #100 from xoviat/serial-idle
implement idle on read
2021-03-20 23:51:36 -05:00
xoviat
556942a6bf stm32f4: implement idle on serial 2021-03-20 23:51:24 -05:00
xoviat
d1ac703830 .vscode: add target 2021-03-20 23:49:49 -05:00
xoviat
a66ee4a824
Merge pull request #99 from xoviat/fix-stm32f446
ci: add stm32f446
2021-03-20 18:30:12 -05:00
xoviat
38cd2672d3 stm32f4: remove usart7, 8 2021-03-20 18:27:24 -05:00
xoviat
b5f80787fe stm32: remove SDIO interrupt 2021-03-20 18:23:20 -05:00
xoviat
be58de039b ci: add stm32f446 2021-03-20 18:13:21 -05:00
xoviat
451cec56f0
Merge pull request #98 from xoviat/stm32
consolidate exti mod
2021-03-20 11:07:35 -05:00
xoviat
bf39822092 consolidate ExtiPin into stm32 package 2021-03-20 11:07:16 -05:00