EnabledUsbDevice is a wrapper around the UsbDevice where their enablement is also subject to external events, such as POWER events for nRF. It is introduced generically to support other platforms should they also require external signalling for enablement.
848: Blocking shared bus EH 0.2 impls + example docs r=Dirbaio a=kalkyl
Adds impls for the old embedded-hal v0.2 traits for usability until the ecosystem catches up with EH1.
Also added some basic examples in docs of how the shared buses can be set up.
Co-authored-by: Henrik Alsér <henrik@mindbite.se>
845: Add blocking shared bus for i2c and SPI r=Dirbaio a=kalkyl
Blocking versions of the shared buses
Co-authored-by: Henrik Alsér <henrik.alser@me.com>
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
831: Move bootloader main to examples r=lulf a=lulf
This should remove some confusion around embassy-boot-* being a library
vs. a binary. The binary is now an example bootloader instead.
Co-authored-by: Ulf Lilleengen <ulf.lilleengen@gmail.com>
Co-authored-by: Ulf Lilleengen <lulf@redhat.com>
833: nrf/uart: add support for tx-only and rx-only uart. r=Dirbaio a=Dirbaio
Allow creating UarteRx/UarteTx directly. This allows using uart unidirectionally
(rx-only or tx-only), without having to 'waste' a pin for the unused direction.
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
Allow creating UarteRx/UarteTx directly. This allows using uart unidirectionally
(rx-only or tx-only), without having to 'waste' a pin for the unused direction.
828: More API docs r=lulf a=lulf
embassy-cortex-m is covered now, making some progress on embassy-nrf, but not complete.
Co-authored-by: Ulf Lilleengen <lulf@redhat.com>
827: Fix PWM for advanced timers r=Dirbaio a=chemicstry
Advanced timers have additional BDTR register, which has a global output enable bit and it is disabled by default.
Also added an example for F4, but it will only work once https://github.com/embassy-rs/stm32-data/pull/149 is merged. We can also move it to some other chip, but I don't have anything else to test on atm.
Co-authored-by: chemicstry <chemicstry@gmail.com>