include!("../metadata_0038.rs");
use crate::metadata::PeripheralRccKernelClock::{Clock, Mux};
#[path = "../../registers/esig_common.rs"]
pub mod nv_esig;
#[path = "../../registers/ob_x0.rs"]
pub mod nv_ob;
pub static NV_STRUCTS: &[NvStructBinding] = &[
NvStructBinding {
region: "OPT",
structs: &[NvStruct {
name: "OB",
offset: 0x0,
kind: "ob",
version: "x0",
block: "OB",
defaults: &[("NRDPR", 90), ("NUSER", 0), ("RDPR", 165), ("USER", 255)],
ir: &nv_ob::DESCRIPTOR,
}],
},
NvStructBinding {
region: "VND",
structs: &[NvStruct {
name: "ESIG",
offset: 0xe0,
kind: "esig",
version: "common",
block: "ESIG",
defaults: &[],
ir: &nv_esig::DESCRIPTOR,
}],
},
];
pub static METADATA: Metadata = Metadata {
name: "CH643",
family: "QingKe RISC-V-based MCU",
line: "RGB Display Driver MCU",
memory: crate::memory_select::MEMORY,
nv_structs: NV_STRUCTS,
memory_options: &[MemoryOption {
name: "default",
region_sizes: &[("RAM", 20480), ("USR_1", 63488)],
}],
default_memory_option: "default",
peripherals: PERIPHERALS,
interrupts: INTERRUPTS,
dma_channels: DMA_CHANNELS,
};