Peripheral Memory

I was curious about access to peripheral memory so I tried a crude test with some unsafe code:

But alas, no:

Is this intended? is direct memory access to peripheral registers supported?

(Also note it says “exception unhandled” but there is a catch there…

Oh I see now, the abstractions in the various IOT packages from Microsoft are all we need here, very nice indeed!