-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
- The read/modify/write API takes only
&selfinstead of&mut selfforwriteandmodify, which makes the register structs!Sync. - The Peripherals API creates an empty type for each register block that derefs to a
RegisterBlocktype, which contains the actual struct. This makes it impossible to get a&'static mutreference to the register block without boxing and unsafe. Instead, thePeripheralsstruct could directly contain&'static mut RegisterBlockreferences.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels