Dario Nieuwenhuis
ad7d4494fa
Merge pull request #2502 from jbeaurivage/nrf-uarte-errors
...
NRF: handle `uarte` RX errors
2024-02-05 23:36:42 +00:00
Justin Beaurivage
2575f597cc
Address @Dirbaio's comments
2024-02-05 18:05:59 -05:00
Dario Nieuwenhuis
d5d86b866f
nrf/gpiote: add support for nrf51.
2024-02-04 21:36:19 +01:00
Justin Beaurivage
cc12eb9680
Rustfmt
2024-01-31 14:20:06 -05:00
Justin Beaurivage
d364447a34
Add error handling to UarteRxWithIdle
2024-01-31 14:16:58 -05:00
Dario Nieuwenhuis
68be63c0e8
Merge pull request #2469 from embassy-rs/nrf51-basic-support
...
feat: add basic support for nRF51 chips to embassy-nrf
2024-01-31 00:20:40 +00:00
Justin Beaurivage
7ff21e8b8b
Handle Uarte RX errors
2024-01-30 17:06:57 -05:00
Martin Marmsoler
319b0fe3d7
Do not wait when the pwm is disabled
...
Reason: because in this case no seqend event is raised and therefore an infinity loop occurs
2024-01-27 18:21:40 +01:00
Martin Marmsoler
b08a0955c3
implement retriving duty.
...
Description: When disabling the pwm and enabling again, it is required to restart the sequence. If the previous duty is not known, it is not possible to turn on the pwm again
2024-01-27 18:21:40 +01:00
Matthew Tran
6efb5fd284
nrf/spi: add bit order config
2024-01-26 22:38:03 -06:00
Martin Marmsoler
2809d3bd45
add is_enabled() function
2024-01-26 22:09:49 +01:00
Martin Marmsoler
c26e62e4f4
add documentation
2024-01-26 21:24:14 +01:00
Martin Marmsoler
dd2577fcf0
use constant for the pwm clock
...
Description: So it can be used outside of the crate to calculate max duty
2024-01-26 20:55:53 +01:00
Ulf Lilleengen
531645e5d4
docs: mention nrf51
2024-01-26 09:11:17 +01:00
Ulf Lilleengen
1263d28595
nightly fmt
2024-01-25 08:39:25 +01:00
Ulf Lilleengen
3739cc0699
fix warnings
2024-01-25 08:38:28 +01:00
Ulf Lilleengen
1989c229f9
fix: make inner state send as it's protected critical section
2024-01-25 08:38:01 +01:00
Ulf Lilleengen
db0f4a0b91
cleanup
2024-01-24 21:23:54 +01:00
Ulf Lilleengen
7d961a7f44
cargo fmt
2024-01-24 21:23:54 +01:00
Ulf Lilleengen
3ac52b2c48
remove portable-atomic dependency
2024-01-24 21:23:54 +01:00
Ulf Lilleengen
00d66cce1d
modify time driver to not require portable-atomic
2024-01-24 21:23:54 +01:00
Ulf Lilleengen
6126183db8
fix: remove portable-atomic from rng
2024-01-24 21:23:54 +01:00
Ulf Lilleengen
53ea850d28
rustfmt again
2024-01-24 21:23:54 +01:00
Ulf Lilleengen
2a810a1a6a
rustfmt
2024-01-24 21:23:54 +01:00
Ulf Lilleengen
4410aacafb
feat: add basic support for nRF51 chips to embassy-nrf
2024-01-24 21:23:54 +01:00
Dario Nieuwenhuis
2bc5e9523d
nrf/gpio: remove generics.
2024-01-22 21:32:10 +01:00
Dario Nieuwenhuis
4c23f197b3
Fix invalid "async" crates.io category.
2024-01-12 00:39:01 +01:00
Dario Nieuwenhuis
6a1c415a4c
Complete cargo.tomls more.
2024-01-12 00:32:47 +01:00
Dario Nieuwenhuis
9f6517e408
stm32,nrf: add warning on docs.rs directing the user to docs.embassy.dev.
2024-01-11 23:43:17 +01:00
Dario Nieuwenhuis
5304994363
Add docs.rs metadata to all crates.
2024-01-11 23:17:02 +01:00
Dario Nieuwenhuis
22197320ff
bump embassy-time 0.3, embassy-executor 0.5, embassy-net 0.4.
2024-01-11 23:01:24 +01:00
Dario Nieuwenhuis
e18d673721
More readme fixes.
2024-01-11 21:23:07 +01:00
Dario Nieuwenhuis
b0b1ef9181
Merge pull request #2436 from embassy-rs/embassy-nrf-docs-nrf91-example
...
Embassy nrf docs and nrf91 example
2024-01-11 19:52:18 +00:00
Ulf Lilleengen
4cc2648547
change title
2024-01-11 20:34:30 +01:00
Ulf Lilleengen
9a269803bd
restructure
2024-01-11 20:32:07 +01:00
Ulf Lilleengen
46602903f5
note on timer
2024-01-11 19:26:49 +01:00
Ulf Lilleengen
f9e274e057
docs: more docs on nrf
2024-01-11 19:21:33 +01:00
Dario Nieuwenhuis
b452a6bcf6
Centralize license and MSRV boilerplate into the repo readme.
2024-01-11 18:18:35 +01:00
Dario Nieuwenhuis
15f94fb0fc
time: split driver into a separate embassy-time-driver crate.
2024-01-11 16:56:08 +01:00
Dario Nieuwenhuis
495b8b739a
Change GPIO inherent methods back to &self
.
...
With the embedded-hal rc3 update I changed them to require `&mut self`, but
in retrospect I think `&self` is better, for extra flexibility.
This PR reverts the changes from the rc3 update to inherent methods.
2024-01-10 00:00:10 +01:00
Dario Nieuwenhuis
c9ac39df94
Update embedded-hal to v1.0
2024-01-09 23:37:14 +01:00
ftilde
eb70d744a9
Expose rx_delay in nrf qspi config
2024-01-05 20:12:28 +01:00
swanandx
bdaf722cb8
fix: check if sck is some before setting high or low
2024-01-03 19:35:30 +05:30
swanandx
046af81a10
fix: info_ref! can't be called on Option
2024-01-03 19:33:43 +05:30
swanandx
8352d13cfd
feat: new_txonly_nosck in spim
2024-01-03 19:25:39 +05:30
swanandx
face031245
feat: new_txonly_nosck in spis
2024-01-03 19:22:01 +05:30
Ulf Lilleengen
c924f89ead
fix: add missing impl block for async qspi multiwrite
2024-01-03 13:08:53 +01:00
ftilde
3916b26b25
Reset rx_started state of nrf buffered_uarte on init
...
This was likely forgotten as part of c46418f12
. Without this, when
creating a uarte instance, dropping it and then creating another
instance, this instance would never receive any bytes.
2023-12-29 12:27:52 +01:00
Dario Nieuwenhuis
7fa954c027
nrf/gpio: add toggle.
2023-12-26 17:35:49 +01:00
Dario Nieuwenhuis
c46b076d5b
nrf: some doc fixes.
2023-12-23 15:48:47 +01:00