synth/mbv/hal/gpio.h
2025-06-23 15:21:15 -07:00

12 lines
175 B
C++

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