aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/can/common.rs
Commit message (Collapse)AuthorAgeFilesLines
* FDCAN/BXCAN: Finish implementation of RAII instance counters.Corey Schuhen2025-06-211-29/+79
| | | | | | - Use DeRef in all types - Change Name of internal_operation and its enum - move into Info to avoid macro code dup
* Add TxGuard and RxGuard which impl RAII for the STM32 CAN reference countingTobias Naumann2025-06-211-16/+37
|
* Switch to SendDynamicSender for FDCAN.Corey Schuhen2025-05-311-7/+7
|
* Reference count senders and receivers so that we don't close down early.Corey Schuhen2025-03-091-7/+79
|
* stm32/can: simplify bxcan api, merging bx::* into the main structs.Dario Nieuwenhuis2024-04-021-2/+2
| | | | | | The bx::* separate structs (Can, Rx, Tx) and separate `Instance` trait are a relic from the `bxcan` crate. Remove them, move the functionality into the main structs.
* CAN: Unify API's between BXCAN and FDCAN. Use Envelope for all read methods ↵Corey Schuhen2024-03-281-16/+7
| | | | instead of a tuple sometimes.
* BXCAN: Create RxMode enum and move reader methods into it, laying ↵Corey Schuhen2024-03-281-0/+4
| | | | foundations for different Rx buffering modes.
* BXCAN: Register access into new Registers struct.Corey Schuhen2024-03-281-3/+9
|
* CAN: Move some FDCAN definitions into a module to share with BXCAN.Corey Schuhen2024-03-281-0/+51