<feed xmlns='http://www.w3.org/2005/Atom'>
<title>embassy/embassy-stm32/src/can/bxcan/mod.rs, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/'/>
<entry>
<title>Rustfmt for edition 2024.</title>
<updated>2025-10-06T21:19:53+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2025-10-06T20:56:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=8730a013c395cf0bf4c2fa8eeb7f138288103039'/>
<id>8730a013c395cf0bf4c2fa8eeb7f138288103039</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/afio: make af_num() unavailable in afio chips.</title>
<updated>2025-09-05T22:14:03+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2025-09-05T22:11:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=a23c4b7bca15bc00f4b5c4af200f17eb0097e94b'/>
<id>a23c4b7bca15bc00f4b5c4af200f17eb0097e94b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/afio: make the A generic param only appear in chips with AFIO.</title>
<updated>2025-09-05T21:44:25+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2025-09-05T21:44:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=35f4ae378cbc9a1263e46baaeac536cae2337896'/>
<id>35f4ae378cbc9a1263e46baaeac536cae2337896</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add STM32F1 AFIO remap</title>
<updated>2025-09-05T19:15:46+00:00</updated>
<author>
<name>Fabian Wolter</name>
<email>github@fabian-wolter.de</email>
</author>
<published>2025-07-21T05:57:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=a6562c4f033432e40970aafe82f33c5138adf84e'/>
<id>a6562c4f033432e40970aafe82f33c5138adf84e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>FDCAN/BXCAN: Finish implementation of RAII instance counters.</title>
<updated>2025-06-21T02:31:56+00:00</updated>
<author>
<name>Corey Schuhen</name>
<email>cschuhen@gmail.com</email>
</author>
<published>2025-06-07T07:25:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=8b280688e18bd92b126601d9af26d73e147edeac'/>
<id>8b280688e18bd92b126601d9af26d73e147edeac</id>
<content type='text'>
- Use DeRef in all types
    - Change Name of internal_operation and its enum
    - move into Info to avoid macro code dup
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use DeRef in all types
    - Change Name of internal_operation and its enum
    - move into Info to avoid macro code dup
</pre>
</div>
</content>
</entry>
<entry>
<title>BXCAN: Put State inside a critical section mutex of RefCell. This removed unsound code that was giving out mut&amp; to State</title>
<updated>2025-06-21T01:58:53+00:00</updated>
<author>
<name>Corey Schuhen</name>
<email>cschuhen@gmail.com</email>
</author>
<published>2025-06-21T01:58:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=b2dcdad51db528e1242ef7ea6028341339a9d488'/>
<id>b2dcdad51db528e1242ef7ea6028341339a9d488</id>
<content type='text'>
This change is equiverlent to f5658d6833cb140296a0b6f25b7eb6d16f06c520
that was already done for the FDCAN driver.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change is equiverlent to f5658d6833cb140296a0b6f25b7eb6d16f06c520
that was already done for the FDCAN driver.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Peripheral trait, rename PeripheralRef-&gt;Peri.</title>
<updated>2025-03-27T14:18:06+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2025-03-26T15:01:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=d41eeeae79388f219bf6a84e2f7bde9f6b532516'/>
<id>d41eeeae79388f219bf6a84e2f7bde9f6b532516</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reference count senders and receivers so that we don't close down early.</title>
<updated>2025-03-09T07:03:28+00:00</updated>
<author>
<name>Corey Schuhen</name>
<email>cschuhen@gmail.com</email>
</author>
<published>2025-03-09T03:17:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=424d20727eb3d2b2bda6b6a8f42306a57e93c9f2'/>
<id>424d20727eb3d2b2bda6b6a8f42306a57e93c9f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow split CAN Rx to modify the filters</title>
<updated>2025-01-07T09:11:53+00:00</updated>
<author>
<name>Tamme Dittrich</name>
<email>tamme@tweedegolf.com</email>
</author>
<published>2025-01-07T08:25:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=7ac2a4f674030bf82f7892b25a43a5efc01d9e62'/>
<id>7ac2a4f674030bf82f7892b25a43a5efc01d9e62</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>This fixes 2 issues where STM32 BXCAN would hang</title>
<updated>2024-10-27T09:10:46+00:00</updated>
<author>
<name>Emil Fresk</name>
<email>emil.fresk@gmail.com</email>
</author>
<published>2024-10-27T08:55:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=917f1d1f4de6f7e25f483561001a9b5b36cbce7e'/>
<id>917f1d1f4de6f7e25f483561001a9b5b36cbce7e</id>
<content type='text'>
1. If one received frames under an `interrupt_free` section, in my case
   `init` in RTIC, the RX IRQ will fire and clear it's enable bit after
   `interrupt_free` is complete. There is no frame to read so RX is now
   unconditionally disabled forever.
2. On clearing of RX IRQ, TX stops silently. This happens due to the use
   of `write` instead of `modify` when modifying IRQ enable bits.

Solution 1: Enable RX IRQs on every call to `try_read` that return no
data. This solution also solves the issue of very delayed handling of
the RX IRQ which would cause the same issue.

Solution 2: Use `modify` instead of `write`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. If one received frames under an `interrupt_free` section, in my case
   `init` in RTIC, the RX IRQ will fire and clear it's enable bit after
   `interrupt_free` is complete. There is no frame to read so RX is now
   unconditionally disabled forever.
2. On clearing of RX IRQ, TX stops silently. This happens due to the use
   of `write` instead of `modify` when modifying IRQ enable bits.

Solution 1: Enable RX IRQs on every call to `try_read` that return no
data. This solution also solves the issue of very delayed handling of
the RX IRQ which would cause the same issue.

Solution 2: Use `modify` instead of `write`.
</pre>
</div>
</content>
</entry>
</feed>
