#pragma once #include struct Gpio { volatile uint32_t data; static Gpio* Instance(uint32_t base) { return reinterpret_cast(base); } };