Closed videbar closed 1 year ago
I looked into this and added the RTC1
and RTC2
fields to Board
here.
I tested it on my microbit and it seems to work fine, if it's ok, I can open a pull request to merge it.
I tested this further and I have experienced no problems with RTC1 and RTC2. I'll open a PR and you can review it in case there are any issues that I may have missed.
Hi, I noticed that the board struct of the microbit-v2 crate only has one real time counter field,
RTC0
. I checked the nRF52833 product specification and it states that there are three real time counters availableRT0
,RT1
, andRT2
(page 356). The other two RTC are implemented on the PAC (here and here).I was wondering if there's a reason why they are not available from the
Board
struct or if I'm missing something (I'm quite new to rust embedded).