3bd36dce76
nrf/qspi: wait MORE for DPM enter.
2021-05-27 00:42:29 +02:00
de703eb605
nrf/qspi: proper lowpower drop, supporting DPM.
2021-05-26 23:26:07 +02:00
42abeca493
nrf/spim: disable and deconfigure pins on drop.
2021-05-26 20:11:23 +02:00
39c420733f
nrf/uarte: deconfigure pins on drop
2021-05-26 20:11:23 +02:00
8dfb6dff86
nrf/twim: make pullup configurable, do not enable it by default.
2021-05-26 20:11:23 +02:00
b449f6de9d
nrf/twim: deconfigure pins on drop
2021-05-26 18:23:10 +02:00
55c3ba2a5f
nrf/saadc: do not use dyn
2021-05-22 15:42:14 +02:00
13524080d3
Avoid using full GAT
2021-05-22 13:23:09 +02:00
f6cac6944c
Makes it possible to use the ADC with different analog pins
2021-05-21 13:12:27 +02:00
105c8504b6
Mark Unborrow as unsafe to implement
2021-05-19 23:29:33 +02:00
e3ab02c7e3
nrf/saadc: remove Pin
2021-05-19 20:22:15 +02:00
58723a8e76
Merge pull request #185 from embassy-rs/nrf-improvement
...
nrf improvements
2021-05-17 22:48:36 +02:00
32fc17f0fd
nrf/gpiote: Allow choosing IRQ priority.
2021-05-17 21:27:27 +02:00
3e83acc1cb
Fix unused field warnings
2021-05-17 20:23:04 +10:00
149ddf2f29
Fix warnings
2021-05-17 19:48:58 +10:00
f7858631d8
stm32: fix build, add ci
2021-05-17 03:16:58 +02:00
a5ad79927e
nrf: add Unborrow<Target = Self>
bound to all instance traits
2021-05-17 01:01:31 +02:00
8394603ea6
nrf/pwm: add enable/disable
2021-05-17 00:57:37 +02:00
88f664b434
nrf/pwm: set initial value to Low, according to the PS
2021-05-17 00:57:37 +02:00
f9bcf6df6b
nrf: add PWM
2021-05-17 00:57:37 +02:00
0310e4d458
Add init
fn. Initializes hw and returns Peripherals.
2021-05-17 00:57:37 +02:00
97b01f1c47
nrf/gpiote: initialize automatically
2021-05-17 00:57:20 +02:00
92be72e0e3
Add #[interrupt]
macro to register static interrupts.
2021-05-17 00:57:20 +02:00
eb4571dc4c
nrf: add blocking TWIM
2021-05-17 00:57:20 +02:00
bd9589d0ce
nrf: add support for nrf52805, nrf52811, nrf52820
2021-05-17 00:57:20 +02:00
3b86e85770
Bump version of critical-section to 0.2.1
2021-05-13 18:17:50 +02:00
e0809ab0fb
Switch to use PrioritX enums.
2021-05-11 01:34:24 +02:00
7fa0e57172
Use critical_section
crate
2021-05-11 01:15:30 +02:00
0a3c236510
Improve comment
2021-05-10 23:06:25 +02:00
e9eb3ce6c1
Disable PPI trigger during normal read
2021-05-10 23:06:25 +02:00
687dda106f
Read rx amount outside of poll_fn
2021-05-10 23:06:25 +02:00
5afe01617a
Use rxdrdy as trigger for timer
2021-05-10 23:06:25 +02:00
dda338cedb
Add implementation of ReadUntilIdle for nRF UART
...
Add type UarteWithIdle that implements Read, Write and ReadUntilIdle
traits. The type uses a timer + 2 PPI channels internally, triggered on
RTXSTARTED event.
2021-05-10 23:06:25 +02:00
76f737bb0e
Merge pull request #158 from derekdreery/blocking_spim
...
Implement the blocking hal api for SPIM.
2021-05-05 22:52:36 +02:00
212e83aa22
Make changes to Write
as well as Transfer
2021-05-05 19:18:57 +01:00
9d427a1ba4
Address issues in PR
...
Also add some documentation.
2021-05-05 18:33:45 +01:00
9de12a0a7a
Address issues in PR.
2021-05-05 18:25:14 +01:00
1ad18aa09a
Implement the blocking hal api for SPIM.
2021-05-05 14:50:28 +01:00
0b3ccca69b
Add a pin variant that can change between disconnected/input/output.
...
I'm in no way attached to the name and encourage better suggestions.
2021-05-05 14:46:51 +01:00
e2ad5e1395
Add detection of edge transitions for ports
2021-04-16 07:58:24 +02:00
97ca54fa66
Rename PeripheralBorrow to Unborrow
2021-04-14 19:59:52 +02:00
5ee87cf25d
Remove Pin from Flash trait
2021-04-14 17:04:40 +02:00
c15411d1bd
Remove Pin from SPI
2021-04-14 17:04:40 +02:00
8b1ffb2cb7
Remove Pin from GPIO traits
2021-04-14 17:04:40 +02:00
59ccc45f28
Remove pin from Uart
2021-04-14 17:04:40 +02:00
402f7f1886
nrf/gpio: remove DummyPin
2021-04-10 01:48:37 +02:00
5b74e326e5
nrf/qpsi: make config non_exhaustive
2021-03-29 00:58:58 +02:00
b9e709403d
nrf: better macro naming.
2021-03-29 00:58:58 +02:00
48cf1f6ebf
nrf/system: add configure
2021-03-29 00:58:58 +02:00
3a18373828
nrf/uarte: update BufferedUarte to new APi
2021-03-29 00:58:58 +02:00