<feed xmlns='http://www.w3.org/2005/Atom'>
<title>embassy/embassy-nrf/src/rtc.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>nrf/rtc: erase instance generic</title>
<updated>2025-09-28T19:05:37+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2025-09-28T19:03:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=efe5b18f5d050bf19a5031f683ac24e23aad6746'/>
<id>efe5b18f5d050bf19a5031f683ac24e23aad6746</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>code review changes</title>
<updated>2025-09-21T22:45:29+00:00</updated>
<author>
<name>Robin Mueller</name>
<email>robin.mueller.m@pm.me</email>
</author>
<published>2025-09-21T22:43:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=d1b55faace4b5059c726d94dd2d7f1ad3805ab48'/>
<id>d1b55faace4b5059c726d94dd2d7f1ad3805ab48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add basic RTC driver for nRF</title>
<updated>2025-09-21T22:24:45+00:00</updated>
<author>
<name>Robin Mueller</name>
<email>robin.mueller.m@pm.me</email>
</author>
<published>2025-09-19T15:38:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=f7c3005345df07bad5c42612fd73974bd569affb'/>
<id>f7c3005345df07bad5c42612fd73974bd569affb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>time: replace dyn clock/alarm with a global Driver trait</title>
<updated>2021-08-05T17:14:09+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2021-08-03T20:08:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=0ea6a2d8905a146c8899239fe52e739404f13e7e'/>
<id>0ea6a2d8905a146c8899239fe52e739404f13e7e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>nrf: add `Unborrow&lt;Target = Self&gt;` bound to all instance traits</title>
<updated>2021-05-16T23:01:31+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2021-05-14T22:05:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=a5ad79927ecaa9d6cd7bd96e015b66afa9201d84'/>
<id>a5ad79927ecaa9d6cd7bd96e015b66afa9201d84</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use `critical_section` crate</title>
<updated>2021-05-10T23:15:30+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2021-05-10T22:57:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=7fa0e571724a15fd73de65d869cb1b755e12802a'/>
<id>7fa0e571724a15fd73de65d869cb1b755e12802a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>nrf: better macro naming.</title>
<updated>2021-03-28T22:58:58+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2021-03-28T22:44:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=b9e709403d8073861ae9f5010ddf2cfa6d90f41e'/>
<id>b9e709403d8073861ae9f5010ddf2cfa6d90f41e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>nrf/rtc: update to new api</title>
<updated>2021-03-28T22:58:58+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2021-03-27T02:12:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=5646926cca8fcb1d3286199bfe54a3666eae30c9'/>
<id>5646926cca8fcb1d3286199bfe54a3666eae30c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>move most interrupt methods to InterruptExt extension trait. Fixes #35</title>
<updated>2021-02-28T23:44:38+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2021-02-28T23:44:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=45355f184a8397730a3bd04a0abbebc685af63fe'/>
<id>45355f184a8397730a3bd04a0abbebc685af63fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>interrupt: Split set_handler context.</title>
<updated>2021-02-26T01:04:48+00:00</updated>
<author>
<name>Dario Nieuwenhuis</name>
<email>dirbaio@dirbaio.net</email>
</author>
<published>2021-02-26T01:04:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy/commit/?id=da917791174510637c69660b10b1e201d22cfe9d'/>
<id>da917791174510637c69660b10b1e201d22cfe9d</id>
<content type='text'>
Since introducing the ctx pointer, the handler is now two words, so setting it can
race with the interrupt firing. On race it's possible for the new handler to be
alled with the old ctx pointer or viceversa.

Rather than documenting this, it's better to split the function in two to make it
obvious to the user that it's not atomic. The user can use a critical section, or
disable/enable the interrupt to avoid races if this is a concern.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since introducing the ctx pointer, the handler is now two words, so setting it can
race with the interrupt firing. On race it's possible for the new handler to be
alled with the old ctx pointer or viceversa.

Rather than documenting this, it's better to split the function in two to make it
obvious to the user that it's not atomic. The user can use a critical section, or
disable/enable the interrupt to avoid races if this is a concern.
</pre>
</div>
</content>
</entry>
</feed>
