Read SoC temp via mailboxes

This commit is contained in:
2025-07-18 14:41:19 +02:00
parent fe8e5e000a
commit fbc2fcff72
11 changed files with 91 additions and 51 deletions

View File

@@ -13,6 +13,11 @@ const GPPUDCLK_BASE: u32 = 0x3F20_0098;
const GPREN_BASE: u32 = 0x3F20_004C;
const GPFEN_BASE: u32 = 0x3F20_0058;
#[repr(u8)]
pub enum SpecificGpio {
OnboardLed = 29,
}
#[repr(u32)]
pub enum GPIOFunction {
Input = 0b000,