<feed xmlns='http://www.w3.org/2005/Atom'>
<title>embassy/examples/stm32g4/src/bin/usb_c_pd.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>[UCPD] Add support for non-SOP packets</title>
<updated>2024-08-18T19:19:16+00:00</updated>
<author>
<name>Sjoerd Simons</name>
<email>sjoerd@collabora.com</email>
</author>
<published>2024-08-18T19:06:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=1b0661ebb17fca93d11891a1c488005d3d644784'/>
<id>1b0661ebb17fca93d11891a1c488005d3d644784</id>
<content type='text'>
Allow capturing (and distinguishing) non-SOP packets as well. The
default configuration will just configure SOP packets. For ease of use
the default receive function signature is unchanged as for PD sinks
(which is likely the common usage) just SOP is enough so no need to
differentiate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow capturing (and distinguishing) non-SOP packets as well. The
default configuration will just configure SOP packets. For ease of use
the default receive function signature is unchanged as for PD sinks
(which is likely the common usage) just SOP is enough so no need to
differentiate.
</pre>
</div>
</content>
</entry>
<entry>
<title>[UCPD] Enable dead-battery support in example</title>
<updated>2024-03-14T21:14:20+00:00</updated>
<author>
<name>Timo Kröger</name>
<email>timokroeger93@gmail.com</email>
</author>
<published>2024-03-14T21:14:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=7b80de5e3db69a3d348bc74f6294e8642a11785e'/>
<id>7b80de5e3db69a3d348bc74f6294e8642a11785e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[UCPD] Take interrupt in constructor and enable it</title>
<updated>2024-03-14T20:55:05+00:00</updated>
<author>
<name>Timo Kröger</name>
<email>timokroeger93@gmail.com</email>
</author>
<published>2024-03-12T19:38:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=e95e95ac7a00ca014b23f6ac57ecffce7fc6ffa0'/>
<id>e95e95ac7a00ca014b23f6ac57ecffce7fc6ffa0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[UCPD] Split into CC and PD phy</title>
<updated>2024-03-12T07:14:42+00:00</updated>
<author>
<name>Timo Kröger</name>
<email>timokroeger93@gmail.com</email>
</author>
<published>2024-03-08T19:36:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=89504f51629d0ab81070db91c3eb5b96b1e41fcb'/>
<id>89504f51629d0ab81070db91c3eb5b96b1e41fcb</id>
<content type='text'>
PD3.0 spec requires concurrent control of CC resistors for collision avoidance.
Needed to introduce some "ref counting" (its just a bool) for drop code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PD3.0 spec requires concurrent control of CC resistors for collision avoidance.
Needed to introduce some "ref counting" (its just a bool) for drop code.
</pre>
</div>
</content>
</entry>
<entry>
<title>[UCPD] Improve example and defmt Format for enums</title>
<updated>2024-03-12T07:14:42+00:00</updated>
<author>
<name>Timo Kröger</name>
<email>timokroeger93@gmail.com</email>
</author>
<published>2024-03-07T18:54:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=b7972048a1642679392b2a1dfc976881205fd23b'/>
<id>b7972048a1642679392b2a1dfc976881205fd23b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[UCPD] Combine RX and TX</title>
<updated>2024-03-12T07:14:42+00:00</updated>
<author>
<name>Timo Kröger</name>
<email>timokroeger93@gmail.com</email>
</author>
<published>2024-03-07T18:47:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=5e271ff31b55b339d4321af4b2c8a096bf153d4b'/>
<id>5e271ff31b55b339d4321af4b2c8a096bf153d4b</id>
<content type='text'>
`select(rx.receive(), tx.transmit()` had subtle interrupt enable race conditions.
Combine receiver and transmitter into one new `PdPhy` struct to disallow the
problematic pattern.
Scanning through the USB PD 2.0 specification there is no need to have RX and TX
running concurrently (after all the USB PD communication is half-duplex).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`select(rx.receive(), tx.transmit()` had subtle interrupt enable race conditions.
Combine receiver and transmitter into one new `PdPhy` struct to disallow the
problematic pattern.
Scanning through the USB PD 2.0 specification there is no need to have RX and TX
running concurrently (after all the USB PD communication is half-duplex).
</pre>
</div>
</content>
</entry>
<entry>
<title>[UCPD] Prepare for PD communication implementation</title>
<updated>2024-03-12T07:14:42+00:00</updated>
<author>
<name>Timo Kröger</name>
<email>timokroeger93@gmail.com</email>
</author>
<published>2024-03-07T10:17:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=4d0e3838168a7447b3580135ef78d65baa578933'/>
<id>4d0e3838168a7447b3580135ef78d65baa578933</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[UCPD] Improve Type-C CC handling</title>
<updated>2024-03-12T07:14:42+00:00</updated>
<author>
<name>Timo Kröger</name>
<email>timokroeger93@gmail.com</email>
</author>
<published>2024-03-07T08:17:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=a3b12226170d6b1a9ded47cc043cc09489cee278'/>
<id>a3b12226170d6b1a9ded47cc043cc09489cee278</id>
<content type='text'>
* Improved interrupt handling: Clear flags in ISR, check state change in future
* Disable pull-up/pull-down resistors and voltage monitor on drop
* nightly rustfmt
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Improved interrupt handling: Clear flags in ISR, check state change in future
* Disable pull-up/pull-down resistors and voltage monitor on drop
* nightly rustfmt
</pre>
</div>
</content>
</entry>
<entry>
<title>[UCPD] Configuration Channel (CC) handling</title>
<updated>2024-03-12T07:14:42+00:00</updated>
<author>
<name>Timo Kröger</name>
<email>timokroeger93@gmail.com</email>
</author>
<published>2024-03-03T14:09:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=d99fcfd0c285be220c8f0004974567d7d4e2607b'/>
<id>d99fcfd0c285be220c8f0004974567d7d4e2607b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
