What is the meaning of below two ways of declaration? Which I should use to declare a read-only register?
(1) static volatile* const uint32_t gpio_register = 0x1234ABCD;
(2) static uint32_t volatile* const gpio_register = 0x1234ABCD;
[Update]
The (1) is wrong, so do not use it
In (2) volatile has another placement with the same meaning
(3) static volatile uint32_t * const gpio_register = 0x1234ABCD;