Declare a volatile pointer to address 0x40000000.
Embedded peripherals appear at fixed memory addresses. The compiler must NOT cache reads/writes — that's what `volatile` is for.
```c
volatile unsigned int *reg = (volatile unsigned int *)0x40000000;
*reg = 0x1;
```
Write that, then read it back into a variable and print it in hex.
Sign in to save your code and track progress across devices.