| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rename embassy-hal-common to embassy-hal-internal, document it's for ↵ | Dario Nieuwenhuis | 2023-07-28 | 1 | -174/+0 |
| | | | | | internal use only. (#1700) | ||||
| * | hal-common: require DerefMut for peripherals, not just Deref. | Dario Nieuwenhuis | 2023-07-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Otherwise you can create multiple drivers on the same singleton like this: ```rust let mut input = Input::new(&pin, Pull::None); let mut output = Output::new(&pin, Level::Low, Speed::Low); input.is_high(); output.set_high(); input.is_high(); output.set_high(); ``` Thanks @pennae for reporting. | ||||
| * | common/peripheral: do not require mut in PeripheralRef clone_unchecked. | Dario Nieuwenhuis | 2023-04-11 | 1 | -6/+6 |
| | | |||||
| * | PeripheralRef docs improvements. | Dario Nieuwenhuis | 2023-02-03 | 1 | -9/+10 |
| | | |||||
| * | Fix typo in peripheral.rs | Daniel Bevenius | 2022-09-08 | 1 | -1/+1 |
| | | |||||
| * | nrf: replace PhantomData usages with PeripheralRef. | Dario Nieuwenhuis | 2022-07-23 | 1 | -0/+30 |
| | | |||||
| * | Remove PeripheralRef::into_inner() | Dario Nieuwenhuis | 2022-07-23 | 1 | -4/+0 |
| | | |||||
| * | Add docs to PeripheralRef::map_into. | Dario Nieuwenhuis | 2022-07-23 | 1 | -0/+6 |
| | | |||||
| * | Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral | Dario Nieuwenhuis | 2022-07-23 | 1 | -0/+141 |
| | | |||||
| * | Add embassy-cortex-m crate. | Dario Nieuwenhuis | 2022-06-12 | 1 | -134/+0 |
| | | | | | | | - Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`. - Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore) - Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`. | ||||
| * | common/PeripheralMutex: remove unsafe API. (#802) | Dario Nieuwenhuis | 2022-06-09 | 1 | -24/+2 |
| | | | | | | | Following the project's decision that "leak unsafe" APIs are not marked as "unsafe", update PeripheralMutex to accept non-'static state without unsafe. Fixes #801 | ||||
| * | Update rust nightly, embedded-hal 1.0, embedded-hal-async. | Dario Nieuwenhuis | 2022-03-11 | 1 | -1/+1 |
| | | |||||
| * | common: Initialize PeripheralMutex state with closure to ensure it's done ↵ | Dario Nieuwenhuis | 2021-08-02 | 1 | -7/+11 |
| | | | | | in-place. | ||||
| * | Make const the states when able. | Dario Nieuwenhuis | 2021-08-02 | 1 | -1/+1 |
| | | |||||
| * | hal-common: remove Pin in PeripheralMutex | Dario Nieuwenhuis | 2021-08-02 | 1 | -66/+58 |
| | | |||||
| * | Rename embassy-extras to embassy-hal-common | Dario Nieuwenhuis | 2021-07-29 | 1 | -0/+160 |
