/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ const SBRM_ADDRESS: u64 = 0x1000; mod outer { pub(super) mod inner { use cameleon_impl::memory::register_map; #[register_map(base = 0, endianness = LE)] pub(in super::super) enum ABRM { #[register(len = 2, access = RO, ty = u16)] GenCpVersionMinor = 321, #[register(len = 2, access = RO, ty = u16)] GenCpVersionMajor, #[register(len = 64, access = RW, ty = String)] ManufacturerName = "Cameleon\0", #[register(len = 8, access = RO, ty = u64)] SBRMAddress = super::super::SBRM_ADDRESS, } } } fn main() {}