<feed xmlns='http://www.w3.org/2005/Atom'>
<title>embassy/embassy-rp/src/pio.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>docs: embassy-rp rustdoc and refactoring</title>
<updated>2023-12-19T09:56:22+00:00</updated>
<author>
<name>Ulf Lilleengen</name>
<email>ulf.lilleengen@gmail.com</email>
</author>
<published>2023-12-19T09:11:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=e45e3e76b564b0589a24c1ca56599640238fd672'/>
<id>e45e3e76b564b0589a24c1ca56599640238fd672</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rp: remove paste macro.</title>
<updated>2023-09-18T01:30:17+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2023-09-18T01:30:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=5d0c40f61d4a58614f3e489bc366a87da3757457'/>
<id>5d0c40f61d4a58614f3e489bc366a87da3757457</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rp: rename gpio::Pin::io to gpio::Pin::gpio</title>
<updated>2023-07-31T16:28:31+00:00</updated>
<author>
<name>pennae</name>
<email>github@quasiparticle.net</email>
</author>
<published>2023-07-31T16:28:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=e6d404327928756f2975542122a782343f46e75e'/>
<id>e6d404327928756f2975542122a782343f46e75e</id>
<content type='text'>
we'll need access to the pin io bank registers for an upcoming fix, and
having both `io` and `io_bank` or similar can get confusing quickly.
rename `io` to `gpio` to avoid this, and also match the type while there.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we'll need access to the pin io bank registers for an upcoming fix, and
having both `io` and `io_bank` or similar can get confusing quickly.
rename `io` to `gpio` to avoid this, and also match the type while there.
</pre>
</div>
</content>
</entry>
<entry>
<title>rp: relocate programs implicitly during load</title>
<updated>2023-07-28T17:33:02+00:00</updated>
<author>
<name>pennae</name>
<email>github@quasiparticle.net</email>
</author>
<published>2023-07-28T16:45:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=cbc8871a0bb40eb5fec82e7c27ed4c0127844c3c'/>
<id>cbc8871a0bb40eb5fec82e7c27ed4c0127844c3c</id>
<content type='text'>
this removed the RelocatedProgram construction step from pio uses.
there's not all that much to be said for the extra step because the
origin can be set on the input program itself, and the remaining
information exposed by RelocatedProgram can be exposed from
LoadedProgram instead (even though it's already available on the pio_asm
programs, albeit perhaps less convenient). we do lose access to the
relocated instruction iterator, but we also cannot think of anything
this iterator would actually be useful for outside of program loading.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this removed the RelocatedProgram construction step from pio uses.
there's not all that much to be said for the extra step because the
origin can be set on the input program itself, and the remaining
information exposed by RelocatedProgram can be exposed from
LoadedProgram instead (even though it's already available on the pio_asm
programs, albeit perhaps less convenient). we do lose access to the
relocated instruction iterator, but we also cannot think of anything
this iterator would actually be useful for outside of program loading.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. (#1700)</title>
<updated>2023-07-28T11:23:22+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2023-07-28T11:23:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=036e6ae30c9e772ef8ef20439f121e108b9106f0'/>
<id>036e6ae30c9e772ef8ef20439f121e108b9106f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rp/pio: use bind_interrupts for irqs</title>
<updated>2023-07-07T14:27:10+00:00</updated>
<author>
<name>pennae</name>
<email>github@quasiparticle.net</email>
</author>
<published>2023-07-07T02:30:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=4b63829110b8ef314d22d78c160f54e6ae98634c'/>
<id>4b63829110b8ef314d22d78c160f54e6ae98634c</id>
<content type='text'>
closes #1338
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes #1338
</pre>
</div>
</content>
</entry>
<entry>
<title>Update rp-pac.</title>
<updated>2023-06-29T00:09:51+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2023-06-29T00:08:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=ce889900d63f9f32f1a6b7540834d6f9558239e4'/>
<id>ce889900d63f9f32f1a6b7540834d6f9558239e4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rp: update rp-pac.</title>
<updated>2023-06-15T23:41:07+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2023-06-15T23:32:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=837ebe405feabfbee92e9f5e4fc36a5ac56a281c'/>
<id>837ebe405feabfbee92e9f5e4fc36a5ac56a281c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `rt` feature to HALs, cfg out interrupt handling when not set.</title>
<updated>2023-06-08T16:57:03+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2023-06-08T16:00:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=8c93805ab5a13c784e072c8e6e59b354ee902d99'/>
<id>8c93805ab5a13c784e072c8e6e59b354ee902d99</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make interrupt module more standard.</title>
<updated>2023-06-08T16:00:48+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2023-06-08T14:08:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=921780e6bfb9bcb2cd087b8aa8b094d792c99fa2'/>
<id>921780e6bfb9bcb2cd087b8aa8b094d792c99fa2</id>
<content type='text'>
- Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`.
- Reexport the PAC interrupt enum in `embassy_xx::interrupt`.

This has a few advantages:
- The `embassy_xx::interrupt` module is now more "standard".
  - It works with `cortex-m` functions for manipulating interrupts, for example.
  - It works with RTIC.
- the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs.
- When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`.
- Reexport the PAC interrupt enum in `embassy_xx::interrupt`.

This has a few advantages:
- The `embassy_xx::interrupt` module is now more "standard".
  - It works with `cortex-m` functions for manipulating interrupts, for example.
  - It works with RTIC.
- the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs.
- When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`.
</pre>
</div>
</content>
</entry>
</feed>
