mbv: minor cleanup

This commit is contained in:
2025-06-23 15:20:36 -07:00
parent 73edb77577
commit af768cbb09
8 changed files with 39 additions and 198 deletions

11
mbv/hal/gpio.h Normal file
View File

@@ -0,0 +1,11 @@
#pragma once
#include <cstdint>
struct Gpio {
volatile uint32_t data;
static Gpio* Instance(uint32_t base) {
return reinterpret_cast<Gpio*>(base);
}
};