diff --git a/Cargo.lock b/Cargo.lock index 499ba9786..b71ed83b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -499,9 +499,12 @@ dependencies = [ name = "bao1x-hal-service" version = "0.1.0" dependencies = [ + "arbitrary-int", "bao1x-api", "bao1x-hal", + "bitbybit", "bitfield", + "bytemuck", "flatipc", "flatipc-derive", "log", diff --git a/README-baochip.md b/README-baochip.md index 0f1688647..81f08bdce 100644 --- a/README-baochip.md +++ b/README-baochip.md @@ -5,11 +5,19 @@ Baochip-based boards use the `bao1x` SoC. There are two boards supported out-of- - `dabao` is a minimal SoM-style breakout board. Basically just the chip on a board. - `baosec` is a hardware security token. It features a camera, display, external memory, buttons, and a supplemental hardware TRNG. +The build idiom is `cargo xtask `, i.e. `cargo xtask dabao`. The build will generate a [`UF2`](https://makecode.com/blog/one-chip-to-flash-them-all) artifact, which can be found in `target/riscv32imac-unknown-[xous|none]-elf/release/`. + +Holding down the `PROG` button while plugging the device into USB will cause it to enter a bootloader that enumerates a mass storage device. The build artifacts can then be copied onto the device. Pressing `PROG` again will cause the device to run the program. Targets also enumerate a serial port over USB, which will activate a debug console. + +## Bootloaders + Regardless of the board, the `bao1x` chip comes from the factory programmed with `boot0` and `boot1` stages. The code for these can be found in `bao1x-boot/`. - `boot0` is a permanent root of trust burned onto the chip. Its sole purpose is to validate `boot1`. See [security model](./README-baochip.md#security-model) for details on the trust chain - `boot1` contains a USB driver, serial-over-USB driver, and serial driver capable of accepting code updates in the form of .u2f files or serial commands. It also contains a small command terminal for managing configurations, keys, and device lifecycle state. +### Applications + Three application targets are supported by Xous: - `baremetal` is an unsecured, bare-iron environment. It is `no-std`, but comes with `alloc` pre-initialized and a USB serial console. diff --git a/README.md b/README.md index abd47a313..f7cd9174f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ The [Xous Book](https://betrusted.io/xous-book/) covers the architecture and str The [wiki](https://github.com/betrusted-io/betrusted-wiki/wiki) is a community resource that answers many FAQ. -The [Baochip README](./README-baochip.md) is the starting point for Baochip users. +The [Baochip README](./README-baochip.md) is the starting point for Baochip users. `vscode` users may wish to install the `baochip` extension to help manage build & test cycles. The [Precursor README](./README-precursor.md) is the starting point for Precursor users. diff --git a/apps-baosec/vault2/src/actions.rs b/apps-baosec/vault2/src/actions.rs index 0e18ab0a9..153497443 100644 --- a/apps-baosec/vault2/src/actions.rs +++ b/apps-baosec/vault2/src/actions.rs @@ -1284,7 +1284,10 @@ impl ActionManager { let pws = self.pddb.borrow().list_keys(VAULT_PASSWORD_DICT, None).unwrap_or(Vec::new()); if pws.len() < TARGET_ENTRIES_PW { let extra_count = TARGET_ENTRIES_PW - pws.len(); - for _index in 0..extra_count { + for index in 0..extra_count { + if index % 10 == 0 { + log::info!("Creating {}/{} passwords", index + 1, extra_count); + } let desc = random_pick::pick_multiple_from_slice(&words, &weights, 3); // this exposes raw unicode and symbols to the sorting list // let description = format!("{} {} {}", desc[0], desc[1], desc[2]); @@ -1334,7 +1337,8 @@ impl ActionManager { let totp = self.pddb.borrow().list_keys(VAULT_TOTP_DICT, None).unwrap_or(Vec::new()); if totp.len() < TARGET_ENTRIES { let extra = TARGET_ENTRIES - totp.len(); - for _index in 0..extra { + for index in 0..extra { + log::info!("Creating {}/{} TOTP records", index + 1, extra); let names = random_pick::pick_multiple_from_slice(&words, &weights, 3); let name = format!("{} {} {}", names[0], names[1], names[2]); let notes = random_pick::pick_from_slice(&words, &weights).unwrap().to_string(); @@ -1375,9 +1379,11 @@ impl ActionManager { Err(e) => log::error!("PW Error: {:?}", e), }; } + log::info!("Done creating entries, syncing DB..."); self.modals.dynamic_notification_update(Some("Syncing PDDB..."), None).ok(); self.pddb.borrow().sync().ok(); self.modals.dynamic_notification_close().ok(); + log::info!("~~fin~~"); } fn report_err(&self, note: &str, e: Option) { diff --git a/apps-baosec/vault2/src/main.rs b/apps-baosec/vault2/src/main.rs index 7d2a594b1..f1a0c614c 100644 --- a/apps-baosec/vault2/src/main.rs +++ b/apps-baosec/vault2/src/main.rs @@ -148,6 +148,7 @@ fn main() -> ! { log::info!("Vault2 PID is {}", xous::process::id()); let xns = xous_names::XousNames::new().unwrap(); + let tt = ticktimer_server::Ticktimer::new().unwrap(); // Register the server with xous let sid = xns.register_name(SERVER_NAME_VAULT2, None).expect("can't register server"); @@ -388,6 +389,11 @@ fn main() -> ! { let modals = modals::Modals::new(&xns).unwrap(); vault_ui.apply_glyph_style(); + // give the system a second to stabilize, then try to mount + tt.sleep_ms(1000).ok(); + let pddb = pddb::Pddb::new(); + pddb.try_mount(); + // reload the database xous::send_message( actions_conn, @@ -480,7 +486,7 @@ fn main() -> ! { vault_ui.redraw(); } _ => { - log::info!("unhandled key {}", k); + log::debug!("unhandled key {}", k); } } } diff --git a/apps-baosec/vault2/src/totp.rs b/apps-baosec/vault2/src/totp.rs index 448196040..67f682b26 100644 --- a/apps-baosec/vault2/src/totp.rs +++ b/apps-baosec/vault2/src/totp.rs @@ -179,7 +179,7 @@ pub(crate) fn pumper( { // we really want mode.lock() to be in a different scope so... if mode_cache == VaultMode::Totp { - tt.sleep_ms(50).unwrap(); + tt.sleep_ms(250).unwrap(); send_message( self_conn, Message::new_scalar(PumpOp::Pump.to_usize().unwrap(), 0, 0, 0, 0), diff --git a/apps-baosec/vault2/src/ux.rs b/apps-baosec/vault2/src/ux.rs index 9c226a873..053e2b6ba 100644 --- a/apps-baosec/vault2/src/ux.rs +++ b/apps-baosec/vault2/src/ux.rs @@ -100,6 +100,7 @@ impl VaultUi { .set_margin(TotpLayout::totp_margin()) .pane_size(TotpLayout::list_box()) .style(TotpLayout::list_font()); + totp_list.set_autoflush(false); let gfx = Gfx::new(&xns).unwrap(); let style = DEFAULT_FONT; @@ -258,9 +259,10 @@ impl VaultUi { self.totp_list.draw(TotpLayout::timer_box().br().y); // draw the timer element + let mut object_list = ObjectList::new(); let mut timer_box = TotpLayout::timer_box(); timer_box.style = DrawStyle::new(PixelColor::Dark, PixelColor::Light, 1); - self.gfx.draw_rectangle(timer_box).ok(); + object_list.push(ClipObjectType::Rect(timer_box)).unwrap(); // draw the duration bar let current_time = std::time::SystemTime::now() @@ -281,7 +283,8 @@ impl VaultUi { let delta_width = (delta * width * 128) / (30 * 128 * 1000); timer_remaining.br = Point::new(width - delta_width, timer_remaining.br().y); timer_remaining.style = DrawStyle::new(PixelColor::Light, PixelColor::Light, 1); - self.gfx.draw_rectangle(timer_remaining).ok(); + object_list.push(ClipObjectType::Rect(timer_remaining)).unwrap(); + self.gfx.draw_object_list(object_list).unwrap(); } VaultMode::Password => { /* diff --git a/libs/bao1x-api/src/lib.rs b/libs/bao1x-api/src/lib.rs index fde92b34c..5cd6df024 100644 --- a/libs/bao1x-api/src/lib.rs +++ b/libs/bao1x-api/src/lib.rs @@ -108,3 +108,18 @@ impl StaticsInRom { unsafe { core::slice::from_raw_parts(self as *const Self as *const u8, core::mem::size_of::()) } } } + +/// Structure for recording message formats to be passed from interrupt handlers back to userspace. +/// A specific handler may or may not use any or all of the arguments: this simply provides storage +/// for all the possible arguments. +#[derive(Copy, Clone)] +pub struct IrqNotification { + /// Specifies the bit position of the event in the irq bank + pub bit: arbitrary_int::u4, + /// Connection to send notifications to + pub conn: xous::CID, + /// Opcode argument for the notification + pub opcode: usize, + /// Up to four arguments to be passed on + pub args: [usize; 4], +} diff --git a/libs/bao1x-api/src/offsets.rs b/libs/bao1x-api/src/offsets.rs index 431bb186d..1e7fd3e0e 100644 --- a/libs/bao1x-api/src/offsets.rs +++ b/libs/bao1x-api/src/offsets.rs @@ -21,9 +21,6 @@ pub const IFR_LEN: usize = 0x400; /// It contains the lot ID, wafer ID, and wafer x/y position of the die. pub const IFR_CP_ID_BASE: usize = 0x6040_00A0; -pub const AO_BU_MEM: usize = 0x5030_0000; -pub const AO_BU_MEM_LEN: usize = 0x4000; - #[bitfield(u32)] #[derive(PartialEq, Eq, Debug)] pub struct DataSlotAccess { diff --git a/libs/bao1x-hal/src/board/baosec.rs b/libs/bao1x-hal/src/board/baosec.rs index a25a6b9ca..324f8e968 100644 --- a/libs/bao1x-hal/src/board/baosec.rs +++ b/libs/bao1x-hal/src/board/baosec.rs @@ -312,14 +312,46 @@ pub fn setup_kb_pins(iox: &T) -> ([(IoxPort, u8); 2], [(Iox ) } +pub fn setup_kpc_pins(iox: &T) -> ([(IoxPort, u8); 2], [(IoxPort, u8); 3]) { + for r in R_PINS { + iox.setup_pin( + KB_PORT, + r, + Some(IoxDir::Input), + Some(IoxFunction::AF1), + None, + None, + Some(IoxEnable::Enable), + Some(IoxDriveStrength::Drive2mA), + ); + } + + for c in C_PINS { + iox.setup_pin( + KB_PORT, + c, + Some(IoxDir::Input), + Some(IoxFunction::AF1), + Some(IoxEnable::Enable), + None, + Some(IoxEnable::Enable), + Some(IoxDriveStrength::Drive2mA), + ); + } + ( + [(KB_PORT, R_PINS[0]), (KB_PORT, R_PINS[1])], + [(KB_PORT, C_PINS[0]), (KB_PORT, C_PINS[1]), (KB_PORT, C_PINS[2])], + ) +} + #[derive(Debug, Copy, Clone, PartialEq, Eq)] pub enum KeyPress { Up, + Select, Down, Left, + Center, Right, - Select, - Home, Invalid, None, } @@ -340,7 +372,7 @@ pub fn scan_keyboard( if key_press_index < key_presses.len() { key_presses[key_press_index] = match (row, col) { (1, 3) => KeyPress::Left, - (1, 2) => KeyPress::Home, + (1, 2) => KeyPress::Center, (1, 0) => KeyPress::Right, (0, 0) => KeyPress::Down, (0, 2) => KeyPress::Up, @@ -356,6 +388,64 @@ pub fn scan_keyboard( key_presses } +// key: sr1 & 0xFF | sr0 & 0xFF +// -- must read sr0 to pick up multiple key hit -- +// down: 0x10 | 0xfffe 1111_1110 +// select: 0x11 | 0xfffd 1111_1101 (press in on jog dial) +// up: 0x12 | 0xfffb 1111_1011 +// right: 0x14 | 0xffef 1110_1111 +// left: 0x15 | 0xffdf 1101_1111 +// center: 0x16 | 0xffbf 1011_1111 + +/// SR0 will contain the current raw status of all the keys and the interrupt +/// system will continue to notify us that an event is happening until all keys +/// are released. +/// +/// This maps the output of the "polled" raw event register (SR0) to `KeyPress` +/// Multiple keys can be encoded in this. +pub fn kpc_sr0_to_key(raw_event: u32) -> [KeyPress; 4] { + let mut key_presses: [KeyPress; 4] = [KeyPress::None; 4]; + let mut key_press_index = 0; + let masked = raw_event & 0x7F; + for position in 0..7 { + if (masked & (1 << position)) == 0 { + let kp_candidate = match position { + 0 => KeyPress::Down, + 1 => KeyPress::Select, + 2 => KeyPress::Up, + 4 => KeyPress::Right, + 5 => KeyPress::Left, + 6 => KeyPress::Center, + _ => KeyPress::Invalid, + }; + if kp_candidate != KeyPress::Invalid && key_press_index < key_presses.len() { + key_presses[key_press_index] = kp_candidate; + key_press_index += 1; + } + } + } + key_presses +} + +/// SR1 outputs a single event every time a key is pressed. Thus it is a KeyDown +/// indicator. +/// +/// This maps the output of the "keydown" event register (SR1) to `KeyPress` +/// only one keydown seems to ever be encoded in this, or at least, it can't +/// effectively differentiate multiple simultaneous keypresses due to its coding. +pub fn kpc_sr1_to_key(raw_event: u32) -> KeyPress { + let masked = raw_event & 0xFF; + match masked { + 0x10 => KeyPress::Down, + 0x11 => KeyPress::Select, + 0x12 => KeyPress::Up, + 0x14 => KeyPress::Right, + 0x15 => KeyPress::Left, + 0x16 => KeyPress::Center, + _ => KeyPress::Invalid, + } +} + pub fn setup_pmic_irq(iox: &T, server: &str, opcode: usize) { iox.set_irq_pin(IoxPort::PB, 15, IoxValue::Low, server, opcode); } diff --git a/libs/bao1x-hal/src/buram.rs b/libs/bao1x-hal/src/buram.rs index c5200d02a..43112a5d0 100644 --- a/libs/bao1x-hal/src/buram.rs +++ b/libs/bao1x-hal/src/buram.rs @@ -25,9 +25,8 @@ impl BackupManager { ) .unwrap() }; - let bu_ram = unsafe { - xous::MemoryRange::new(bao1x_api::offsets::AO_BU_MEM, bao1x_api::offsets::AO_BU_MEM_LEN).unwrap() - }; + let bu_ram = + unsafe { xous::MemoryRange::new(utralib::HW_AORAM_MEM, utralib::HW_AORAM_MEM_LEN).unwrap() }; BackupManager { bu_reg, bu_ram } } @@ -36,15 +35,15 @@ impl BackupManager { let bu_reg = xous::map_memory( xous::MemoryAddress::new(utralib::utra::aobureg::HW_AOBUREG_BASE), None, - utralib::utra::aobureg::AOBUREG_NUMREGS * size_of::(), + 4096, xous::MemoryFlags::R | xous::MemoryFlags::W, ) .expect("Couldn't map backup register range"); let bu_ram = xous::map_memory( - xous::MemoryAddress::new(bao1x_api::offsets::AO_BU_MEM), + xous::MemoryAddress::new(utralib::HW_AORAM_MEM), None, - bao1x_api::offsets::AO_BU_MEM_LEN, + utralib::HW_AORAM_MEM_LEN, xous::MemoryFlags::R | xous::MemoryFlags::W, ) .expect("couldn't map backup RAM range"); @@ -54,7 +53,7 @@ impl BackupManager { pub fn is_backup_valid(&self) -> bool { let bu_ram_u32: &[u32] = unsafe { self.bu_ram.as_slice() }; let hash = murmur3_32(bu_ram_u32, 0x0); - let bu_reg: &[u32] = unsafe { self.bu_reg.as_slice() }; + let bu_reg: &[u32] = &unsafe { self.bu_reg.as_slice() }[..utralib::utra::aobureg::AOBUREG_NUMREGS]; hash == bu_reg[HASH_LOC] } diff --git a/libs/bao1x-hal/src/kpc_aoint.rs b/libs/bao1x-hal/src/kpc_aoint.rs new file mode 100644 index 000000000..57575d402 --- /dev/null +++ b/libs/bao1x-hal/src/kpc_aoint.rs @@ -0,0 +1,110 @@ +use std::pin::Pin; + +use arbitrary_int::u4; +use bao1x_api::IrqNotification; +use bitbybit::bitfield; +use utralib::*; + +#[bitfield(u32)] +#[derive(PartialEq, Eq, Debug)] +// this is the AOFR register - ao_sysctrl::SFR_AOFR +pub struct AoIntStatus { + #[bit(6, rw)] + ao_pad_in0: bool, + #[bit(5, rw)] + ao_pad_in1: bool, + #[bit(4, rw)] + wakeup_valid: bool, + #[bit(3, rw)] + kpc_interrupt: bool, + #[bit(2, rw)] + timer_interrupt: bool, + #[bit(1, rw)] + rtc_interrupt: bool, + #[bit(0, rw)] + wdt_reset: bool, +} + +// Numbers here are relative to the bit position within the IRQ2 register +#[repr(u32)] +pub enum IrqMapping { + // AoWakeup triggers based on either of PI0 or PI1 going low, plus a subset of internal wakeup sources + AoWakeup = 15, + // This is the subset of internal sources + AoInt = 14, + Watchdog = 13, + Timer1 = 12, + Timer0 = 11, + Reram = 22, + Mailbox3 = 5, + Mailbox2 = 4, + Mailbox1 = 3, + Mailbox0 = 2, + Mdma = 1, + Qfc = 0, +} +/// This structure is only available in `std` environment due to the very different +/// way in which interrupts are handled between the two environments. +pub struct KpcAoInt { + pub kpc: CSR, + pub ao: CSR, + pub irq: CSR, + pub args: Vec, + enable: u32, +} + +impl KpcAoInt { + pub fn new(handler: Option) -> Pin> { + let mem = xous::map_memory( + xous::MemoryAddress::new(utra::dkpc::HW_DKPC_BASE), + None, + 4096, + xous::MemoryFlags::R | xous::MemoryFlags::W, + ) + .expect("Couldn't map dkpc range"); + let irq = xous::map_memory( + xous::MemoryAddress::new(utra::irqarray2::HW_IRQARRAY2_BASE), + None, + 4096, + xous::MemoryFlags::R | xous::MemoryFlags::W, + ) + .expect("Couldn't map irq2 range"); + let ao = xous::map_memory( + xous::MemoryAddress::new(utra::ao_sysctrl::HW_AO_SYSCTRL_BASE), + None, + 4096, + xous::MemoryFlags::R | xous::MemoryFlags::W, + ) + .expect("Couldn't map ao_sysctrl range"); + + let mut kpc_aoint = Box::pin(KpcAoInt { + kpc: CSR::new(mem.as_ptr() as *mut u32), + irq: CSR::new(irq.as_ptr() as *mut u32), + ao: CSR::new(ao.as_ptr() as *mut u32), + args: Vec::new(), + enable: 0, + }); + + if let Some(handler) = handler { + xous::claim_interrupt( + utra::irqarray2::IRQARRAY2_IRQ, + handler, + Pin::as_mut(&mut kpc_aoint).get_mut() as *mut KpcAoInt as *mut usize, + ) + .expect("couldn't claim ao/kpc handler interrupt"); + } + kpc_aoint + } + + /// Adds a notifier to the IRQ stack. Does not also enable the IRQ. + pub fn add_irq_notifier(&mut self, notification: IrqNotification) { self.args.push(notification) } + + pub fn modify_irq_ena(&mut self, bit: u4, enable: bool) { + if enable { + self.enable |= 1 << bit.value() as u32; + } else { + self.enable &= !(1 << bit.value() as u32); + } + self.irq.wo(utra::irqarray2::EV_ENABLE, self.enable); + } +} diff --git a/libs/bao1x-hal/src/lib.rs b/libs/bao1x-hal/src/lib.rs index d0b54af4e..b51eb53fd 100644 --- a/libs/bao1x-hal/src/lib.rs +++ b/libs/bao1x-hal/src/lib.rs @@ -34,6 +34,8 @@ pub mod acram; pub mod buram; #[cfg(not(feature = "hosted-baosec"))] pub mod coreuser; +#[cfg(all(not(feature = "hosted-baosec"), feature = "std"))] +pub mod kpc_aoint; #[cfg(not(feature = "hosted-baosec"))] pub mod mbox; #[cfg(not(feature = "hosted-baosec"))] diff --git a/libs/bao1x-hal/src/udma/spim.rs b/libs/bao1x-hal/src/udma/spim.rs index 346fb0537..ff83f52fd 100644 --- a/libs/bao1x-hal/src/udma/spim.rs +++ b/libs/bao1x-hal/src/udma/spim.rs @@ -318,7 +318,7 @@ impl Spim { 4096, xous::MemoryFlags::R | xous::MemoryFlags::W, ) - .expect("couldn't map serial port"); + .expect("couldn't map spim channel"); #[cfg(target_os = "xous")] let csr = CSR::new(csr_range.as_mut_ptr() as *mut u32); #[cfg(not(target_os = "xous"))] diff --git a/libs/ux-api/src/widgets/scroll.rs b/libs/ux-api/src/widgets/scroll.rs index da55c4546..45b9ec4f6 100644 --- a/libs/ux-api/src/widgets/scroll.rs +++ b/libs/ux-api/src/widgets/scroll.rs @@ -60,6 +60,7 @@ pub struct ScrollableList { /// for some global shared state to lock the UI for a given model which I haven't /// figured out how to handle any other way. pub gfx: Gfx, + autoflush: bool, } impl Clone for ScrollableList { @@ -104,9 +105,12 @@ impl ScrollableList { text_alignment: TextAlignment::Left, pane: RefCell::new(pane), gfx, + autoflush: true, } } + pub fn set_autoflush(&mut self, autoflush: bool) { self.autoflush = autoflush; } + pub fn get_alignment(&self) -> TextAlignment { self.text_alignment } pub fn set_alignment<'a>(&'a mut self, alignment: TextAlignment) -> &'a mut Self { @@ -507,7 +511,9 @@ impl ScrollableList { self.gfx.draw_object_list(ol).unwrap(); } } - self.gfx.flush().unwrap(); + if self.autoflush { + self.gfx.flush().unwrap(); + } } /// Update the scrollable list state based on a key action. Passes on diff --git a/services/bao-console/src/cmds/pddb.rs b/services/bao-console/src/cmds/pddb.rs index a89d4e3e3..8c10f5890 100644 --- a/services/bao-console/src/cmds/pddb.rs +++ b/services/bao-console/src/cmds/pddb.rs @@ -12,12 +12,12 @@ use crate::{CommonEnv, ShellCmdApi}; pub struct PddbCmd { pddb: pddb::Pddb, + mounted: bool, } impl PddbCmd { pub fn new() -> Self { let pddb = pddb::Pddb::new(); - log::info!("PDDB mount result: {:?}", pddb.try_mount()); - PddbCmd { pddb } + PddbCmd { pddb, mounted: false } } } @@ -25,6 +25,11 @@ impl<'a> ShellCmdApi<'a> for PddbCmd { cmd_api!(pddb); fn process(&mut self, args: String, _env: &mut CommonEnv) -> Result, xous::Error> { + // lazy-eval this mount + if !self.mounted { + log::info!("PDDB mount result: {:?}", self.pddb.try_mount()); + self.mounted = true; + } let mut ret = String::new(); #[cfg(not(feature = "pddbtest"))] let helpstring = "pddb [basislist] [basiscreate] [basisunlock] [basislock] [basisdelete] [default]\n[dictlist] [keylist] [write] [writeover] [query] [copy] [dictdelete] [keydelete] [churn] [flush] [sync]"; diff --git a/services/bao1x-hal-service/Cargo.toml b/services/bao1x-hal-service/Cargo.toml index eb998e240..78633ba71 100644 --- a/services/bao1x-hal-service/Cargo.toml +++ b/services/bao1x-hal-service/Cargo.toml @@ -31,6 +31,10 @@ rand = "0.8.5" rand_core = "0.6.4" rand_chacha = "0.3.1" bitfield = "0.13.2" +# TOODO: migrate from bitfield to bitbybit +bitbybit = "1.4.0" +arbitrary-int = "1.2" +bytemuck = "1.24.0" num-derive = { version = "0.4.2", default-features = false } num-traits = { version = "0.2.14", default-features = false } @@ -40,6 +44,7 @@ rkyv = { version = "0.8.8", default-features = false, features = [ ] } [features] +keyboard-testing = [] app-uart = [] rawserial = [] pinger = [] diff --git a/services/bao1x-hal-service/src/main.rs b/services/bao1x-hal-service/src/main.rs index d11415c68..ca8ee3002 100644 --- a/services/bao1x-hal-service/src/main.rs +++ b/services/bao1x-hal-service/src/main.rs @@ -256,7 +256,7 @@ fn main() { // The index of the array corresponds to the slot. let mut irq_table: [Option; 8] = [None; 8]; - // start keyboard emulator service + #[cfg(feature = "board-baosec")] servers::keyboard::start_keyboard_service(); // claim BIO diff --git a/services/bao1x-hal-service/src/servers.rs b/services/bao1x-hal-service/src/servers.rs index 83dd37d6c..8d8c03884 100644 --- a/services/bao1x-hal-service/src/servers.rs +++ b/services/bao1x-hal-service/src/servers.rs @@ -1,3 +1,4 @@ +#[cfg(feature = "board-baosec")] pub mod keyboard; // TRNG server is only needed for baosec; dabao can cheat and use the kernel TRNG port diff --git a/services/bao1x-hal-service/src/servers/keyboard.rs b/services/bao1x-hal-service/src/servers/keyboard.rs index 2065734ff..35990adeb 100644 --- a/services/bao1x-hal-service/src/servers/keyboard.rs +++ b/services/bao1x-hal-service/src/servers/keyboard.rs @@ -1,8 +1,131 @@ +use arbitrary_int::{Number, u4}; +use bao1x_api::IrqNotification; use bao1x_api::keyboard::*; +use bao1x_hal::board::KeyPress; +use bao1x_hal::kpc_aoint::{AoIntStatus, KpcAoInt}; use num_traits::*; +use utralib::utra::irqarray2; +use utralib::*; use xous::{CID, MessageSender, msg_blocking_scalar_unpack, msg_scalar_unpack}; use xous_ipc::Buffer; +const KEYUP_DELAY_MS: u64 = 50; + +pub fn handler(_irq_no: usize, arg: *mut usize) { + let kpc_aoint = unsafe { &mut *(arg as *mut KpcAoInt) }; + let pending = kpc_aoint.irq.r(irqarray2::EV_PENDING); + // clear all pending interrupts + kpc_aoint.irq.wo(irqarray2::EV_PENDING, pending); + + // Note to self: this routine might need augmentation if the interrupt source also + // has to be *disabled*. This would be necessary if the interrupt persists as asserted + // instead of being a pulse, to prevent re-entrant interrupting. + + for bit in 0..16u32 { + let mask = 1u32 << bit; + if (pending & mask) != 0 { + for notifier in kpc_aoint.args.iter() { + if notifier.bit.value() as u32 == bit { + xous::try_send_message( + notifier.conn, + xous::Message::new_scalar( + notifier.opcode, + pending as usize, + notifier.args[1], + notifier.args[2], + notifier.args[3], + ), + ) + .ok(); + } + } + } + } +} + +struct KeypressTimestamp { + pub kp: KeyPress, + pub next_repeat_time: u64, +} +struct KeyTracker { + pub rate_ms: usize, + pub delay_ms: usize, + pub keys: Vec, +} +impl KeyTracker { + pub fn new() -> Self { KeyTracker { rate_ms: KEYUP_DELAY_MS as usize, delay_ms: 500, keys: Vec::new() } } + + pub fn register_key_down(&mut self, key: KeyPress, ts: u64) { + if let Some(entry) = self.keys.iter_mut().find(|e| e.kp == key) { + // update the existing entry if it exists + entry.next_repeat_time = ts + self.delay_ms as u64; + } else { + self.keys.push(KeypressTimestamp { kp: key, next_repeat_time: ts + self.delay_ms as u64 }); + } + } + + /// Processes the current keys pressed, at the current time stamp + pub fn update_key_down(&mut self, keys: &[KeyPress], now: u64) { + // Handle the case that key A is held down, then key B is held down simultaneously, + // then key A is released while B continues to hold down + // then key A is pressed again all while key B is held down + // + // The behavior in this case is that A should emit a keydown immediately and will also + // immediately repeat without going through the repeat delay. This is consistent with a + // "video gaming" mode of operation. + // + // Search for keys that are pressed, but not currently in the pressed array + // trigger an effective key report by setting its timestamp to now minus the repeat delay + for key in keys { + // search for key not in keys vector; create a new entry with next repeat equal + // to now, so it gets emitted immediately + if !self.keys.iter().any(|e| e.kp == *key) { + self.keys.push(KeypressTimestamp { kp: *key, next_repeat_time: now }); + } + } + + // Handle the case that key A is held down, then key B is held down simultaneously. + // Then, key A is released. + // + // This is done after all current keys are registered above. + // + // Each key currently pressed should be present in `self.keys` vector. + // If a currently pressed key is not in the `keys` input slice, + // delete it from the `self.keys` vector. This will prevent it from continuing to generate + // key presses on get_repeats() + self.keys.retain(|entry| keys.iter().any(|key| key == &entry.kp)); + } + + /// Returns any keys that should have repeat key-press events generated + pub fn get_repeats(&mut self, now: u64) -> Vec { + let mut kps = Vec::new(); + for key in self.keys.iter_mut() { + if now >= key.next_repeat_time { + kps.push(map_keypress(key.kp)); + // rebasing off of now prevents keys from "lagging on" in case of UI delay + key.next_repeat_time = now + self.rate_ms as u64; + } + } + kps + } + + pub fn keys_pressed(&self) -> usize { self.keys.len() } + + pub fn clear_keys(&mut self) { self.keys.clear(); } +} + +fn map_keypress(kp: KeyPress) -> char { + match kp { + KeyPress::Down => '↓', + KeyPress::Up => '↑', + KeyPress::Left => '←', + KeyPress::Right => '→', + KeyPress::Select => '∴', + KeyPress::Center => '\r', + _ => '\u{0000}', + } +} + pub fn start_keyboard_service() { std::thread::spawn(move || { keyboard_service(); @@ -37,7 +160,56 @@ fn keyboard_bouncer() { fn keyboard_service() { let xns = xous_names::XousNames::new().unwrap(); + + // "own" the KPC & Always-on registers + let mut kpc_aoint = bao1x_hal::kpc_aoint::KpcAoInt::new(Some(handler)); + kpc_aoint.ao.wo(utra::ao_sysctrl::SFR_IOX, 1); // connect PF directly to KP unit, overrides IO mux even??? + kpc_aoint.ao.wo(utra::ao_sysctrl::CR_WKUPMASK, 0x3F); + + // KPOPO0 defines drive state in phase 0 - here we set it to high + // KPOPO1 defines drive state in phase 1 - here we set it to low + // KPOE0 defines OE state in phase 0 - here we set it to drive + // KPOE1 defines OE state in phase 1 - here we set it to drive + let cfg0 = kpc_aoint.kpc.ms(utra::dkpc::SFR_CFG0_KPOPO0, 1) + // | kpc_aoint.kpc.ms(utra::dkpc::SFR_CFG0_KPOPO1, 1) + | kpc_aoint.kpc.ms(utra::dkpc::SFR_CFG0_KPOOE0, 1) + | kpc_aoint.kpc.ms(utra::dkpc::SFR_CFG0_KPOOE1, 1) + | kpc_aoint.kpc.ms(utra::dkpc::SFR_CFG0_DKPCEN, 1); + kpc_aoint.kpc.wo(utra::dkpc::SFR_CFG0, cfg0); + let cfg1 = kpc_aoint.kpc.ms(utra::dkpc::SFR_CFG1_CFG_STEP, 2) + | kpc_aoint.kpc.ms(utra::dkpc::SFR_CFG1_CFG_FILTER, 2) + | kpc_aoint.kpc.ms(utra::dkpc::SFR_CFG1_CFG_CNT1MS, 4); + kpc_aoint.kpc.wo(utra::dkpc::SFR_CFG1, cfg1); + // CFG2 has format of interval kpo | stop drive kpo | sample point kpi | start drive kpo, each 8 bits wide + kpc_aoint.kpc.wo(utra::dkpc::SFR_CFG2, 0x40_05_03_01); // sets ~24ms scanning rate + kpc_aoint.kpc.wo(utra::dkpc::SFR_CFG3, 0xFFFF_0000); // fall[15:0] | rise[15:0] detection + // this is the deep sleep interval for debouncing the keyboard array + kpc_aoint.kpc.wo(utra::dkpc::SFR_CFG4, 256); + // drain any pending events + while kpc_aoint.kpc.r(utra::dkpc::SFR_SR1) != 0 { + // this register didn't get mapped in register extraction because its type + // is `apb_buf2`: FIXME - adjust the register extraction script to capture this type. + // this register drains the pending interrupts from the wakeup/keyboard queue + let _ = unsafe { kpc_aoint.kpc.base().add(8).read_volatile() }; + } + let kbd_sid = xns.register_name(bao1x_api::SERVER_NAME_KBD, None).expect("can't register server"); + let kbd_conn = xous::connect(kbd_sid).unwrap(); + + let kpc_int = u4::new(bao1x_hal::kpc_aoint::IrqMapping::AoInt as u8); + kpc_aoint.add_irq_notifier(IrqNotification { + bit: kpc_int, + conn: kbd_conn, + opcode: KeyboardOpcode::HandlerTrigger.to_usize().unwrap(), + args: [0, 0, 0, 0], + }); + // feels like a bit of an abstraction violation, but I don't know how much the other interrupts + // require edge-triggered handling + kpc_aoint.irq.wo(utra::irqarray2::EV_EDGE_TRIGGERED, 1 << kpc_int.as_u32()); + kpc_aoint.irq.wo(utra::irqarray2::EV_POLARITY, 1 << kpc_int.as_u32()); + kpc_aoint.modify_irq_ena(kpc_int, true); + + let tt = ticktimer::Ticktimer::new().unwrap(); let mut listeners: Vec<(CID, usize)> = Vec::new(); let mut observer_conn: Option = None; @@ -48,6 +220,42 @@ fn keyboard_service() { // storage for any blocking listeners let mut blocking_listener = Vec::::new(); + let iox = crate::iox::IoxHal::new(); + let (_row, _col) = bao1x_hal::board::setup_kpc_pins(&iox); + + #[cfg(feature = "keyboard-testing")] + // this routine is useful for mapping out raw keys on new hardware builds + std::thread::spawn({ + let dkpc_ptr = unsafe { kpc_aoint.kpc.base() as usize }; + let irq_ptr = unsafe { kpc_aoint.irq.base() as usize }; + let ao_ptr = unsafe { kpc_aoint.ao.base() as usize }; + move || { + let dkpc = CSR::new(dkpc_ptr as *mut u32); + let mut irq = CSR::new(irq_ptr as *mut u32); + let mut ao = CSR::new(ao_ptr as *mut u32); + let tt = ticktimer::Ticktimer::new().unwrap(); + loop { + tt.sleep_ms(1000); + for i in (0..6).chain(12..13).chain(8..9) { + log::info!("{:x}: {:x} ", i * 4, unsafe { kpc_aoint.kpc.base().add(i).read_volatile() }); + } + let fr = AoIntStatus::new_with_raw_value(ao.r(utra::ao_sysctrl::SFR_AOFR)); + let pending = irq.r(utralib::utra::irqarray2::EV_PENDING); + log::info!( + "int: {:x}/{:x}/{:x}/{:x?}", + irq.r(utralib::utra::irqarray2::EV_ENABLE), + pending, + irq.r(utralib::utra::irqarray2::EV_STATUS), + fr, + ); + ao.wo(utra::ao_sysctrl::SFR_AOFR, fr.raw_value()); + irq.wo(utra::irqarray2::EV_PENDING, pending); + } + } + }); + + let mut key_tracker = KeyTracker::new(); + let mut last_key_event = 0u64; loop { let msg = xous::receive_message(kbd_sid).unwrap(); // this blocks until we get a message let op = FromPrimitive::from_usize(msg.body.id()); @@ -86,17 +294,22 @@ fn keyboard_service() { } } Some(KeyboardOpcode::SelectKeyMap) => { - todo!(); + // only one key map for the input keyboard. Key mapping for translation of + // key presess to USB key codes should be set in the USB stack, not here. + unimplemented!() } Some(KeyboardOpcode::GetKeyMap) => msg_blocking_scalar_unpack!(msg, _, _, _, _, { log::warn!("Defaulting to DVORAK map"); xous::return_scalar(msg.sender, KeyMap::Dvorak.into()).expect("can't retrieve keymap"); }), - Some(KeyboardOpcode::SetRepeat) => msg_scalar_unpack!(msg, _rate, _delay, _, _, { - todo!(); + Some(KeyboardOpcode::SetRepeat) => msg_scalar_unpack!(msg, rate, delay, _, _, { + key_tracker.rate_ms = rate; + key_tracker.delay_ms = delay; }), Some(KeyboardOpcode::SetChordInterval) => msg_scalar_unpack!(msg, _delay, _, _, _, { - todo!(); + // chording allows us to interpret multiple key hits as a whole new separate key. + // for now we don't implement this feature. + unimplemented!() }), Some(KeyboardOpcode::InjectKey) => msg_scalar_unpack!(msg, k, _, _, _, { // key substitutions to help things work better @@ -188,9 +401,88 @@ fn keyboard_service() { xous::return_scalar2(listener, key as u32 as usize, 0).unwrap(); } }), - Some(KeyboardOpcode::HandlerTrigger) => { - todo!("Write this once we have an IRQ handler for keyboard interrupts"); - } + Some(KeyboardOpcode::HandlerTrigger) => msg_scalar_unpack!(msg, pending, _, _, _, { + if pending & (1 << bao1x_hal::kpc_aoint::IrqMapping::AoInt as usize) != 0 { + let mut kc: Vec = Vec::new(); + let now = tt.elapsed_ms(); + if now - last_key_event > KEYUP_DELAY_MS { + key_tracker.clear_keys(); + } + last_key_event = now; + + // key downs come from this register + if kpc_aoint.kpc.r(utra::dkpc::SFR_SR1) != 0 { + let sr1 = unsafe { kpc_aoint.kpc.base().add(8).read_volatile() }; + let key_down = bao1x_hal::board::kpc_sr1_to_key(sr1); + key_tracker.register_key_down(key_down, now); + if key_down != KeyPress::Invalid { + kc.push(map_keypress(key_down)) + } + } + // the keys_pressed() check is necessary because the interrupt will fire *before* a key + // press is effectively registered. This is because the interrupt fires as soon as any + // noise is detected on the keyboard, *before* the hardware debounce + // happens! + if key_tracker.keys_pressed() > 0 { + let sr0 = kpc_aoint.kpc.r(utra::dkpc::SFR_SR0); + let keys_down = bao1x_hal::board::kpc_sr0_to_key(sr0); + key_tracker.update_key_down(&keys_down, now); + } + + // clear the FR bits + let fr = AoIntStatus::new_with_raw_value(kpc_aoint.ao.r(utra::ao_sysctrl::SFR_AOFR)); + kpc_aoint.ao.wo(utra::ao_sysctrl::SFR_AOFR, fr.raw_value()); + + // add any repeat keys to the key response array + kc.extend_from_slice(&key_tracker.get_repeats(now)); + + // strip out any null entries that were generated + kc.retain(|&c| c != '\u{0000}'); + + // send keys, if any + // handle the blocking listeners + if kc.len() > 0 { + for listener in blocking_listener.drain(..) { + xous::return_scalar2( + listener, + if kc.len() >= 1 { kc[0] as u32 as usize } else { 0 }, + if kc.len() >= 2 { kc[1] as u32 as usize } else { 0 }, + ) + .unwrap(); + if kc.len() > 2 { + log::warn!( + "Extra keys in multi-hit event went unreported: only 2 of {} total keys reported out of {:?}", + kc.len(), + &kc, + ); + } + } + } + // handle the true async listeners + for kv in kc.chunks(4) { + let mut keys: [char; 4] = ['\u{0000}', '\u{0000}', '\u{0000}', '\u{0000}']; + for i in 0..kv.len() { + keys[i] = kv[i]; + } + log::trace!("sending keys {:?}", keys); + for &(listener_conn, listener_op) in listeners.iter() { + xous::try_send_message( + listener_conn, + xous::Message::new_scalar( + listener_op, + keys[0] as u32 as usize, + keys[1] as u32 as usize, + keys[2] as u32 as usize, + keys[3] as u32 as usize, + ), + ) + .ok(); + } + } + } else { + log::warn!("Unhandled interrupt: {:x}", pending); + } + }), None => { log::error!("couldn't convert KeyboardOpcode"); break; diff --git a/services/keystore/src/platform/baosec/server.rs b/services/keystore/src/platform/baosec/server.rs index 05ad74622..3cd6992da 100644 --- a/services/keystore/src/platform/baosec/server.rs +++ b/services/keystore/src/platform/baosec/server.rs @@ -9,6 +9,7 @@ pub fn keystore(sid: SID) -> ! { let hal = bao1x_hal_service::Hal::new(); let mut rram = Reram::new(); let mut store = KeyStore::init_mappings(&mut rram); + let mut backup_mgr = bao1x_hal::buram::BackupManager::new(); // does nothing if the keys are already initialized store.ensure_system_init(&mut rram); // derive the master key @@ -40,6 +41,7 @@ pub fn keystore(sid: SID) -> ! { buffer.replace(kwp).unwrap(); } Opcode::EphemeralOp => { + // this will use the backup_mgr to store ephemeral secrets todo!() } Opcode::InvalidCall => { diff --git a/tools/src/bin/create-image.rs b/tools/src/bin/create-image.rs index a37965bf7..3adf88ee0 100644 --- a/tools/src/bin/create-image.rs +++ b/tools/src/bin/create-image.rs @@ -322,7 +322,7 @@ fn main() -> Result<(), Box> { } break; } - println!("{}: {:x}", region.name, region.base); + println!("{:10}: {:x} - {:x}", region.name, region.base, region.base + region.size); map.insert( region.name.to_lowercase(), tools::utils::CsrMemoryRegion { diff --git a/utralib/bao1x/bao1x_peri.svd b/utralib/bao1x/bao1x_peri.svd index c50b7c88c..12a442031 100644 --- a/utralib/bao1x/bao1x_peri.svd +++ b/utralib/bao1x/bao1x_peri.svd @@ -1,9 +1,9 @@ - bao1x + baochip SOC - + 8 32 @@ -452,7 +452,8 @@ SFR_CRFUNC - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -468,7 +469,8 @@ SFR_AR - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -484,7 +486,8 @@ SFR_SRMFSM - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -507,7 +510,8 @@ SFR_FR - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -564,7 +568,8 @@ bit position to clear the flag]]> SFR_CRDIVLEN - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -580,7 +585,8 @@ bit position to clear the flag]]> SFR_SRDIVLEN - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -596,7 +602,8 @@ bit position to clear the flag]]> SFR_OPT - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -612,7 +619,8 @@ bit position to clear the flag]]> SFR_OPTLTX - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -628,7 +636,8 @@ bit position to clear the flag]]> SFR_SEGPTR_CR_SEGCFG0 - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -644,7 +653,8 @@ bit position to clear the flag]]> SFR_SEGPTR_CR_SEGCFG1 - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -660,7 +670,8 @@ bit position to clear the flag]]> SFR_SEGPTR_CR_SEGCFG2 - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -676,7 +687,8 @@ bit position to clear the flag]]> SFR_SEGPTR_CR_SEGCFG3 - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -704,7 +716,8 @@ bit position to clear the flag]]> SFR_CRFUNC - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -720,7 +733,8 @@ bit position to clear the flag]]> SFR_AR - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -736,7 +750,8 @@ bit position to clear the flag]]> SFR_SRMFSM - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -752,7 +767,8 @@ bit position to clear the flag]]> SFR_FR - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -793,7 +809,8 @@ bit position to clear the flag]]> SFR_OPT - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -823,7 +840,8 @@ bit position to clear the flag]]> SFR_OPT1 - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -839,7 +857,8 @@ bit position to clear the flag]]> SFR_OPTLTX - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -855,7 +874,8 @@ bit position to clear the flag]]> SFR_MASKSEED - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -871,7 +891,8 @@ bit position to clear the flag]]> SFR_MASKSEEDAR - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -887,7 +908,8 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_IV - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -903,7 +925,8 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_AKEY - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -919,7 +942,8 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_AIB - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -935,7 +959,8 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_AOB - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -963,7 +988,8 @@ bit position to clear the flag]]> SFR_CRFUNC - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -979,7 +1005,8 @@ bit position to clear the flag]]> SFR_AR - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -995,7 +1022,8 @@ bit position to clear the flag]]> SFR_SRMFSM - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -1011,7 +1039,8 @@ bit position to clear the flag]]> SFR_FR - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -1076,7 +1105,8 @@ bit position to clear the flag]]> SFR_OPT1 - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -1092,7 +1122,8 @@ bit position to clear the flag]]> SFR_OPT2 - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -1143,7 +1174,8 @@ bit position to clear the flag]]> SFR_OPT3 - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -1159,7 +1191,8 @@ bit position to clear the flag]]> SFR_BLKT0 - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -1175,7 +1208,8 @@ bit position to clear the flag]]> SFR_SEGPTR_SEGID_LKEY - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -1191,7 +1225,8 @@ bit position to clear the flag]]> SFR_SEGPTR_SEGID_KEY - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -1207,7 +1242,8 @@ bit position to clear the flag]]> SFR_SEGPTR_SEGID_SCRT - + `__ (line numbers are approximate)]]> 0x002c 0x00 32 @@ -1223,7 +1259,8 @@ bit position to clear the flag]]> SFR_SEGPTR_SEGID_MSG - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -1239,7 +1276,8 @@ bit position to clear the flag]]> SFR_SEGPTR_SEGID_HOUT - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -1255,7 +1293,8 @@ bit position to clear the flag]]> SFR_SEGPTR_SEGID_HOUT2 - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -1271,7 +1310,8 @@ bit position to clear the flag]]> SFR_KEYIDX - + `__ (line numbers are approximate)]]> 0x0060 0x00 32 @@ -1299,7 +1339,8 @@ bit position to clear the flag]]> SFR_CRFUNC - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -1322,7 +1363,8 @@ bit position to clear the flag]]> SFR_AR2 - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -1338,7 +1380,8 @@ bit position to clear the flag]]> SFR_SRMFSM - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -1361,7 +1404,8 @@ bit position to clear the flag]]> SFR_FR - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -1410,7 +1454,8 @@ bit position to clear the flag]]> SFR_OPTNW - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -1426,7 +1471,8 @@ bit position to clear the flag]]> SFR_OPTEW - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -1442,7 +1488,8 @@ bit position to clear the flag]]> SFR_OPTRW - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -1458,7 +1505,8 @@ bit position to clear the flag]]> SFR_OPTLTX - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -1474,7 +1522,8 @@ bit position to clear the flag]]> SFR_OPTMASK - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -1490,7 +1539,8 @@ bit position to clear the flag]]> SFR_MIMMCR - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -1506,7 +1556,8 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_PCON - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -1522,7 +1573,8 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_PIB0 - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -1538,7 +1590,8 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_PIB1 - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -1554,7 +1607,8 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_PKB - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -1570,7 +1624,8 @@ bit position to clear the flag]]> SFR_SEGPTR_PTRID_POB - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -1586,7 +1641,8 @@ bit position to clear the flag]]> SFR_TICKCYC - + `__ (line numbers are approximate)]]> 0x0050 0x00 32 @@ -1602,7 +1658,8 @@ bit position to clear the flag]]> SFR_TICKCNT - + `__ (line numbers are approximate)]]> 0x0054 0x00 32 @@ -1618,7 +1675,8 @@ bit position to clear the flag]]> SFR_MASKSEED - + `__ (line numbers are approximate)]]> 0x0060 0x00 32 @@ -1634,7 +1692,8 @@ bit position to clear the flag]]> SFR_MASKSEEDAR - + `__ (line numbers are approximate)]]> 0x0064 0x00 32 @@ -1662,7 +1721,8 @@ bit position to clear the flag]]> SFR_CRSRC - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -1678,7 +1738,8 @@ bit position to clear the flag]]> SFR_CRANA - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -1694,7 +1755,8 @@ bit position to clear the flag]]> SFR_PP - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -1710,7 +1772,8 @@ bit position to clear the flag]]> SFR_OPT - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -1726,7 +1789,8 @@ bit position to clear the flag]]> SFR_SR - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -1742,7 +1806,8 @@ bit position to clear the flag]]> SFR_AR_GEN - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -1758,7 +1823,8 @@ bit position to clear the flag]]> SFR_FR - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -1775,7 +1841,8 @@ position to clear the flag]]> SFR_DRPSZ - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -1791,7 +1858,8 @@ position to clear the flag]]> SFR_DRGEN - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -1807,7 +1875,8 @@ position to clear the flag]]> SFR_DRRESEED - + `__ (line numbers are approximate)]]> 0x0028 0x00 32 @@ -1823,7 +1892,8 @@ position to clear the flag]]> SFR_BUF - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -1839,7 +1909,8 @@ position to clear the flag]]> SFR_CHAIN_RNGCHAINEN0 - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -1855,7 +1926,8 @@ position to clear the flag]]> SFR_CHAIN_RNGCHAINEN1 - + `__ (line numbers are approximate)]]> 0x0044 0x00 32 @@ -1871,7 +1943,8 @@ position to clear the flag]]> SFR_CHAIN_RNGCHAINEN2 - + `__ (line numbers are approximate)]]> 0x0048 0x00 32 @@ -1887,7 +1960,8 @@ position to clear the flag]]> SFR_CHAIN_RNGCHAINEN3 - + `__ (line numbers are approximate)]]> 0x004c 0x00 32 @@ -1915,7 +1989,8 @@ position to clear the flag]]> SFR_SCHSTART_AR - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -1931,7 +2006,8 @@ position to clear the flag]]> SFR_XCH_FUNC - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -1947,7 +2023,8 @@ position to clear the flag]]> SFR_XCH_OPT - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -1963,7 +2040,8 @@ position to clear the flag]]> SFR_XCH_AXSTART - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -1979,7 +2057,8 @@ position to clear the flag]]> SFR_XCH_SEGID - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -1995,7 +2074,8 @@ position to clear the flag]]> SFR_XCH_SEGSTART - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -2011,7 +2091,8 @@ position to clear the flag]]> SFR_XCH_TRANSIZE - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -2027,7 +2108,8 @@ position to clear the flag]]> SFR_SCH_FUNC - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -2043,7 +2125,8 @@ position to clear the flag]]> SFR_SCH_OPT - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -2059,7 +2142,8 @@ position to clear the flag]]> SFR_SCH_AXSTART - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -2075,7 +2159,8 @@ position to clear the flag]]> SFR_SCH_SEGID - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -2091,7 +2176,8 @@ position to clear the flag]]> SFR_SCH_SEGSTART - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -2107,7 +2193,8 @@ position to clear the flag]]> SFR_SCH_TRANSIZE - + `__ (line numbers are approximate)]]> 0x0044 0x00 32 @@ -2123,7 +2210,8 @@ position to clear the flag]]> SFR_ICH_OPT - + `__ (line numbers are approximate)]]> 0x0050 0x00 32 @@ -2139,7 +2227,8 @@ position to clear the flag]]> SFR_ICH_SEGID - + `__ (line numbers are approximate)]]> 0x0054 0x00 32 @@ -2155,7 +2244,8 @@ position to clear the flag]]> SFR_ICH_RPSTART - + `__ (line numbers are approximate)]]> 0x0058 0x00 32 @@ -2171,7 +2261,8 @@ position to clear the flag]]> SFR_ICH_WPSTART - + `__ (line numbers are approximate)]]> 0x005c 0x00 32 @@ -2187,7 +2278,8 @@ position to clear the flag]]> SFR_ICH_TRANSIZE - + `__ (line numbers are approximate)]]> 0x0060 0x00 32 @@ -2203,7 +2295,8 @@ position to clear the flag]]> SFR_WDATABYPASS_MODE - + `__ (line numbers are approximate)]]> 0x0070 0x00 32 @@ -2219,7 +2312,8 @@ position to clear the flag]]> SFR_WDATABYPASS_DATA - + `__ (line numbers are approximate)]]> 0x0074 0x00 32 @@ -2247,7 +2341,8 @@ position to clear the flag]]> SFR_SUBEN - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -2263,7 +2358,8 @@ position to clear the flag]]> SFR_APBS - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -2279,7 +2375,8 @@ position to clear the flag]]> SFR_SRBUSY - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -2295,7 +2392,8 @@ position to clear the flag]]> SFR_FRDONE - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -2312,7 +2410,8 @@ bit position to clear the flag]]> SFR_FRERR - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -2329,7 +2428,8 @@ position to clear the flag]]> SFR_ARCLR - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -2345,7 +2445,8 @@ position to clear the flag]]> SFR_TICKCYC - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -2361,7 +2462,8 @@ position to clear the flag]]> SFR_TICKCNT - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -2377,7 +2479,8 @@ position to clear the flag]]> SFR_FFEN - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -2393,7 +2496,8 @@ position to clear the flag]]> SFR_FFCLR - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -2409,7 +2513,8 @@ position to clear the flag]]> SFR_FFCNT_SR_FF0 - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -2425,7 +2530,8 @@ position to clear the flag]]> SFR_FFCNT_SR_FF1 - + `__ (line numbers are approximate)]]> 0x0044 0x00 32 @@ -2441,7 +2547,8 @@ position to clear the flag]]> SFR_FFCNT_SR_FF2 - + `__ (line numbers are approximate)]]> 0x0048 0x00 32 @@ -2457,7 +2564,8 @@ position to clear the flag]]> SFR_FFCNT_SR_FF3 - + `__ (line numbers are approximate)]]> 0x004c 0x00 32 @@ -2473,7 +2581,8 @@ position to clear the flag]]> SFR_FFCNT_SR_FF4 - + `__ (line numbers are approximate)]]> 0x0050 0x00 32 @@ -2489,7 +2598,8 @@ position to clear the flag]]> SFR_FFCNT_SR_FF5 - + `__ (line numbers are approximate)]]> 0x0054 0x00 32 @@ -2505,7 +2615,8 @@ position to clear the flag]]> SFR_FRACERR - + `__ (line numbers are approximate)]]> 0x0060 0x00 32 @@ -2522,7 +2633,8 @@ bit position to clear the flag]]> SFR_TS_SR_TS0 - + `__ (line numbers are approximate)]]> 0x00e0 0x00 32 @@ -2538,7 +2650,8 @@ bit position to clear the flag]]> SFR_TS_SR_TS1 - + `__ (line numbers are approximate)]]> 0x00e4 0x00 32 @@ -2554,7 +2667,8 @@ bit position to clear the flag]]> SFR_TS_SR_TS2 - + `__ (line numbers are approximate)]]> 0x00e8 0x00 32 @@ -2570,7 +2684,8 @@ bit position to clear the flag]]> SFR_TS_SR_TS3 - + `__ (line numbers are approximate)]]> 0x00ec 0x00 32 @@ -2598,7 +2713,8 @@ bit position to clear the flag]]> SFR_TXD - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -2614,7 +2730,8 @@ bit position to clear the flag]]> SFR_CR - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -2630,7 +2747,8 @@ bit position to clear the flag]]> SFR_SR - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -2646,7 +2764,8 @@ bit position to clear the flag]]> SFR_ETUC - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -2674,7 +2793,8 @@ bit position to clear the flag]]> SFRCR_TRM - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -2690,7 +2810,8 @@ bit position to clear the flag]]> SFRSR_TRM - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -2706,7 +2827,8 @@ bit position to clear the flag]]> SFRAR_TRM - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -2758,7 +2880,8 @@ bit position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL0 - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -2774,7 +2897,8 @@ bit position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL1 - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -2790,7 +2914,8 @@ bit position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL2 - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -2806,7 +2931,8 @@ bit position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL3 - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -2822,7 +2948,8 @@ bit position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL4 - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -2838,7 +2965,8 @@ bit position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL5 - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -2854,7 +2982,8 @@ bit position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL6 - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -2870,7 +2999,8 @@ bit position to clear the flag]]> SFR_CM7EVSEL_CM7EVSEL7 - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -2886,7 +3016,8 @@ bit position to clear the flag]]> SFR_CM7EVEN - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -2902,7 +3033,8 @@ bit position to clear the flag]]> SFR_CM7EVFR - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -2919,7 +3051,8 @@ position to clear the flag]]> SFR_TMREVSEL - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -2935,7 +3068,8 @@ position to clear the flag]]> SFR_TMREVEN - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -2951,7 +3085,8 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN0 - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -2967,7 +3102,8 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN1 - + `__ (line numbers are approximate)]]> 0x0044 0x00 32 @@ -2983,7 +3119,8 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN2 - + `__ (line numbers are approximate)]]> 0x0048 0x00 32 @@ -2999,7 +3136,8 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN3 - + `__ (line numbers are approximate)]]> 0x004c 0x00 32 @@ -3015,7 +3153,8 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN4 - + `__ (line numbers are approximate)]]> 0x0050 0x00 32 @@ -3031,7 +3170,8 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN5 - + `__ (line numbers are approximate)]]> 0x0054 0x00 32 @@ -3047,7 +3187,8 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN6 - + `__ (line numbers are approximate)]]> 0x0058 0x00 32 @@ -3063,7 +3204,8 @@ position to clear the flag]]> SFR_IFEVEN_IFEVEN7 - + `__ (line numbers are approximate)]]> 0x005c 0x00 32 @@ -3079,7 +3221,8 @@ position to clear the flag]]> SFR_IFEVERRFR - + `__ (line numbers are approximate)]]> 0x0060 0x00 32 @@ -3096,7 +3239,8 @@ bit position to clear the flag]]> SFR_CM7ERRFR - + `__ (line numbers are approximate)]]> 0x0080 0x00 32 @@ -3113,7 +3257,8 @@ position to clear the flag]]> SFR_CM7ERRCR - + `__ (line numbers are approximate)]]> 0x0084 0x00 32 @@ -3129,7 +3274,8 @@ position to clear the flag]]> SFR_RRCEVSEL_RRC_EVSEL0 - + `__ (line numbers are approximate)]]> 0x0090 0x00 32 @@ -3145,7 +3291,8 @@ position to clear the flag]]> SFR_RRCEVSEL_RRC_EVSEL1 - + `__ (line numbers are approximate)]]> 0x0094 0x00 32 @@ -3161,7 +3308,8 @@ position to clear the flag]]> SFR_RRCEVSEL_RRC_EVSEL2 - + `__ (line numbers are approximate)]]> 0x0098 0x00 32 @@ -3177,7 +3325,8 @@ position to clear the flag]]> SFR_RRCEVSEL_RRC_EVSEL3 - + `__ (line numbers are approximate)]]> 0x009c 0x00 32 @@ -3193,7 +3342,8 @@ position to clear the flag]]> SFR_RRCEVEN - + `__ (line numbers are approximate)]]> 0x00a0 0x00 32 @@ -3221,7 +3371,8 @@ position to clear the flag]]> SFR_CGUSEC - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -3237,7 +3388,8 @@ position to clear the flag]]> SFR_CGULP - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -3253,7 +3405,8 @@ position to clear the flag]]> SFR_SEED - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -3269,7 +3422,8 @@ position to clear the flag]]> SFR_SEEDAR - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -3285,7 +3439,8 @@ position to clear the flag]]> SFR_CGUSEL0 - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -3301,7 +3456,8 @@ position to clear the flag]]> SFR_CGUFD_CFGFDCR_0_4_0 - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -3317,7 +3473,8 @@ position to clear the flag]]> SFR_CGUFD_CFGFDCR_0_4_1 - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -3333,7 +3490,8 @@ position to clear the flag]]> SFR_CGUFD_CFGFDCR_0_4_2 - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -3349,7 +3507,8 @@ position to clear the flag]]> SFR_CGUFD_CFGFDCR_0_4_3 - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -3365,7 +3524,8 @@ position to clear the flag]]> SFR_CGUFD_CFGFDCR_0_4_4 - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -3381,7 +3541,8 @@ position to clear the flag]]> SFR_CGUFDAO - + `__ (line numbers are approximate)]]> 0x0028 0x00 32 @@ -3397,7 +3558,8 @@ position to clear the flag]]> SFR_CGUSET - + `__ (line numbers are approximate)]]> 0x002c 0x00 32 @@ -3413,7 +3575,8 @@ position to clear the flag]]> SFR_CGUSEL1 - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -3429,7 +3592,8 @@ position to clear the flag]]> SFR_CGUFDPKE - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -3445,7 +3609,8 @@ position to clear the flag]]> SFR_CGUFDAORAM - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -3461,7 +3626,8 @@ position to clear the flag]]> SFR_CGUFDPER - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -3477,7 +3643,8 @@ position to clear the flag]]> SFR_CGUFSSR_FSFREQ0 - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -3493,7 +3660,8 @@ position to clear the flag]]> SFR_CGUFSSR_FSFREQ1 - + `__ (line numbers are approximate)]]> 0x0044 0x00 32 @@ -3509,7 +3677,8 @@ position to clear the flag]]> SFR_CGUFSSR_FSFREQ2 - + `__ (line numbers are approximate)]]> 0x0048 0x00 32 @@ -3525,7 +3694,8 @@ position to clear the flag]]> SFR_CGUFSSR_FSFREQ3 - + `__ (line numbers are approximate)]]> 0x004c 0x00 32 @@ -3541,7 +3711,8 @@ position to clear the flag]]> SFR_CGUFSVLD - + `__ (line numbers are approximate)]]> 0x0050 0x00 32 @@ -3557,7 +3728,8 @@ position to clear the flag]]> SFR_CGUFSCR - + `__ (line numbers are approximate)]]> 0x0054 0x00 32 @@ -3573,7 +3745,8 @@ position to clear the flag]]> SFR_ACLKGR - + `__ (line numbers are approximate)]]> 0x0060 0x00 32 @@ -3589,7 +3762,8 @@ position to clear the flag]]> SFR_HCLKGR - + `__ (line numbers are approximate)]]> 0x0064 0x00 32 @@ -3605,7 +3779,8 @@ position to clear the flag]]> SFR_ICLKGR - + `__ (line numbers are approximate)]]> 0x0068 0x00 32 @@ -3621,7 +3796,8 @@ position to clear the flag]]> SFR_PCLKGR - + `__ (line numbers are approximate)]]> 0x006c 0x00 32 @@ -3637,7 +3813,8 @@ position to clear the flag]]> SFR_RCURST0 - + `__ (line numbers are approximate)]]> 0x0080 0x00 32 @@ -3653,7 +3830,8 @@ position to clear the flag]]> SFR_RCURST1 - + `__ (line numbers are approximate)]]> 0x0084 0x00 32 @@ -3669,7 +3847,8 @@ position to clear the flag]]> SFR_RCUSRCFR - + `__ (line numbers are approximate)]]> 0x0088 0x00 32 @@ -3686,7 +3865,8 @@ respective bit position to clear the flag]]> SFR_IPCARIPFLOW - + `__ (line numbers are approximate)]]> 0x0090 0x00 32 @@ -3702,7 +3882,8 @@ respective bit position to clear the flag]]> SFR_IPCEN - + `__ (line numbers are approximate)]]> 0x0094 0x00 32 @@ -3718,7 +3899,8 @@ respective bit position to clear the flag]]> SFR_IPCLPEN - + `__ (line numbers are approximate)]]> 0x0098 0x00 32 @@ -3734,7 +3916,8 @@ respective bit position to clear the flag]]> SFR_IPCOSC - + `__ (line numbers are approximate)]]> 0x009c 0x00 32 @@ -3750,7 +3933,8 @@ respective bit position to clear the flag]]> SFR_IPCPLLMN - + `__ (line numbers are approximate)]]> 0x00a0 0x00 32 @@ -3766,7 +3950,8 @@ respective bit position to clear the flag]]> SFR_IPCPLLF - + `__ (line numbers are approximate)]]> 0x00a4 0x00 32 @@ -3782,7 +3967,8 @@ respective bit position to clear the flag]]> SFR_IPCPLLQ - + `__ (line numbers are approximate)]]> 0x00a8 0x00 32 @@ -3798,7 +3984,8 @@ respective bit position to clear the flag]]> SFR_IPCCR - + `__ (line numbers are approximate)]]> 0x00ac 0x00 32 @@ -3838,7 +4025,8 @@ respective bit position to clear the flag]]> SFR_CTRL - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -3868,7 +4056,8 @@ respective bit position to clear the flag]]> SFR_CFGINFO - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -3898,7 +4087,8 @@ respective bit position to clear the flag]]> SFR_CONFIG - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -3956,7 +4146,8 @@ respective bit position to clear the flag]]> SFR_FLEVEL - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -3993,7 +4184,8 @@ respective bit position to clear the flag]]> SFR_TXF0 - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -4009,7 +4201,8 @@ respective bit position to clear the flag]]> SFR_TXF1 - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -4025,7 +4218,8 @@ respective bit position to clear the flag]]> SFR_TXF2 - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -4041,7 +4235,8 @@ respective bit position to clear the flag]]> SFR_TXF3 - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -4057,7 +4252,8 @@ respective bit position to clear the flag]]> SFR_RXF0 - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -4073,7 +4269,8 @@ respective bit position to clear the flag]]> SFR_RXF1 - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -4089,7 +4286,8 @@ respective bit position to clear the flag]]> SFR_RXF2 - + `__ (line numbers are approximate)]]> 0x0028 0x00 32 @@ -4105,7 +4303,8 @@ respective bit position to clear the flag]]> SFR_RXF3 - + `__ (line numbers are approximate)]]> 0x002c 0x00 32 @@ -4121,7 +4320,8 @@ respective bit position to clear the flag]]> SFR_ELEVEL - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -4186,7 +4386,8 @@ respective bit position to clear the flag]]> SFR_ETYPE - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -4216,7 +4417,8 @@ respective bit position to clear the flag]]> SFR_EVENT_SET - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -4232,7 +4434,8 @@ respective bit position to clear the flag]]> SFR_EVENT_CLR - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -4248,7 +4451,8 @@ respective bit position to clear the flag]]> SFR_EVENT_STATUS - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -4264,7 +4468,8 @@ respective bit position to clear the flag]]> SFR_EXTCLOCK - + `__ (line numbers are approximate)]]> 0x0044 0x00 32 @@ -4308,7 +4513,8 @@ respective bit position to clear the flag]]> SFR_FIFO_CLR - + `__ (line numbers are approximate)]]> 0x0048 0x00 32 @@ -4324,7 +4530,8 @@ respective bit position to clear the flag]]> SFR_QDIV0 - + `__ (line numbers are approximate)]]> 0x0050 0x00 32 @@ -4354,7 +4561,8 @@ respective bit position to clear the flag]]> SFR_QDIV1 - + `__ (line numbers are approximate)]]> 0x0054 0x00 32 @@ -4384,7 +4592,8 @@ respective bit position to clear the flag]]> SFR_QDIV2 - + `__ (line numbers are approximate)]]> 0x0058 0x00 32 @@ -4414,7 +4623,8 @@ respective bit position to clear the flag]]> SFR_QDIV3 - + `__ (line numbers are approximate)]]> 0x005c 0x00 32 @@ -4444,7 +4654,8 @@ respective bit position to clear the flag]]> SFR_SYNC_BYPASS - + `__ (line numbers are approximate)]]> 0x0060 0x00 32 @@ -4460,7 +4671,8 @@ respective bit position to clear the flag]]> SFR_IO_OE_INV - + `__ (line numbers are approximate)]]> 0x0064 0x00 32 @@ -4476,7 +4688,8 @@ respective bit position to clear the flag]]> SFR_IO_O_INV - + `__ (line numbers are approximate)]]> 0x0068 0x00 32 @@ -4492,7 +4705,8 @@ respective bit position to clear the flag]]> SFR_IO_I_INV - + `__ (line numbers are approximate)]]> 0x006c 0x00 32 @@ -4508,7 +4722,8 @@ respective bit position to clear the flag]]> SFR_IRQMASK_0 - + `__ (line numbers are approximate)]]> 0x0070 0x00 32 @@ -4524,7 +4739,8 @@ respective bit position to clear the flag]]> SFR_IRQMASK_1 - + `__ (line numbers are approximate)]]> 0x0074 0x00 32 @@ -4540,7 +4756,8 @@ respective bit position to clear the flag]]> SFR_IRQMASK_2 - + `__ (line numbers are approximate)]]> 0x0078 0x00 32 @@ -4556,7 +4773,8 @@ respective bit position to clear the flag]]> SFR_IRQMASK_3 - + `__ (line numbers are approximate)]]> 0x007c 0x00 32 @@ -4572,7 +4790,8 @@ respective bit position to clear the flag]]> SFR_IRQ_EDGE - + `__ (line numbers are approximate)]]> 0x0080 0x00 32 @@ -4588,7 +4807,8 @@ respective bit position to clear the flag]]> SFR_DBG_PADOUT - + `__ (line numbers are approximate)]]> 0x0084 0x00 32 @@ -4604,7 +4824,8 @@ respective bit position to clear the flag]]> SFR_DBG_PADOE - + `__ (line numbers are approximate)]]> 0x0088 0x00 32 @@ -4620,7 +4841,8 @@ respective bit position to clear the flag]]> SFR_DBG0 - + `__ (line numbers are approximate)]]> 0x0090 0x00 32 @@ -4643,7 +4865,8 @@ respective bit position to clear the flag]]> SFR_DBG1 - + `__ (line numbers are approximate)]]> 0x0094 0x00 32 @@ -4666,7 +4889,8 @@ respective bit position to clear the flag]]> SFR_DBG2 - + `__ (line numbers are approximate)]]> 0x0098 0x00 32 @@ -4689,7 +4913,8 @@ respective bit position to clear the flag]]> SFR_DBG3 - + `__ (line numbers are approximate)]]> 0x009c 0x00 32 @@ -4712,7 +4937,8 @@ respective bit position to clear the flag]]> SFR_MEM_GUTTER - + `__ (line numbers are approximate)]]> 0x00a0 0x00 32 @@ -4728,7 +4954,8 @@ respective bit position to clear the flag]]> SFR_PERI_GUTTER - + `__ (line numbers are approximate)]]> 0x00a4 0x00 32 @@ -4744,7 +4971,8 @@ respective bit position to clear the flag]]> SFR_DMAREQ_MAP_CR_EVMAP0 - + `__ (line numbers are approximate)]]> 0x00b0 0x00 32 @@ -4760,7 +4988,8 @@ respective bit position to clear the flag]]> SFR_DMAREQ_MAP_CR_EVMAP1 - + `__ (line numbers are approximate)]]> 0x00b4 0x00 32 @@ -4776,7 +5005,8 @@ respective bit position to clear the flag]]> SFR_DMAREQ_MAP_CR_EVMAP2 - + `__ (line numbers are approximate)]]> 0x00b8 0x00 32 @@ -4792,7 +5022,8 @@ respective bit position to clear the flag]]> SFR_DMAREQ_MAP_CR_EVMAP3 - + `__ (line numbers are approximate)]]> 0x00bc 0x00 32 @@ -4808,7 +5039,8 @@ respective bit position to clear the flag]]> SFR_DMAREQ_MAP_CR_EVMAP4 - + `__ (line numbers are approximate)]]> 0x00c0 0x00 32 @@ -4824,7 +5056,8 @@ respective bit position to clear the flag]]> SFR_DMAREQ_MAP_CR_EVMAP5 - + `__ (line numbers are approximate)]]> 0x00c4 0x00 32 @@ -4840,7 +5073,8 @@ respective bit position to clear the flag]]> SFR_DMAREQ_STAT_SR_EVSTAT0 - + `__ (line numbers are approximate)]]> 0x00c8 0x00 32 @@ -4856,7 +5090,8 @@ respective bit position to clear the flag]]> SFR_DMAREQ_STAT_SR_EVSTAT1 - + `__ (line numbers are approximate)]]> 0x00cc 0x00 32 @@ -4872,7 +5107,8 @@ respective bit position to clear the flag]]> SFR_DMAREQ_STAT_SR_EVSTAT2 - + `__ (line numbers are approximate)]]> 0x00d0 0x00 32 @@ -4888,7 +5124,8 @@ respective bit position to clear the flag]]> SFR_DMAREQ_STAT_SR_EVSTAT3 - + `__ (line numbers are approximate)]]> 0x00d4 0x00 32 @@ -4904,7 +5141,8 @@ respective bit position to clear the flag]]> SFR_DMAREQ_STAT_SR_EVSTAT4 - + `__ (line numbers are approximate)]]> 0x00d8 0x00 32 @@ -4920,7 +5158,8 @@ respective bit position to clear the flag]]> SFR_DMAREQ_STAT_SR_EVSTAT5 - + `__ (line numbers are approximate)]]> 0x00dc 0x00 32 @@ -4936,7 +5175,8 @@ respective bit position to clear the flag]]> SFR_FILTER_BASE_0 - + `__ (line numbers are approximate)]]> 0x00e0 0x00 32 @@ -4952,7 +5192,8 @@ respective bit position to clear the flag]]> SFR_FILTER_BOUNDS_0 - + `__ (line numbers are approximate)]]> 0x00e4 0x00 32 @@ -4968,7 +5209,8 @@ respective bit position to clear the flag]]> SFR_FILTER_BASE_1 - + `__ (line numbers are approximate)]]> 0x00e8 0x00 32 @@ -4984,7 +5226,8 @@ respective bit position to clear the flag]]> SFR_FILTER_BOUNDS_1 - + `__ (line numbers are approximate)]]> 0x00ec 0x00 32 @@ -5000,7 +5243,8 @@ respective bit position to clear the flag]]> SFR_FILTER_BASE_2 - + `__ (line numbers are approximate)]]> 0x00f0 0x00 32 @@ -5016,7 +5260,8 @@ respective bit position to clear the flag]]> SFR_FILTER_BOUNDS_2 - + `__ (line numbers are approximate)]]> 0x00f4 0x00 32 @@ -5032,7 +5277,8 @@ respective bit position to clear the flag]]> SFR_FILTER_BASE_3 - + `__ (line numbers are approximate)]]> 0x00f8 0x00 32 @@ -5048,7 +5294,8 @@ respective bit position to clear the flag]]> SFR_FILTER_BOUNDS_3 - + `__ (line numbers are approximate)]]> 0x00fc 0x00 32 @@ -5076,7 +5323,8 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL0 - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -5092,7 +5340,8 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL1 - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -5108,7 +5357,8 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL2 - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -5124,7 +5374,8 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL3 - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -5140,7 +5391,8 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL4 - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -5156,7 +5408,8 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL5 - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -5172,7 +5425,8 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL6 - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -5188,7 +5442,8 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL7 - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -5204,7 +5459,8 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL8 - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -5220,7 +5476,8 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL9 - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -5236,7 +5493,8 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL10 - + `__ (line numbers are approximate)]]> 0x0028 0x00 32 @@ -5252,7 +5510,8 @@ respective bit position to clear the flag]]> SFR_AFSEL_CRAFSEL11 - + `__ (line numbers are approximate)]]> 0x002c 0x00 32 @@ -5268,7 +5527,8 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT0 - + `__ (line numbers are approximate)]]> 0x0100 0x00 32 @@ -5284,7 +5544,8 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT1 - + `__ (line numbers are approximate)]]> 0x0104 0x00 32 @@ -5300,7 +5561,8 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT2 - + `__ (line numbers are approximate)]]> 0x0108 0x00 32 @@ -5316,7 +5578,8 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT3 - + `__ (line numbers are approximate)]]> 0x010c 0x00 32 @@ -5332,7 +5595,8 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT4 - + `__ (line numbers are approximate)]]> 0x0110 0x00 32 @@ -5348,7 +5612,8 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT5 - + `__ (line numbers are approximate)]]> 0x0114 0x00 32 @@ -5364,7 +5629,8 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT6 - + `__ (line numbers are approximate)]]> 0x0118 0x00 32 @@ -5380,7 +5646,8 @@ respective bit position to clear the flag]]> SFR_INTCR_CRINT7 - + `__ (line numbers are approximate)]]> 0x011c 0x00 32 @@ -5396,7 +5663,8 @@ respective bit position to clear the flag]]> SFR_INTFR - + `__ (line numbers are approximate)]]> 0x0120 0x00 32 @@ -5413,7 +5681,8 @@ position to clear the flag]]> SFR_GPIOOUT_CRGO0 - + `__ (line numbers are approximate)]]> 0x0130 0x00 32 @@ -5429,7 +5698,8 @@ position to clear the flag]]> SFR_GPIOOUT_CRGO1 - + `__ (line numbers are approximate)]]> 0x0134 0x00 32 @@ -5445,7 +5715,8 @@ position to clear the flag]]> SFR_GPIOOUT_CRGO2 - + `__ (line numbers are approximate)]]> 0x0138 0x00 32 @@ -5461,7 +5732,8 @@ position to clear the flag]]> SFR_GPIOOUT_CRGO3 - + `__ (line numbers are approximate)]]> 0x013c 0x00 32 @@ -5477,7 +5749,8 @@ position to clear the flag]]> SFR_GPIOOUT_CRGO4 - + `__ (line numbers are approximate)]]> 0x0140 0x00 32 @@ -5493,7 +5766,8 @@ position to clear the flag]]> SFR_GPIOOUT_CRGO5 - + `__ (line numbers are approximate)]]> 0x0144 0x00 32 @@ -5509,7 +5783,8 @@ position to clear the flag]]> SFR_GPIOOE_CRGOE0 - + `__ (line numbers are approximate)]]> 0x0148 0x00 32 @@ -5525,7 +5800,8 @@ position to clear the flag]]> SFR_GPIOOE_CRGOE1 - + `__ (line numbers are approximate)]]> 0x014c 0x00 32 @@ -5541,7 +5817,8 @@ position to clear the flag]]> SFR_GPIOOE_CRGOE2 - + `__ (line numbers are approximate)]]> 0x0150 0x00 32 @@ -5557,7 +5834,8 @@ position to clear the flag]]> SFR_GPIOOE_CRGOE3 - + `__ (line numbers are approximate)]]> 0x0154 0x00 32 @@ -5573,7 +5851,8 @@ position to clear the flag]]> SFR_GPIOOE_CRGOE4 - + `__ (line numbers are approximate)]]> 0x0158 0x00 32 @@ -5589,7 +5868,8 @@ position to clear the flag]]> SFR_GPIOOE_CRGOE5 - + `__ (line numbers are approximate)]]> 0x015c 0x00 32 @@ -5605,7 +5885,8 @@ position to clear the flag]]> SFR_GPIOPU_CRGPU0 - + `__ (line numbers are approximate)]]> 0x0160 0x00 32 @@ -5621,7 +5902,8 @@ position to clear the flag]]> SFR_GPIOPU_CRGPU1 - + `__ (line numbers are approximate)]]> 0x0164 0x00 32 @@ -5637,7 +5919,8 @@ position to clear the flag]]> SFR_GPIOPU_CRGPU2 - + `__ (line numbers are approximate)]]> 0x0168 0x00 32 @@ -5653,7 +5936,8 @@ position to clear the flag]]> SFR_GPIOPU_CRGPU3 - + `__ (line numbers are approximate)]]> 0x016c 0x00 32 @@ -5669,7 +5953,8 @@ position to clear the flag]]> SFR_GPIOPU_CRGPU4 - + `__ (line numbers are approximate)]]> 0x0170 0x00 32 @@ -5685,7 +5970,8 @@ position to clear the flag]]> SFR_GPIOPU_CRGPU5 - + `__ (line numbers are approximate)]]> 0x0174 0x00 32 @@ -5701,7 +5987,8 @@ position to clear the flag]]> SFR_GPIOIN_SRGI0 - + `__ (line numbers are approximate)]]> 0x0178 0x00 32 @@ -5717,7 +6004,8 @@ position to clear the flag]]> SFR_GPIOIN_SRGI1 - + `__ (line numbers are approximate)]]> 0x017c 0x00 32 @@ -5733,7 +6021,8 @@ position to clear the flag]]> SFR_GPIOIN_SRGI2 - + `__ (line numbers are approximate)]]> 0x0180 0x00 32 @@ -5749,7 +6038,8 @@ position to clear the flag]]> SFR_GPIOIN_SRGI3 - + `__ (line numbers are approximate)]]> 0x0184 0x00 32 @@ -5765,7 +6055,8 @@ position to clear the flag]]> SFR_GPIOIN_SRGI4 - + `__ (line numbers are approximate)]]> 0x0188 0x00 32 @@ -5781,7 +6072,8 @@ position to clear the flag]]> SFR_GPIOIN_SRGI5 - + `__ (line numbers are approximate)]]> 0x018c 0x00 32 @@ -5797,7 +6089,8 @@ position to clear the flag]]> SFR_PIOSEL - + `__ (line numbers are approximate)]]> 0x0200 0x00 32 @@ -5813,7 +6106,8 @@ position to clear the flag]]> SFR_CFG_SCHM_CR_CFG_SCHMSEL0 - + `__ (line numbers are approximate)]]> 0x0230 0x00 32 @@ -5829,7 +6123,8 @@ position to clear the flag]]> SFR_CFG_SCHM_CR_CFG_SCHMSEL1 - + `__ (line numbers are approximate)]]> 0x0234 0x00 32 @@ -5845,7 +6140,8 @@ position to clear the flag]]> SFR_CFG_SCHM_CR_CFG_SCHMSEL2 - + `__ (line numbers are approximate)]]> 0x0238 0x00 32 @@ -5861,7 +6157,8 @@ position to clear the flag]]> SFR_CFG_SCHM_CR_CFG_SCHMSEL3 - + `__ (line numbers are approximate)]]> 0x023c 0x00 32 @@ -5877,7 +6174,8 @@ position to clear the flag]]> SFR_CFG_SCHM_CR_CFG_SCHMSEL4 - + `__ (line numbers are approximate)]]> 0x0240 0x00 32 @@ -5893,7 +6191,8 @@ position to clear the flag]]> SFR_CFG_SCHM_CR_CFG_SCHMSEL5 - + `__ (line numbers are approximate)]]> 0x0244 0x00 32 @@ -5909,7 +6208,8 @@ position to clear the flag]]> SFR_CFG_SLEW_CR_CFG_SLEWSLOW0 - + `__ (line numbers are approximate)]]> 0x0248 0x00 32 @@ -5925,7 +6225,8 @@ position to clear the flag]]> SFR_CFG_SLEW_CR_CFG_SLEWSLOW1 - + `__ (line numbers are approximate)]]> 0x024c 0x00 32 @@ -5941,7 +6242,8 @@ position to clear the flag]]> SFR_CFG_SLEW_CR_CFG_SLEWSLOW2 - + `__ (line numbers are approximate)]]> 0x0250 0x00 32 @@ -5957,7 +6259,8 @@ position to clear the flag]]> SFR_CFG_SLEW_CR_CFG_SLEWSLOW3 - + `__ (line numbers are approximate)]]> 0x0254 0x00 32 @@ -5973,7 +6276,8 @@ position to clear the flag]]> SFR_CFG_SLEW_CR_CFG_SLEWSLOW4 - + `__ (line numbers are approximate)]]> 0x0258 0x00 32 @@ -5989,7 +6293,8 @@ position to clear the flag]]> SFR_CFG_SLEW_CR_CFG_SLEWSLOW5 - + `__ (line numbers are approximate)]]> 0x025c 0x00 32 @@ -6005,7 +6310,8 @@ position to clear the flag]]> SFR_CFG_DRVSEL_CR_CFG_DRVSEL0 - + `__ (line numbers are approximate)]]> 0x0260 0x00 32 @@ -6021,7 +6327,8 @@ position to clear the flag]]> SFR_CFG_DRVSEL_CR_CFG_DRVSEL1 - + `__ (line numbers are approximate)]]> 0x0264 0x00 32 @@ -6037,7 +6344,8 @@ position to clear the flag]]> SFR_CFG_DRVSEL_CR_CFG_DRVSEL2 - + `__ (line numbers are approximate)]]> 0x0268 0x00 32 @@ -6053,7 +6361,8 @@ position to clear the flag]]> SFR_CFG_DRVSEL_CR_CFG_DRVSEL3 - + `__ (line numbers are approximate)]]> 0x026c 0x00 32 @@ -6069,7 +6378,8 @@ position to clear the flag]]> SFR_CFG_DRVSEL_CR_CFG_DRVSEL4 - + `__ (line numbers are approximate)]]> 0x0270 0x00 32 @@ -6085,7 +6395,8 @@ position to clear the flag]]> SFR_CFG_DRVSEL_CR_CFG_DRVSEL5 - + `__ (line numbers are approximate)]]> 0x0274 0x00 32 @@ -6113,7 +6424,8 @@ position to clear the flag]]> REG_TIM0_CMD - + `__]]> 0x0000 0x00 32 @@ -6157,7 +6469,8 @@ position to clear the flag]]> REG_TIM0_CFG - + `__]]> 0x0004 0x00 32 @@ -6201,7 +6514,8 @@ position to clear the flag]]> REG_TIM0_CH0_TH - + `__]]> 0x000c 0x00 32 @@ -6224,7 +6538,8 @@ position to clear the flag]]> REG_TIM0_CH1_TH - + `__]]> 0x0010 0x00 32 @@ -6247,7 +6562,8 @@ position to clear the flag]]> REG_TIM0_CH2_TH - + `__]]> 0x0014 0x00 32 @@ -6270,7 +6586,8 @@ position to clear the flag]]> REG_TIM0_CH3_TH - + `__]]> 0x0018 0x00 32 @@ -6293,7 +6610,8 @@ position to clear the flag]]> REG_TIM0_CH0_LUT - + `__]]> 0x001c 0x00 32 @@ -6316,7 +6634,8 @@ position to clear the flag]]> REG_TIM0_CH1_LUT - + `__]]> 0x0020 0x00 32 @@ -6339,7 +6658,8 @@ position to clear the flag]]> REG_TIM0_CH2_LUT - + `__]]> 0x0024 0x00 32 @@ -6362,7 +6682,8 @@ position to clear the flag]]> REG_TIM0_CH3_LUT - + `__]]> 0x0028 0x00 32 @@ -6385,7 +6706,8 @@ position to clear the flag]]> REG_TIM1_CMD - + `__]]> 0x0040 0x00 32 @@ -6429,7 +6751,8 @@ position to clear the flag]]> REG_TIM1_CFG - + `__]]> 0x0044 0x00 32 @@ -6473,7 +6796,8 @@ position to clear the flag]]> REG_TIM1_CH0_TH - + `__]]> 0x004c 0x00 32 @@ -6496,7 +6820,8 @@ position to clear the flag]]> REG_TIM1_CH1_TH - + `__]]> 0x0050 0x00 32 @@ -6519,7 +6844,8 @@ position to clear the flag]]> REG_TIM1_CH2_TH - + `__]]> 0x0054 0x00 32 @@ -6542,7 +6868,8 @@ position to clear the flag]]> REG_TIM1_CH3_TH - + `__]]> 0x0058 0x00 32 @@ -6565,7 +6892,8 @@ position to clear the flag]]> REG_TIM1_CH0_LUT - + `__]]> 0x005c 0x00 32 @@ -6588,7 +6916,8 @@ position to clear the flag]]> REG_TIM1_CH1_LUT - + `__]]> 0x0060 0x00 32 @@ -6611,7 +6940,8 @@ position to clear the flag]]> REG_TIM1_CH2_LUT - + `__]]> 0x0064 0x00 32 @@ -6634,7 +6964,8 @@ position to clear the flag]]> REG_TIM1_CH3_LUT - + `__]]> 0x0068 0x00 32 @@ -6657,7 +6988,8 @@ position to clear the flag]]> REG_TIM2_CMD - + `__]]> 0x0080 0x00 32 @@ -6701,7 +7033,8 @@ position to clear the flag]]> REG_TIM2_CFG - + `__]]> 0x0084 0x00 32 @@ -6745,7 +7078,8 @@ position to clear the flag]]> REG_TIM2_CH0_TH - + `__]]> 0x008c 0x00 32 @@ -6768,7 +7102,8 @@ position to clear the flag]]> REG_TIM2_CH1_TH - + `__]]> 0x0090 0x00 32 @@ -6791,7 +7126,8 @@ position to clear the flag]]> REG_TIM2_CH2_TH - + `__]]> 0x0094 0x00 32 @@ -6814,7 +7150,8 @@ position to clear the flag]]> REG_TIM2_CH3_TH - + `__]]> 0x0098 0x00 32 @@ -6837,7 +7174,8 @@ position to clear the flag]]> REG_TIM2_CH0_LUT - + `__]]> 0x009c 0x00 32 @@ -6860,7 +7198,8 @@ position to clear the flag]]> REG_TIM2_CH1_LUT - + `__]]> 0x00a0 0x00 32 @@ -6883,7 +7222,8 @@ position to clear the flag]]> REG_TIM2_CH2_LUT - + `__]]> 0x00a4 0x00 32 @@ -6906,7 +7246,8 @@ position to clear the flag]]> REG_TIM2_CH3_LUT - + `__]]> 0x00a8 0x00 32 @@ -6929,7 +7270,8 @@ position to clear the flag]]> REG_TIM3_CMD - + `__]]> 0x00c0 0x00 32 @@ -6973,7 +7315,8 @@ position to clear the flag]]> REG_TIM3_CFG - + `__]]> 0x00c4 0x00 32 @@ -7017,7 +7360,8 @@ position to clear the flag]]> REG_TIM3_CH0_TH - + `__]]> 0x00cc 0x00 32 @@ -7040,7 +7384,8 @@ position to clear the flag]]> REG_TIM3_CH1_TH - + `__]]> 0x00d0 0x00 32 @@ -7063,7 +7408,8 @@ position to clear the flag]]> REG_TIM3_CH2_TH - + `__]]> 0x00d4 0x00 32 @@ -7086,7 +7432,8 @@ position to clear the flag]]> REG_TIM3_CH3_TH - + `__]]> 0x00d8 0x00 32 @@ -7109,7 +7456,8 @@ position to clear the flag]]> REG_TIM3_CH0_LUT - + `__]]> 0x00dc 0x00 32 @@ -7132,7 +7480,8 @@ position to clear the flag]]> REG_TIM3_CH1_LUT - + `__]]> 0x00e0 0x00 32 @@ -7155,7 +7504,8 @@ position to clear the flag]]> REG_TIM3_CH2_LUT - + `__]]> 0x00e4 0x00 32 @@ -7178,7 +7528,8 @@ position to clear the flag]]> REG_TIM3_CH3_LUT - + `__]]> 0x00e8 0x00 32 @@ -7201,7 +7552,8 @@ position to clear the flag]]> REG_EVENT_CFG - + `__]]> 0x0100 0x00 32 @@ -7245,7 +7597,8 @@ position to clear the flag]]> REG_CH_EN - + `__]]> 0x0104 0x00 32 @@ -7261,7 +7614,8 @@ position to clear the flag]]> REG_PREFD0 - + `__]]> 0x0140 0x00 32 @@ -7277,7 +7631,8 @@ position to clear the flag]]> REG_PREFD1 - + `__]]> 0x0144 0x00 32 @@ -7293,7 +7648,8 @@ position to clear the flag]]> REG_PREFD2 - + `__]]> 0x0148 0x00 32 @@ -7309,7 +7665,8 @@ position to clear the flag]]> REG_PREFD3 - + `__]]> 0x014c 0x00 32 @@ -7337,7 +7694,8 @@ position to clear the flag]]> SFR_IO - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -7353,7 +7711,8 @@ position to clear the flag]]> SFR_AR - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -7369,7 +7728,8 @@ position to clear the flag]]> CR_OCR - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -7385,7 +7745,8 @@ position to clear the flag]]> CR_RDFFTHRES - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -7401,7 +7762,8 @@ position to clear the flag]]> CR_REV - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -7424,7 +7786,8 @@ position to clear the flag]]> CR_BACSA - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -7440,7 +7803,8 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC0 - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -7456,7 +7820,8 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC1 - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -7472,7 +7837,8 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC2 - + `__ (line numbers are approximate)]]> 0x0028 0x00 32 @@ -7488,7 +7854,8 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC3 - + `__ (line numbers are approximate)]]> 0x002c 0x00 32 @@ -7504,7 +7871,8 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC4 - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -7520,7 +7888,8 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC5 - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -7536,7 +7905,8 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC6 - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -7552,7 +7922,8 @@ position to clear the flag]]> CR_BAIOFN_CFG_BASE_ADDR_IO_FUNC7 - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -7568,7 +7939,8 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR0 - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -7584,7 +7956,8 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR1 - + `__ (line numbers are approximate)]]> 0x0044 0x00 32 @@ -7600,7 +7973,8 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR2 - + `__ (line numbers are approximate)]]> 0x0048 0x00 32 @@ -7616,7 +7990,8 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR3 - + `__ (line numbers are approximate)]]> 0x004c 0x00 32 @@ -7632,7 +8007,8 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR4 - + `__ (line numbers are approximate)]]> 0x0050 0x00 32 @@ -7648,7 +8024,8 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR5 - + `__ (line numbers are approximate)]]> 0x0054 0x00 32 @@ -7664,7 +8041,8 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR6 - + `__ (line numbers are approximate)]]> 0x0058 0x00 32 @@ -7680,7 +8058,8 @@ position to clear the flag]]> CR_FNCISPTR_CFG_REG_FUNC_CIS_PTR7 - + `__ (line numbers are approximate)]]> 0x005c 0x00 32 @@ -7696,7 +8075,8 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE0 - + `__ (line numbers are approximate)]]> 0x0060 0x00 32 @@ -7712,7 +8092,8 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE1 - + `__ (line numbers are approximate)]]> 0x0064 0x00 32 @@ -7728,7 +8109,8 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE2 - + `__ (line numbers are approximate)]]> 0x0068 0x00 32 @@ -7744,7 +8126,8 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE3 - + `__ (line numbers are approximate)]]> 0x006c 0x00 32 @@ -7760,7 +8143,8 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE4 - + `__ (line numbers are approximate)]]> 0x0070 0x00 32 @@ -7776,7 +8160,8 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE5 - + `__ (line numbers are approximate)]]> 0x0074 0x00 32 @@ -7792,7 +8177,8 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE6 - + `__ (line numbers are approximate)]]> 0x0078 0x00 32 @@ -7808,7 +8194,8 @@ position to clear the flag]]> CR_FNEXTSTDCODE_CFG_REG_FUNC_EXT_STD_CODE7 - + `__ (line numbers are approximate)]]> 0x007c 0x00 32 @@ -7824,7 +8211,8 @@ position to clear the flag]]> CR_WRITE_PROTECT - + `__ (line numbers are approximate)]]> 0x0080 0x00 32 @@ -7840,7 +8228,8 @@ position to clear the flag]]> CR_REG_DSR - + `__ (line numbers are approximate)]]> 0x0084 0x00 32 @@ -7856,7 +8245,8 @@ position to clear the flag]]> CR_REG_CID_CFG_REG_CID0 - + `__ (line numbers are approximate)]]> 0x0088 0x00 32 @@ -7872,7 +8262,8 @@ position to clear the flag]]> CR_REG_CID_CFG_REG_CID1 - + `__ (line numbers are approximate)]]> 0x008c 0x00 32 @@ -7888,7 +8279,8 @@ position to clear the flag]]> CR_REG_CID_CFG_REG_CID2 - + `__ (line numbers are approximate)]]> 0x0090 0x00 32 @@ -7904,7 +8296,8 @@ position to clear the flag]]> CR_REG_CID_CFG_REG_CID3 - + `__ (line numbers are approximate)]]> 0x0094 0x00 32 @@ -7920,7 +8313,8 @@ position to clear the flag]]> CR_REG_CSD_CFG_REG_CSD0 - + `__ (line numbers are approximate)]]> 0x0098 0x00 32 @@ -7936,7 +8330,8 @@ position to clear the flag]]> CR_REG_CSD_CFG_REG_CSD1 - + `__ (line numbers are approximate)]]> 0x009c 0x00 32 @@ -7952,7 +8347,8 @@ position to clear the flag]]> CR_REG_CSD_CFG_REG_CSD2 - + `__ (line numbers are approximate)]]> 0x00a0 0x00 32 @@ -7968,7 +8364,8 @@ position to clear the flag]]> CR_REG_CSD_CFG_REG_CSD3 - + `__ (line numbers are approximate)]]> 0x00a4 0x00 32 @@ -7984,7 +8381,8 @@ position to clear the flag]]> CR_REG_SCR_CFG_REG_SCR0 - + `__ (line numbers are approximate)]]> 0x00a8 0x00 32 @@ -8000,7 +8398,8 @@ position to clear the flag]]> CR_REG_SCR_CFG_REG_SCR1 - + `__ (line numbers are approximate)]]> 0x00ac 0x00 32 @@ -8016,7 +8415,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS0 - + `__ (line numbers are approximate)]]> 0x00b0 0x00 32 @@ -8032,7 +8432,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS1 - + `__ (line numbers are approximate)]]> 0x00b4 0x00 32 @@ -8048,7 +8449,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS2 - + `__ (line numbers are approximate)]]> 0x00b8 0x00 32 @@ -8064,7 +8466,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS3 - + `__ (line numbers are approximate)]]> 0x00bc 0x00 32 @@ -8080,7 +8483,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS4 - + `__ (line numbers are approximate)]]> 0x00c0 0x00 32 @@ -8096,7 +8500,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS5 - + `__ (line numbers are approximate)]]> 0x00c4 0x00 32 @@ -8112,7 +8517,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS6 - + `__ (line numbers are approximate)]]> 0x00c8 0x00 32 @@ -8128,7 +8534,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS7 - + `__ (line numbers are approximate)]]> 0x00cc 0x00 32 @@ -8144,7 +8551,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS8 - + `__ (line numbers are approximate)]]> 0x00d0 0x00 32 @@ -8160,7 +8568,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS9 - + `__ (line numbers are approximate)]]> 0x00d4 0x00 32 @@ -8176,7 +8585,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS10 - + `__ (line numbers are approximate)]]> 0x00d8 0x00 32 @@ -8192,7 +8602,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS11 - + `__ (line numbers are approximate)]]> 0x00dc 0x00 32 @@ -8208,7 +8619,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS12 - + `__ (line numbers are approximate)]]> 0x00e0 0x00 32 @@ -8224,7 +8636,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS13 - + `__ (line numbers are approximate)]]> 0x00e4 0x00 32 @@ -8240,7 +8653,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS14 - + `__ (line numbers are approximate)]]> 0x00e8 0x00 32 @@ -8256,7 +8670,8 @@ position to clear the flag]]> CR_REG_SD_STATUS_CFG_REG_SD_STATUS15 - + `__ (line numbers are approximate)]]> 0x00ec 0x00 32 @@ -8272,7 +8687,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC0 - + `__ (line numbers are approximate)]]> 0x0100 0x00 32 @@ -8288,7 +8704,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC1 - + `__ (line numbers are approximate)]]> 0x0104 0x00 32 @@ -8304,7 +8721,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC2 - + `__ (line numbers are approximate)]]> 0x0108 0x00 32 @@ -8320,7 +8738,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC3 - + `__ (line numbers are approximate)]]> 0x010c 0x00 32 @@ -8336,7 +8755,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC4 - + `__ (line numbers are approximate)]]> 0x0110 0x00 32 @@ -8352,7 +8772,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC5 - + `__ (line numbers are approximate)]]> 0x0114 0x00 32 @@ -8368,7 +8789,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC6 - + `__ (line numbers are approximate)]]> 0x0118 0x00 32 @@ -8384,7 +8806,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC7 - + `__ (line numbers are approximate)]]> 0x011c 0x00 32 @@ -8400,7 +8823,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC8 - + `__ (line numbers are approximate)]]> 0x0120 0x00 32 @@ -8416,7 +8840,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC9 - + `__ (line numbers are approximate)]]> 0x0124 0x00 32 @@ -8432,7 +8857,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC10 - + `__ (line numbers are approximate)]]> 0x0128 0x00 32 @@ -8448,7 +8874,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC11 - + `__ (line numbers are approximate)]]> 0x012c 0x00 32 @@ -8464,7 +8891,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC12 - + `__ (line numbers are approximate)]]> 0x0130 0x00 32 @@ -8480,7 +8908,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC13 - + `__ (line numbers are approximate)]]> 0x0134 0x00 32 @@ -8496,7 +8925,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC14 - + `__ (line numbers are approximate)]]> 0x0138 0x00 32 @@ -8512,7 +8942,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC15 - + `__ (line numbers are approximate)]]> 0x013c 0x00 32 @@ -8528,7 +8959,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC16 - + `__ (line numbers are approximate)]]> 0x0140 0x00 32 @@ -8544,7 +8976,8 @@ position to clear the flag]]> CR_BASE_ADDR_MEM_FUNC_CFG_BASE_ADDR_MEM_FUNC17 - + `__ (line numbers are approximate)]]> 0x0144 0x00 32 @@ -8560,7 +8993,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE0 - + `__ (line numbers are approximate)]]> 0x0148 0x00 32 @@ -8576,7 +9010,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE1 - + `__ (line numbers are approximate)]]> 0x014c 0x00 32 @@ -8592,7 +9027,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE2 - + `__ (line numbers are approximate)]]> 0x0150 0x00 32 @@ -8608,7 +9044,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE3 - + `__ (line numbers are approximate)]]> 0x0154 0x00 32 @@ -8624,7 +9061,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE4 - + `__ (line numbers are approximate)]]> 0x0158 0x00 32 @@ -8640,7 +9078,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE5 - + `__ (line numbers are approximate)]]> 0x015c 0x00 32 @@ -8656,7 +9095,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_INTERFACE_CODE_CFG_REG_FUNC_ISDIO_INTERFACE_CODE6 - + `__ (line numbers are approximate)]]> 0x0160 0x00 32 @@ -8672,7 +9112,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE0 - + `__ (line numbers are approximate)]]> 0x0168 0x00 32 @@ -8688,7 +9129,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE1 - + `__ (line numbers are approximate)]]> 0x016c 0x00 32 @@ -8704,7 +9146,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE2 - + `__ (line numbers are approximate)]]> 0x0170 0x00 32 @@ -8720,7 +9163,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE3 - + `__ (line numbers are approximate)]]> 0x0174 0x00 32 @@ -8736,7 +9180,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE4 - + `__ (line numbers are approximate)]]> 0x0178 0x00 32 @@ -8752,7 +9197,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE5 - + `__ (line numbers are approximate)]]> 0x017c 0x00 32 @@ -8768,7 +9214,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_CODE_CFG_REG_FUNC_MANUFACT_CODE6 - + `__ (line numbers are approximate)]]> 0x0180 0x00 32 @@ -8784,7 +9231,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO0 - + `__ (line numbers are approximate)]]> 0x0188 0x00 32 @@ -8800,7 +9248,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO1 - + `__ (line numbers are approximate)]]> 0x018c 0x00 32 @@ -8816,7 +9265,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO2 - + `__ (line numbers are approximate)]]> 0x0190 0x00 32 @@ -8832,7 +9282,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO3 - + `__ (line numbers are approximate)]]> 0x0194 0x00 32 @@ -8848,7 +9299,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO4 - + `__ (line numbers are approximate)]]> 0x0198 0x00 32 @@ -8864,7 +9316,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO5 - + `__ (line numbers are approximate)]]> 0x019c 0x00 32 @@ -8880,7 +9333,8 @@ position to clear the flag]]> CR_REG_FUNC_MANUFACT_INFO_CFG_REG_FUNC_MANUFACT_INFO6 - + `__ (line numbers are approximate)]]> 0x01a0 0x00 32 @@ -8896,7 +9350,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE0 - + `__ (line numbers are approximate)]]> 0x01a8 0x00 32 @@ -8912,7 +9367,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE1 - + `__ (line numbers are approximate)]]> 0x01ac 0x00 32 @@ -8928,7 +9384,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE2 - + `__ (line numbers are approximate)]]> 0x01b0 0x00 32 @@ -8944,7 +9401,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE3 - + `__ (line numbers are approximate)]]> 0x01b4 0x00 32 @@ -8960,7 +9418,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE4 - + `__ (line numbers are approximate)]]> 0x01b8 0x00 32 @@ -8976,7 +9435,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE5 - + `__ (line numbers are approximate)]]> 0x01bc 0x00 32 @@ -8992,7 +9452,8 @@ position to clear the flag]]> CR_REG_FUNC_ISDIO_TYPE_SUP_CODE_CFG_REG_FUNC_ISDIO_TYPE_SUP_CODE6 - + `__ (line numbers are approximate)]]> 0x01c0 0x00 32 @@ -9008,7 +9469,8 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO0 - + `__ (line numbers are approximate)]]> 0x01c8 0x00 32 @@ -9024,7 +9486,8 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO1 - + `__ (line numbers are approximate)]]> 0x01cc 0x00 32 @@ -9040,7 +9503,8 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO2 - + `__ (line numbers are approximate)]]> 0x01d0 0x00 32 @@ -9056,7 +9520,8 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO3 - + `__ (line numbers are approximate)]]> 0x01d4 0x00 32 @@ -9072,7 +9537,8 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO4 - + `__ (line numbers are approximate)]]> 0x01d8 0x00 32 @@ -9088,7 +9554,8 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO5 - + `__ (line numbers are approximate)]]> 0x01dc 0x00 32 @@ -9104,7 +9571,8 @@ position to clear the flag]]> CR_REG_FUNC_INFO_CFG_REG_FUNC_INFO6 - + `__ (line numbers are approximate)]]> 0x01e0 0x00 32 @@ -9120,7 +9588,8 @@ position to clear the flag]]> CR_REG_UHS_1_SUPPORT - + `__ (line numbers are approximate)]]> 0x01f0 0x00 32 @@ -9162,7 +9631,8 @@ position to clear the flag]]> SFR_CACHE - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -9178,7 +9648,8 @@ position to clear the flag]]> SFR_ITCM - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -9194,7 +9665,8 @@ position to clear the flag]]> SFR_DTCM - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -9210,7 +9682,8 @@ position to clear the flag]]> SFR_SRAM0 - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -9226,7 +9699,8 @@ position to clear the flag]]> SFR_SRAM1 - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -9242,7 +9716,8 @@ position to clear the flag]]> SFR_VEXRAM - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -9258,7 +9733,8 @@ position to clear the flag]]> SFR_SRAMERR - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -9275,7 +9751,8 @@ respective bit position to clear the flag]]> SFR_RAMSEC - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -9303,7 +9780,8 @@ respective bit position to clear the flag]]> SFR_EVSEL_CR_EVSEL0 - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -9319,7 +9797,8 @@ respective bit position to clear the flag]]> SFR_EVSEL_CR_EVSEL1 - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -9335,7 +9814,8 @@ respective bit position to clear the flag]]> SFR_EVSEL_CR_EVSEL2 - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -9351,7 +9831,8 @@ respective bit position to clear the flag]]> SFR_EVSEL_CR_EVSEL3 - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -9367,7 +9848,8 @@ respective bit position to clear the flag]]> SFR_EVSEL_CR_EVSEL4 - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -9383,7 +9865,8 @@ respective bit position to clear the flag]]> SFR_EVSEL_CR_EVSEL5 - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -9399,7 +9882,8 @@ respective bit position to clear the flag]]> SFR_EVSEL_CR_EVSEL6 - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -9415,7 +9899,8 @@ respective bit position to clear the flag]]> SFR_EVSEL_CR_EVSEL7 - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -9431,7 +9916,8 @@ respective bit position to clear the flag]]> SFR_CR_CR_MDMAREQ0 - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -9447,7 +9933,8 @@ respective bit position to clear the flag]]> SFR_CR_CR_MDMAREQ1 - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -9463,7 +9950,8 @@ respective bit position to clear the flag]]> SFR_CR_CR_MDMAREQ2 - + `__ (line numbers are approximate)]]> 0x0028 0x00 32 @@ -9479,7 +9967,8 @@ respective bit position to clear the flag]]> SFR_CR_CR_MDMAREQ3 - + `__ (line numbers are approximate)]]> 0x002c 0x00 32 @@ -9495,7 +9984,8 @@ respective bit position to clear the flag]]> SFR_CR_CR_MDMAREQ4 - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -9511,7 +10001,8 @@ respective bit position to clear the flag]]> SFR_CR_CR_MDMAREQ5 - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -9527,7 +10018,8 @@ respective bit position to clear the flag]]> SFR_CR_CR_MDMAREQ6 - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -9543,7 +10035,8 @@ respective bit position to clear the flag]]> SFR_CR_CR_MDMAREQ7 - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -9559,7 +10052,8 @@ respective bit position to clear the flag]]> SFR_SR_SR_MDMAREQ0 - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -9575,7 +10069,8 @@ respective bit position to clear the flag]]> SFR_SR_SR_MDMAREQ1 - + `__ (line numbers are approximate)]]> 0x0044 0x00 32 @@ -9591,7 +10086,8 @@ respective bit position to clear the flag]]> SFR_SR_SR_MDMAREQ2 - + `__ (line numbers are approximate)]]> 0x0048 0x00 32 @@ -9607,7 +10103,8 @@ respective bit position to clear the flag]]> SFR_SR_SR_MDMAREQ3 - + `__ (line numbers are approximate)]]> 0x004c 0x00 32 @@ -9623,7 +10120,8 @@ respective bit position to clear the flag]]> SFR_SR_SR_MDMAREQ4 - + `__ (line numbers are approximate)]]> 0x0050 0x00 32 @@ -9639,7 +10137,8 @@ respective bit position to clear the flag]]> SFR_SR_SR_MDMAREQ5 - + `__ (line numbers are approximate)]]> 0x0054 0x00 32 @@ -9655,7 +10154,8 @@ respective bit position to clear the flag]]> SFR_SR_SR_MDMAREQ6 - + `__ (line numbers are approximate)]]> 0x0058 0x00 32 @@ -9671,7 +10171,8 @@ respective bit position to clear the flag]]> SFR_SR_SR_MDMAREQ7 - + `__ (line numbers are approximate)]]> 0x005c 0x00 32 @@ -9699,7 +10200,8 @@ respective bit position to clear the flag]]> SFR_IO - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -9715,7 +10217,8 @@ respective bit position to clear the flag]]> SFR_AR - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -9731,7 +10234,8 @@ respective bit position to clear the flag]]> SFR_IODRV - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -9747,7 +10251,8 @@ respective bit position to clear the flag]]> CR_XIP_ADDRMODE - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -9763,7 +10268,8 @@ respective bit position to clear the flag]]> CR_XIP_OPCODE - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -9779,7 +10285,8 @@ respective bit position to clear the flag]]> CR_XIP_WIDTH - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -9795,7 +10302,8 @@ respective bit position to clear the flag]]> CR_XIP_SSEL - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -9811,7 +10319,8 @@ respective bit position to clear the flag]]> CR_XIP_DUMCYC - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -9827,7 +10336,8 @@ respective bit position to clear the flag]]> CR_XIP_CFG - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -9843,7 +10353,8 @@ respective bit position to clear the flag]]> CR_AESKEY_AESKEYIN0 - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -9859,7 +10370,8 @@ respective bit position to clear the flag]]> CR_AESKEY_AESKEYIN1 - + `__ (line numbers are approximate)]]> 0x0044 0x00 32 @@ -9875,7 +10387,8 @@ respective bit position to clear the flag]]> CR_AESKEY_AESKEYIN2 - + `__ (line numbers are approximate)]]> 0x0048 0x00 32 @@ -9891,7 +10404,8 @@ respective bit position to clear the flag]]> CR_AESKEY_AESKEYIN3 - + `__ (line numbers are approximate)]]> 0x004c 0x00 32 @@ -9907,7 +10421,8 @@ respective bit position to clear the flag]]> CR_AESENA - + `__ (line numbers are approximate)]]> 0x0050 0x00 32 @@ -9935,7 +10450,8 @@ respective bit position to clear the flag]]> SFR_WDATA - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -9951,7 +10467,8 @@ respective bit position to clear the flag]]> SFR_RDATA - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -9967,7 +10484,8 @@ respective bit position to clear the flag]]> SFR_STATUS - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -10018,7 +10536,8 @@ respective bit position to clear the flag]]> SFR_ABORT - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -10034,7 +10553,8 @@ respective bit position to clear the flag]]> SFR_DONE - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -10062,7 +10582,8 @@ respective bit position to clear the flag]]> SFR_RRCCR - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -10078,7 +10599,8 @@ respective bit position to clear the flag]]> SFR_RRCFD - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -10094,7 +10616,8 @@ respective bit position to clear the flag]]> SFR_RRCSR - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -10110,7 +10633,8 @@ respective bit position to clear the flag]]> SFR_RRCFR - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -10127,7 +10651,8 @@ bit position to clear the flag]]> SFR_RRCSR_SET0 - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -10143,7 +10668,8 @@ bit position to clear the flag]]> SFR_RRCSR_SET1 - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -10159,7 +10685,8 @@ bit position to clear the flag]]> SFR_RRCSR_RST0 - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -10175,7 +10702,8 @@ bit position to clear the flag]]> SFR_RRCSR_RST1 - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -10191,7 +10719,8 @@ bit position to clear the flag]]> SFR_RRCSR_RD0 - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -10207,7 +10736,8 @@ bit position to clear the flag]]> SFR_RRCSR_RD1 - + `__ (line numbers are approximate)]]> 0x0028 0x00 32 @@ -10223,7 +10753,8 @@ bit position to clear the flag]]> SFR_RRCAR - + `__ (line numbers are approximate)]]> 0x00f0 0x00 32 @@ -10251,7 +10782,8 @@ bit position to clear the flag]]> SFR_GCMASK_CR_GCMASK0 - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -10267,7 +10799,8 @@ bit position to clear the flag]]> SFR_GCSR_GLUEREG0 - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -10283,7 +10816,8 @@ bit position to clear the flag]]> SFR_GCRST_GLUERST0 - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -10299,7 +10833,8 @@ bit position to clear the flag]]> SFR_GCTEST_GLUETEST0 - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -10327,7 +10862,8 @@ bit position to clear the flag]]> SFR_MLDRV_CR_MLDRV0 - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -10343,7 +10879,8 @@ bit position to clear the flag]]> SFR_MLDRV_CR_MLDRV1 - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -10359,7 +10896,8 @@ bit position to clear the flag]]> SFR_MLIE_CR_MLIE0 - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -10375,7 +10913,8 @@ bit position to clear the flag]]> SFR_MLIE_CR_MLIE1 - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -10391,7 +10930,8 @@ bit position to clear the flag]]> SFR_MLSR_SR_MLSR0 - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -10407,7 +10947,8 @@ bit position to clear the flag]]> SFR_MLSR_SR_MLSR1 - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -10423,7 +10964,8 @@ bit position to clear the flag]]> SFR_MLSR_SR_MLSR2 - + `__ (line numbers are approximate)]]> 0x0028 0x00 32 @@ -10439,7 +10981,8 @@ bit position to clear the flag]]> SFR_MLSR_SR_MLSR3 - + `__ (line numbers are approximate)]]> 0x002c 0x00 32 @@ -10455,7 +10998,8 @@ bit position to clear the flag]]> SFR_MLSR_SR_MLSR4 - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -10471,7 +11015,8 @@ bit position to clear the flag]]> SFR_MLSR_SR_MLSR5 - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -10487,7 +11032,8 @@ bit position to clear the flag]]> SFR_MLSR_SR_MLSR6 - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -10503,7 +11049,8 @@ bit position to clear the flag]]> SFR_MLSR_SR_MLSR7 - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -10531,7 +11078,8 @@ bit position to clear the flag]]> SFR_VDMASK0 - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -10547,7 +11095,8 @@ bit position to clear the flag]]> SFR_VDMASK1 - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -10563,7 +11112,8 @@ bit position to clear the flag]]> SFR_VDSR - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -10579,7 +11129,8 @@ bit position to clear the flag]]> SFR_VDFR - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -10596,7 +11147,8 @@ position to clear the flag]]> SFR_LDMASK - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -10612,7 +11164,8 @@ position to clear the flag]]> SFR_LDSR - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -10628,7 +11181,8 @@ position to clear the flag]]> SFR_LDCFG - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -10644,7 +11198,8 @@ position to clear the flag]]> SFR_VDCFG_CR_VDCFG0 - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -10660,7 +11215,8 @@ position to clear the flag]]> SFR_VDCFG_CR_VDCFG1 - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -10676,7 +11232,8 @@ position to clear the flag]]> SFR_VDCFG_CR_VDCFG2 - + `__ (line numbers are approximate)]]> 0x0028 0x00 32 @@ -10692,7 +11249,8 @@ position to clear the flag]]> SFR_VDCFG_CR_VDCFG3 - + `__ (line numbers are approximate)]]> 0x002c 0x00 32 @@ -10708,7 +11266,8 @@ position to clear the flag]]> SFR_VDCFG_CR_VDCFG4 - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -10724,7 +11283,8 @@ position to clear the flag]]> SFR_VDCFG_CR_VDCFG5 - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -10740,7 +11300,8 @@ position to clear the flag]]> SFR_VDCFG_CR_VDCFG6 - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -10756,7 +11317,8 @@ position to clear the flag]]> SFR_VDCFG_CR_VDCFG7 - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -10772,7 +11334,8 @@ position to clear the flag]]> SFR_VDIP_ENA - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -10788,7 +11351,8 @@ position to clear the flag]]> SFR_VDIP_TEST - + `__ (line numbers are approximate)]]> 0x0044 0x00 32 @@ -10804,7 +11368,8 @@ position to clear the flag]]> SFR_LDIP_TEST - + `__ (line numbers are approximate)]]> 0x0048 0x00 32 @@ -10820,7 +11385,8 @@ position to clear the flag]]> SFR_LDIP_FD - + `__ (line numbers are approximate)]]> 0x004c 0x00 32 @@ -10848,7 +11414,8 @@ position to clear the flag]]> SFR_BUREG_CR_BUREGS0 - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -10864,7 +11431,8 @@ position to clear the flag]]> SFR_BUREG_CR_BUREGS1 - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -10880,7 +11448,8 @@ position to clear the flag]]> SFR_BUREG_CR_BUREGS2 - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -10896,7 +11465,8 @@ position to clear the flag]]> SFR_BUREG_CR_BUREGS3 - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -10912,7 +11482,8 @@ position to clear the flag]]> SFR_BUREG_CR_BUREGS4 - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -10928,7 +11499,8 @@ position to clear the flag]]> SFR_BUREG_CR_BUREGS5 - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -10944,7 +11516,8 @@ position to clear the flag]]> SFR_BUREG_CR_BUREGS6 - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -10960,7 +11533,8 @@ position to clear the flag]]> SFR_BUREG_CR_BUREGS7 - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -10988,7 +11562,8 @@ position to clear the flag]]> CR_CR - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -11018,7 +11593,8 @@ position to clear the flag]]> CR_CLK1HZFD - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -11034,7 +11610,8 @@ position to clear the flag]]> CR_WKUPMASK - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -11057,7 +11634,8 @@ position to clear the flag]]> CR_RSTCRMASK - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -11073,7 +11651,8 @@ position to clear the flag]]> SFR_PMUCSR - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -11089,7 +11668,8 @@ position to clear the flag]]> SFR_PMUCRLP - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -11105,7 +11685,8 @@ position to clear the flag]]> SFR_PMUCRPD - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -11121,7 +11702,8 @@ position to clear the flag]]> SFR_PMUDFTSR - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -11137,7 +11719,8 @@ position to clear the flag]]> SFR_PMUTRM0CSR - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -11153,7 +11736,8 @@ position to clear the flag]]> SFR_PMUTRM1CSR - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -11169,7 +11753,8 @@ position to clear the flag]]> SFR_PMUTRMLP0 - + `__ (line numbers are approximate)]]> 0x0028 0x00 32 @@ -11185,7 +11770,8 @@ position to clear the flag]]> SFR_PMUTRMLP1 - + `__ (line numbers are approximate)]]> 0x002c 0x00 32 @@ -11201,7 +11787,8 @@ position to clear the flag]]> SFR_OSCCR - + `__ (line numbers are approximate)]]> 0x0034 0x00 32 @@ -11245,7 +11832,8 @@ position to clear the flag]]> SFR_PMUSR - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -11261,7 +11849,8 @@ position to clear the flag]]> SFR_PMUFR - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -11278,7 +11867,8 @@ bit position to clear the flag]]> SFR_AOFR - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -11295,7 +11885,8 @@ bit position to clear the flag]]> SFR_PMUPDAR - + `__ (line numbers are approximate)]]> 0x0044 0x00 32 @@ -11311,7 +11902,8 @@ bit position to clear the flag]]> AR_AOPERI_CLRINT - + `__ (line numbers are approximate)]]> 0x0050 0x00 32 @@ -11327,7 +11919,8 @@ bit position to clear the flag]]> SFR_IOX - + `__ (line numbers are approximate)]]> 0x0060 0x00 32 @@ -11343,7 +11936,8 @@ bit position to clear the flag]]> SFR_AOPADPU - + `__ (line numbers are approximate)]]> 0x0064 0x00 32 @@ -11371,7 +11965,8 @@ bit position to clear the flag]]> SFR_CFG0 - + `__ (line numbers are approximate)]]> 0x0000 0x00 32 @@ -11422,7 +12017,8 @@ bit position to clear the flag]]> SFR_CFG1 - + `__ (line numbers are approximate)]]> 0x0004 0x00 32 @@ -11452,7 +12048,8 @@ bit position to clear the flag]]> SFR_CFG2 - + `__ (line numbers are approximate)]]> 0x0008 0x00 32 @@ -11468,7 +12065,8 @@ bit position to clear the flag]]> SFR_CFG3 - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -11491,7 +12089,8 @@ bit position to clear the flag]]> SFR_SR0 - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -11535,7 +12134,8 @@ bit position to clear the flag]]> SFR_SR1 - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -11551,7 +12151,8 @@ bit position to clear the flag]]> SFR_CFG4 - + `__ (line numbers are approximate)]]> 0x0030 0x00 32 @@ -11579,7 +12180,8 @@ bit position to clear the flag]]> REG_CG - + `__]]> 0x0000 0x00 32 @@ -11595,7 +12197,8 @@ bit position to clear the flag]]> REG_CFG_EVT - + `__]]> 0x0004 0x00 32 @@ -11632,7 +12235,8 @@ bit position to clear the flag]]> REG_RST - + `__]]> 0x0008 0x00 32 @@ -11660,7 +12264,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -11676,7 +12281,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -11692,7 +12298,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -11722,7 +12329,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -11738,7 +12346,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -11754,7 +12363,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -11784,7 +12394,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0020 0x00 32 @@ -11800,7 +12411,8 @@ bit position to clear the flag]]> REG_UART_SETUP - + `__]]> 0x0024 0x00 32 @@ -11865,7 +12477,8 @@ bit position to clear the flag]]> REG_ERROR - + `__]]> 0x0028 0x00 32 @@ -11888,7 +12501,8 @@ bit position to clear the flag]]> REG_IRQ_EN - + `__]]> 0x002c 0x00 32 @@ -11911,7 +12525,8 @@ bit position to clear the flag]]> REG_VALID - + `__]]> 0x0030 0x00 32 @@ -11927,7 +12542,8 @@ bit position to clear the flag]]> REG_DATA - + `__]]> 0x0034 0x00 32 @@ -11955,7 +12571,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -11971,7 +12588,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -11987,7 +12605,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -12017,7 +12636,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -12033,7 +12653,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -12049,7 +12670,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -12079,7 +12701,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0020 0x00 32 @@ -12095,7 +12718,8 @@ bit position to clear the flag]]> REG_UART_SETUP - + `__]]> 0x0024 0x00 32 @@ -12160,7 +12784,8 @@ bit position to clear the flag]]> REG_ERROR - + `__]]> 0x0028 0x00 32 @@ -12183,7 +12808,8 @@ bit position to clear the flag]]> REG_IRQ_EN - + `__]]> 0x002c 0x00 32 @@ -12206,7 +12832,8 @@ bit position to clear the flag]]> REG_VALID - + `__]]> 0x0030 0x00 32 @@ -12222,7 +12849,8 @@ bit position to clear the flag]]> REG_DATA - + `__]]> 0x0034 0x00 32 @@ -12250,7 +12878,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -12266,7 +12895,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -12282,7 +12912,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -12312,7 +12943,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -12328,7 +12960,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -12344,7 +12977,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -12374,7 +13008,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0020 0x00 32 @@ -12390,7 +13025,8 @@ bit position to clear the flag]]> REG_UART_SETUP - + `__]]> 0x0024 0x00 32 @@ -12455,7 +13091,8 @@ bit position to clear the flag]]> REG_ERROR - + `__]]> 0x0028 0x00 32 @@ -12478,7 +13115,8 @@ bit position to clear the flag]]> REG_IRQ_EN - + `__]]> 0x002c 0x00 32 @@ -12501,7 +13139,8 @@ bit position to clear the flag]]> REG_VALID - + `__]]> 0x0030 0x00 32 @@ -12517,7 +13156,8 @@ bit position to clear the flag]]> REG_DATA - + `__]]> 0x0034 0x00 32 @@ -12545,7 +13185,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -12561,7 +13202,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -12577,7 +13219,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -12607,7 +13250,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -12623,7 +13267,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -12639,7 +13284,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -12669,7 +13315,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0020 0x00 32 @@ -12685,7 +13332,8 @@ bit position to clear the flag]]> REG_UART_SETUP - + `__]]> 0x0024 0x00 32 @@ -12750,7 +13398,8 @@ bit position to clear the flag]]> REG_ERROR - + `__]]> 0x0028 0x00 32 @@ -12773,7 +13422,8 @@ bit position to clear the flag]]> REG_IRQ_EN - + `__]]> 0x002c 0x00 32 @@ -12796,7 +13446,8 @@ bit position to clear the flag]]> REG_VALID - + `__]]> 0x0030 0x00 32 @@ -12812,7 +13463,8 @@ bit position to clear the flag]]> REG_DATA - + `__]]> 0x0034 0x00 32 @@ -12840,7 +13492,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -12856,7 +13509,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -12872,7 +13526,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -12916,7 +13571,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -12932,7 +13588,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -12948,7 +13605,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -12985,7 +13643,8 @@ bit position to clear the flag]]> REG_CMD_SADDR - + `__]]> 0x0020 0x00 32 @@ -13001,7 +13660,8 @@ bit position to clear the flag]]> REG_CMD_SIZE - + `__]]> 0x0024 0x00 32 @@ -13017,7 +13677,8 @@ bit position to clear the flag]]> REG_CMD_CFG - + `__]]> 0x0028 0x00 32 @@ -13047,7 +13708,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0030 0x00 32 @@ -13075,7 +13737,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -13091,7 +13754,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -13107,7 +13771,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -13151,7 +13816,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -13167,7 +13833,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -13183,7 +13850,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -13220,7 +13888,8 @@ bit position to clear the flag]]> REG_CMD_SADDR - + `__]]> 0x0020 0x00 32 @@ -13236,7 +13905,8 @@ bit position to clear the flag]]> REG_CMD_SIZE - + `__]]> 0x0024 0x00 32 @@ -13252,7 +13922,8 @@ bit position to clear the flag]]> REG_CMD_CFG - + `__]]> 0x0028 0x00 32 @@ -13282,7 +13953,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0030 0x00 32 @@ -13310,7 +13982,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -13326,7 +13999,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -13342,7 +14016,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -13386,7 +14061,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -13402,7 +14078,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -13418,7 +14095,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -13455,7 +14133,8 @@ bit position to clear the flag]]> REG_CMD_SADDR - + `__]]> 0x0020 0x00 32 @@ -13471,7 +14150,8 @@ bit position to clear the flag]]> REG_CMD_SIZE - + `__]]> 0x0024 0x00 32 @@ -13487,7 +14167,8 @@ bit position to clear the flag]]> REG_CMD_CFG - + `__]]> 0x0028 0x00 32 @@ -13517,7 +14198,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0030 0x00 32 @@ -13545,7 +14227,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -13561,7 +14244,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -13577,7 +14261,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -13621,7 +14306,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -13637,7 +14323,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -13653,7 +14340,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -13690,7 +14378,8 @@ bit position to clear the flag]]> REG_CMD_SADDR - + `__]]> 0x0020 0x00 32 @@ -13706,7 +14395,8 @@ bit position to clear the flag]]> REG_CMD_SIZE - + `__]]> 0x0024 0x00 32 @@ -13722,7 +14412,8 @@ bit position to clear the flag]]> REG_CMD_CFG - + `__]]> 0x0028 0x00 32 @@ -13752,7 +14443,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0030 0x00 32 @@ -13780,7 +14472,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -13796,7 +14489,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -13812,7 +14506,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -13835,7 +14530,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -13851,7 +14547,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -13867,7 +14564,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -13890,7 +14588,8 @@ bit position to clear the flag]]> REG_CMD_SADDR - + `__]]> 0x0020 0x00 32 @@ -13906,7 +14605,8 @@ bit position to clear the flag]]> REG_CMD_SIZE - + `__]]> 0x0024 0x00 32 @@ -13922,7 +14622,8 @@ bit position to clear the flag]]> REG_CMD_CFG - + `__]]> 0x0028 0x00 32 @@ -13945,7 +14646,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0030 0x00 32 @@ -13968,7 +14670,8 @@ bit position to clear the flag]]> REG_ACK - + `__]]> 0x0038 0x00 32 @@ -13996,7 +14699,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -14012,7 +14716,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -14028,7 +14733,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -14051,7 +14757,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -14067,7 +14774,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -14083,7 +14791,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -14106,7 +14815,8 @@ bit position to clear the flag]]> REG_CMD_SADDR - + `__]]> 0x0020 0x00 32 @@ -14122,7 +14832,8 @@ bit position to clear the flag]]> REG_CMD_SIZE - + `__]]> 0x0024 0x00 32 @@ -14138,7 +14849,8 @@ bit position to clear the flag]]> REG_CMD_CFG - + `__]]> 0x0028 0x00 32 @@ -14161,7 +14873,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0030 0x00 32 @@ -14184,7 +14897,8 @@ bit position to clear the flag]]> REG_ACK - + `__]]> 0x0038 0x00 32 @@ -14212,7 +14926,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -14228,7 +14943,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -14244,7 +14960,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -14267,7 +14984,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -14283,7 +15001,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -14299,7 +15018,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -14322,7 +15042,8 @@ bit position to clear the flag]]> REG_CMD_SADDR - + `__]]> 0x0020 0x00 32 @@ -14338,7 +15059,8 @@ bit position to clear the flag]]> REG_CMD_SIZE - + `__]]> 0x0024 0x00 32 @@ -14354,7 +15076,8 @@ bit position to clear the flag]]> REG_CMD_CFG - + `__]]> 0x0028 0x00 32 @@ -14377,7 +15100,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0030 0x00 32 @@ -14400,7 +15124,8 @@ bit position to clear the flag]]> REG_ACK - + `__]]> 0x0038 0x00 32 @@ -14428,7 +15153,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -14444,7 +15170,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -14460,7 +15187,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -14483,7 +15211,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -14499,7 +15228,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -14515,7 +15245,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -14538,7 +15269,8 @@ bit position to clear the flag]]> REG_CMD_SADDR - + `__]]> 0x0020 0x00 32 @@ -14554,7 +15286,8 @@ bit position to clear the flag]]> REG_CMD_SIZE - + `__]]> 0x0024 0x00 32 @@ -14570,7 +15303,8 @@ bit position to clear the flag]]> REG_CMD_CFG - + `__]]> 0x0028 0x00 32 @@ -14593,7 +15327,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0030 0x00 32 @@ -14616,7 +15351,8 @@ bit position to clear the flag]]> REG_ACK - + `__]]> 0x0038 0x00 32 @@ -14644,7 +15380,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -14660,7 +15397,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -14676,7 +15414,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -14706,7 +15445,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -14722,7 +15462,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -14738,7 +15479,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -14768,7 +15510,8 @@ bit position to clear the flag]]> REG_CMD_OP - + `__]]> 0x0020 0x00 32 @@ -14798,7 +15541,8 @@ bit position to clear the flag]]> REG_DATA_SETUP - + `__]]> 0x0028 0x00 32 @@ -14842,7 +15586,8 @@ bit position to clear the flag]]> REG_START - + `__]]> 0x002c 0x00 32 @@ -14858,7 +15603,8 @@ bit position to clear the flag]]> REG_RSP0 - + `__]]> 0x0030 0x00 32 @@ -14874,7 +15620,8 @@ bit position to clear the flag]]> REG_RSP1 - + `__]]> 0x0034 0x00 32 @@ -14890,7 +15637,8 @@ bit position to clear the flag]]> REG_RSP2 - + `__]]> 0x0038 0x00 32 @@ -14906,7 +15654,8 @@ bit position to clear the flag]]> REG_RSP3 - + `__]]> 0x003c 0x00 32 @@ -14922,7 +15671,8 @@ bit position to clear the flag]]> REG_CLK_DIV - + `__]]> 0x0040 0x00 32 @@ -14945,7 +15695,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0044 0x00 32 @@ -14968,7 +15719,8 @@ bit position to clear the flag]]> REG_DATA_TIMEOUT - + `__]]> 0x0048 0x00 32 @@ -14996,7 +15748,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -15012,7 +15765,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -15028,7 +15782,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -15065,7 +15820,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -15081,7 +15837,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -15097,7 +15854,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -15134,7 +15892,8 @@ bit position to clear the flag]]> REG_I2S_CLKCFG_SETUP - + `__]]> 0x0020 0x00 32 @@ -15213,7 +15972,8 @@ bit position to clear the flag]]> REG_I2S_SLV_SETUP - + `__]]> 0x0024 0x00 32 @@ -15257,7 +16017,8 @@ bit position to clear the flag]]> REG_I2S_MST_SETUP - + `__]]> 0x0028 0x00 32 @@ -15301,7 +16062,8 @@ bit position to clear the flag]]> REG_I2S_PDM_SETUP - + `__]]> 0x002c 0x00 32 @@ -15350,7 +16112,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -15366,7 +16129,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -15382,7 +16146,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -15419,7 +16184,8 @@ bit position to clear the flag]]> REG_CAM_CFG_GLOB - + `__]]> 0x0020 0x00 32 @@ -15442,7 +16208,8 @@ bit position to clear the flag]]> REG_CAM_CFG_LL - + `__]]> 0x0024 0x00 32 @@ -15458,7 +16225,8 @@ bit position to clear the flag]]> REG_CAM_CFG_UR - + `__]]> 0x0028 0x00 32 @@ -15474,7 +16242,8 @@ bit position to clear the flag]]> REG_CAM_CFG_SIZE - + `__]]> 0x002c 0x00 32 @@ -15490,7 +16259,8 @@ bit position to clear the flag]]> REG_CAM_CFG_FILTER - + `__]]> 0x0030 0x00 32 @@ -15506,7 +16276,8 @@ bit position to clear the flag]]> REG_CAM_VSYNC_POLARITY - + `__]]> 0x0034 0x00 32 @@ -15541,7 +16312,8 @@ bit position to clear the flag]]> REG_TX_CH0_ADD - + `__]]> 0x0000 0x00 32 @@ -15557,7 +16329,8 @@ bit position to clear the flag]]> REG_TX_CH0_CFG - + `__]]> 0x0004 0x00 32 @@ -15580,7 +16353,8 @@ bit position to clear the flag]]> REG_TX_CH0_LEN0 - + `__]]> 0x0008 0x00 32 @@ -15596,7 +16370,8 @@ bit position to clear the flag]]> REG_TX_CH0_LEN1 - + `__]]> 0x000c 0x00 32 @@ -15612,7 +16387,8 @@ bit position to clear the flag]]> REG_TX_CH0_LEN2 - + `__]]> 0x0010 0x00 32 @@ -15628,7 +16404,8 @@ bit position to clear the flag]]> REG_TX_CH1_ADD - + `__]]> 0x0014 0x00 32 @@ -15644,7 +16421,8 @@ bit position to clear the flag]]> REG_TX_CH1_CFG - + `__]]> 0x0018 0x00 32 @@ -15667,7 +16445,8 @@ bit position to clear the flag]]> REG_TX_CH1_LEN0 - + `__]]> 0x001c 0x00 32 @@ -15683,7 +16462,8 @@ bit position to clear the flag]]> REG_TX_CH1_LEN1 - + `__]]> 0x0020 0x00 32 @@ -15699,7 +16479,8 @@ bit position to clear the flag]]> REG_TX_CH1_LEN2 - + `__]]> 0x0024 0x00 32 @@ -15715,7 +16496,8 @@ bit position to clear the flag]]> REG_RX_CH_ADD - + `__]]> 0x0028 0x00 32 @@ -15731,7 +16513,8 @@ bit position to clear the flag]]> REG_RX_CH_CFG - + `__]]> 0x002c 0x00 32 @@ -15754,7 +16537,8 @@ bit position to clear the flag]]> REG_RX_CH_LEN0 - + `__]]> 0x0030 0x00 32 @@ -15770,7 +16554,8 @@ bit position to clear the flag]]> REG_RX_CH_LEN1 - + `__]]> 0x0034 0x00 32 @@ -15786,7 +16571,8 @@ bit position to clear the flag]]> REG_RX_CH_LEN2 - + `__]]> 0x0038 0x00 32 @@ -15802,7 +16588,8 @@ bit position to clear the flag]]> REG_AU_CFG - + `__]]> 0x003c 0x00 32 @@ -15839,7 +16626,8 @@ bit position to clear the flag]]> REG_AU_REG0 - + `__]]> 0x0040 0x00 32 @@ -15855,7 +16643,8 @@ bit position to clear the flag]]> REG_AU_REG1 - + `__]]> 0x0044 0x00 32 @@ -15871,7 +16660,8 @@ bit position to clear the flag]]> REG_BINCU_TH - + `__]]> 0x0048 0x00 32 @@ -15887,7 +16677,8 @@ bit position to clear the flag]]> REG_BINCU_CNT - + `__]]> 0x004c 0x00 32 @@ -15910,7 +16701,8 @@ bit position to clear the flag]]> REG_BINCU_SETUP - + `__]]> 0x0050 0x00 32 @@ -15926,7 +16718,8 @@ bit position to clear the flag]]> REG_BINCU_VAL - + `__]]> 0x0054 0x00 32 @@ -15942,7 +16735,8 @@ bit position to clear the flag]]> REG_FILT - + `__]]> 0x0058 0x00 32 @@ -15958,7 +16752,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0060 0x00 32 @@ -15986,7 +16781,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -16002,7 +16798,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -16018,7 +16815,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -16048,7 +16846,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -16064,7 +16863,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -16080,7 +16880,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -16110,7 +16911,8 @@ bit position to clear the flag]]> REG_STATUS - + `__]]> 0x0020 0x00 32 @@ -16126,7 +16928,8 @@ bit position to clear the flag]]> REG_SCIF_SETUP - + `__]]> 0x0024 0x00 32 @@ -16198,7 +17001,8 @@ bit position to clear the flag]]> REG_ERROR - + `__]]> 0x0028 0x00 32 @@ -16221,7 +17025,8 @@ bit position to clear the flag]]> REG_IRQ_EN - + `__]]> 0x002c 0x00 32 @@ -16244,7 +17049,8 @@ bit position to clear the flag]]> REG_VALID - + `__]]> 0x0030 0x00 32 @@ -16260,7 +17066,8 @@ bit position to clear the flag]]> REG_DATA - + `__]]> 0x0034 0x00 32 @@ -16276,7 +17083,8 @@ bit position to clear the flag]]> REG_SCIF_ETU - + `__]]> 0x0038 0x00 32 @@ -16304,7 +17112,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -16320,7 +17129,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -16336,7 +17146,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -16366,7 +17177,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -16382,7 +17194,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -16398,7 +17211,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -16428,7 +17242,8 @@ bit position to clear the flag]]> REG_SPIS_SETUP - + `__]]> 0x0020 0x00 32 @@ -16451,7 +17266,8 @@ bit position to clear the flag]]> REG_SEOT_CNT - + `__]]> 0x0024 0x00 32 @@ -16467,7 +17283,8 @@ bit position to clear the flag]]> REG_SPIS_IRQ_EN - + `__]]> 0x0028 0x00 32 @@ -16483,7 +17300,8 @@ bit position to clear the flag]]> REG_SPIS_RXCNT - + `__]]> 0x002c 0x00 32 @@ -16499,7 +17317,8 @@ bit position to clear the flag]]> REG_SPIS_TXCNT - + `__]]> 0x0030 0x00 32 @@ -16515,7 +17334,8 @@ bit position to clear the flag]]> REG_SPIS_DMCNT - + `__]]> 0x0034 0x00 32 @@ -16543,7 +17363,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -16559,7 +17380,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -16575,7 +17397,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -16605,7 +17428,8 @@ bit position to clear the flag]]> REG_TX_SADDR - + `__]]> 0x0010 0x00 32 @@ -16621,7 +17445,8 @@ bit position to clear the flag]]> REG_TX_SIZE - + `__]]> 0x0014 0x00 32 @@ -16637,7 +17462,8 @@ bit position to clear the flag]]> REG_TX_CFG - + `__]]> 0x0018 0x00 32 @@ -16667,7 +17493,8 @@ bit position to clear the flag]]> REG_SPIS_SETUP - + `__]]> 0x0020 0x00 32 @@ -16690,7 +17517,8 @@ bit position to clear the flag]]> REG_SEOT_CNT - + `__]]> 0x0024 0x00 32 @@ -16706,7 +17534,8 @@ bit position to clear the flag]]> REG_SPIS_IRQ_EN - + `__]]> 0x0028 0x00 32 @@ -16722,7 +17551,8 @@ bit position to clear the flag]]> REG_SPIS_RXCNT - + `__]]> 0x002c 0x00 32 @@ -16738,7 +17568,8 @@ bit position to clear the flag]]> REG_SPIS_TXCNT - + `__]]> 0x0030 0x00 32 @@ -16754,7 +17585,8 @@ bit position to clear the flag]]> REG_SPIS_DMCNT - + `__]]> 0x0034 0x00 32 @@ -16782,7 +17614,8 @@ bit position to clear the flag]]> REG_RX_SADDR - + `__]]> 0x0000 0x00 32 @@ -16798,7 +17631,8 @@ bit position to clear the flag]]> REG_RX_SIZE - + `__]]> 0x0004 0x00 32 @@ -16814,7 +17648,8 @@ bit position to clear the flag]]> REG_RX_CFG - + `__]]> 0x0008 0x00 32 @@ -16844,7 +17679,8 @@ bit position to clear the flag]]> REG_CR_ADC - + `__]]> 0x0010 0x00 32 @@ -16872,7 +17708,8 @@ bit position to clear the flag]]> SFR_FLEVEL - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -16909,7 +17746,8 @@ bit position to clear the flag]]> SFR_TXF0 - + `__ (line numbers are approximate)]]> 0x0010 0x00 32 @@ -16925,7 +17763,8 @@ bit position to clear the flag]]> SFR_RXF0 - + `__ (line numbers are approximate)]]> 0x0020 0x00 32 @@ -16941,7 +17780,8 @@ bit position to clear the flag]]> SFR_EVENT_SET - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -16957,7 +17797,8 @@ bit position to clear the flag]]> SFR_EVENT_CLR - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -16973,7 +17814,8 @@ bit position to clear the flag]]> SFR_EVENT_STATUS - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -17001,7 +17843,8 @@ bit position to clear the flag]]> SFR_FLEVEL - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -17038,7 +17881,8 @@ bit position to clear the flag]]> SFR_TXF1 - + `__ (line numbers are approximate)]]> 0x0014 0x00 32 @@ -17054,7 +17898,8 @@ bit position to clear the flag]]> SFR_RXF1 - + `__ (line numbers are approximate)]]> 0x0024 0x00 32 @@ -17070,7 +17915,8 @@ bit position to clear the flag]]> SFR_EVENT_SET - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -17086,7 +17932,8 @@ bit position to clear the flag]]> SFR_EVENT_CLR - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -17102,7 +17949,8 @@ bit position to clear the flag]]> SFR_EVENT_STATUS - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -17130,7 +17978,8 @@ bit position to clear the flag]]> SFR_FLEVEL - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -17167,7 +18016,8 @@ bit position to clear the flag]]> SFR_TXF2 - + `__ (line numbers are approximate)]]> 0x0018 0x00 32 @@ -17183,7 +18033,8 @@ bit position to clear the flag]]> SFR_RXF2 - + `__ (line numbers are approximate)]]> 0x0028 0x00 32 @@ -17199,7 +18050,8 @@ bit position to clear the flag]]> SFR_EVENT_SET - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -17215,7 +18067,8 @@ bit position to clear the flag]]> SFR_EVENT_CLR - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -17231,7 +18084,8 @@ bit position to clear the flag]]> SFR_EVENT_STATUS - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -17259,7 +18113,8 @@ bit position to clear the flag]]> SFR_FLEVEL - + `__ (line numbers are approximate)]]> 0x000c 0x00 32 @@ -17296,7 +18151,8 @@ bit position to clear the flag]]> SFR_TXF3 - + `__ (line numbers are approximate)]]> 0x001c 0x00 32 @@ -17312,7 +18168,8 @@ bit position to clear the flag]]> SFR_RXF3 - + `__ (line numbers are approximate)]]> 0x002c 0x00 32 @@ -17328,7 +18185,8 @@ bit position to clear the flag]]> SFR_EVENT_SET - + `__ (line numbers are approximate)]]> 0x0038 0x00 32 @@ -17344,7 +18202,8 @@ bit position to clear the flag]]> SFR_EVENT_CLR - + `__ (line numbers are approximate)]]> 0x003c 0x00 32 @@ -17360,7 +18219,8 @@ bit position to clear the flag]]> SFR_EVENT_STATUS - + `__ (line numbers are approximate)]]> 0x0040 0x00 32 @@ -17846,11 +18706,6 @@ bit position to clear the flag]]> 0x40050000 0x00010000 - - PIO - 0x50123000 - 0x00001000 - BIO_BDMA 0x50124000 @@ -17864,7 +18719,7 @@ bit position to clear the flag]]> AOPERI 0x40061000 - 0x00003000 + 0x00005000 SEG_LKEY @@ -18066,6 +18921,11 @@ bit position to clear the flag]]> 0x5012C000 0x00001000 + + AORAM + 0x50300000 + 0x00004000 + diff --git a/utralib/src/generated/bao1x.rs b/utralib/src/generated/bao1x.rs index b4ee54a67..c54ed88af 100644 --- a/utralib/src/generated/bao1x.rs +++ b/utralib/src/generated/bao1x.rs @@ -258,14 +258,12 @@ pub const HW_RRC_MEM: usize = 0x40000000; pub const HW_RRC_MEM_LEN: usize = 65536; pub const HW_SECSUB_MEM: usize = 0x40050000; pub const HW_SECSUB_MEM_LEN: usize = 65536; -pub const HW_PIO_MEM: usize = 0x50123000; -pub const HW_PIO_MEM_LEN: usize = 4096; pub const HW_BIO_BDMA_MEM: usize = 0x50124000; pub const HW_BIO_BDMA_MEM_LEN: usize = 4096; pub const HW_AO_MEM: usize = 0x40060000; pub const HW_AO_MEM_LEN: usize = 65536; pub const HW_AOPERI_MEM: usize = 0x40061000; -pub const HW_AOPERI_MEM_LEN: usize = 12288; +pub const HW_AOPERI_MEM_LEN: usize = 20480; pub const HW_SEG_LKEY_MEM: usize = 0x40020000; pub const HW_SEG_LKEY_MEM_LEN: usize = 256; pub const HW_SEG_KEY_MEM: usize = 0x40020100; @@ -346,6 +344,8 @@ pub const HW_BIO_FIFO2_MEM: usize = 0x5012b000; pub const HW_BIO_FIFO2_MEM_LEN: usize = 4096; pub const HW_BIO_FIFO3_MEM: usize = 0x5012c000; pub const HW_BIO_FIFO3_MEM_LEN: usize = 4096; +pub const HW_AORAM_MEM: usize = 0x50300000; +pub const HW_AORAM_MEM_LEN: usize = 16384; // Physical base addresses of registers pub const HW_D11CTIME_BASE : usize = 0xe0000000;