Commit Graph

4143 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
e7e34cb8c2 nrf/gpio: add OptionalPin 2021-03-29 00:58:58 +02:00
Dario Nieuwenhuis
df42c38492 nrf/uarte: update to new api 2021-03-29 00:58:58 +02:00
Dario Nieuwenhuis
7b6086d19e nrf: add unborrow! macro 2021-03-29 00:58:58 +02:00
Dario Nieuwenhuis
a134fce122 nrf: nicer Peripherals api, add take() 2021-03-29 00:58:57 +02:00
Dario Nieuwenhuis
d5ff1a0ae3 nrf: rename inner peripheral to peri for consistence 2021-03-29 00:58:57 +02:00
Dario Nieuwenhuis
90a2b823a4 nrf/gpiote: cleanup imports 2021-03-29 00:58:57 +02:00
Dario Nieuwenhuis
95218bf8d4 Rename GpioteInput -> PortInput 2021-03-29 00:58:57 +02:00
Dario Nieuwenhuis
c0876187dd extras: move peripherals from nrf to extras 2021-03-29 00:58:57 +02:00
Dario Nieuwenhuis
ec7309962a nrf/qspi: update to new api 2021-03-29 00:58:57 +02:00
Dario Nieuwenhuis
16bb6fd6ac nrf: Specify connected bit in psel_bits 2021-03-29 00:58:57 +02:00
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