aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMick Chanthaseth <[email protected]>2025-04-10 14:11:14 -0700
committerMick Chanthaseth <[email protected]>2025-04-10 14:11:14 -0700
commitea7b7e5f8ccab4bc8ea26a45b88051eb4d3f5254 (patch)
tree1441ff37d59ad604558a2dbe19c11ba09e76f31d
parent5bc4de236c6740b5afa4f95bbab1991ac31df06a (diff)
parentf066b01a3a927c156bafc07250f91e2b82996498 (diff)
Merge branch 'main' of https://github.com/mchant/embassy
-rw-r--r--embassy-stm32/src/can/fd/config.rs12
1 files changed, 8 insertions, 4 deletions
diff --git a/embassy-stm32/src/can/fd/config.rs b/embassy-stm32/src/can/fd/config.rs
index 68161ca50..c6a66b469 100644
--- a/embassy-stm32/src/can/fd/config.rs
+++ b/embassy-stm32/src/can/fd/config.rs
@@ -328,11 +328,15 @@ pub struct FdCanConfig {
328 /// 328 ///
329 /// Automatic retransmission is enabled by default. 329 /// Automatic retransmission is enabled by default.
330 pub automatic_retransmit: bool, 330 pub automatic_retransmit: bool,
331 /// Enabled or disables the pausing between transmissions 331 /// The transmit pause feature is intended for use in CAN systems where the CAN message
332 /// identifiers are permanently specified to specific values and cannot easily be changed.
332 /// 333 ///
333 /// This feature looses up burst transmissions coming from a single node and it protects against 334 /// These message identifiers can have a higher CAN arbitration priority than other defined
334 /// "babbling idiot" scenarios where the application program erroneously requests too many 335 /// messages, while in a specific application their relative arbitration priority must be inverse.
335 /// transmissions. 336 ///
337 /// This may lead to a case where one ECU sends a burst of CAN messages that cause
338 /// another ECU CAN messages to be delayed because that other messages have a lower
339 /// CAN arbitration priority.
336 pub transmit_pause: bool, 340 pub transmit_pause: bool,
337 /// Enabled or disables the pausing between transmissions 341 /// Enabled or disables the pausing between transmissions
338 /// 342 ///