Replies: 1 comment
-
I am missing context on your question but if you just want to write a value to an address, try this: unsafe { core::ptr::write_volatile(0x0800 as *mut u16, 0x7777) }; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using a atmega32u4 with the caterina bootloader on it.
I am not sure how to go about this using this hal.
In C I have seen it done where they write 0x7777 to the register at 0x0800, then enable the watchdog timer with a short delay.
Can someone help with this?
Beta Was this translation helpful? Give feedback.
All reactions