mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
commit latest renode.rs version
This commit is contained in:
parent
303f595d6f
commit
dc58abfa04
1 changed files with 0 additions and 456 deletions
|
|
@ -326,13 +326,6 @@ pub const HW_IDENTIFIER_MEM_BASE : usize = 0xf0026000;
|
||||||
pub mod utra {
|
pub mod utra {
|
||||||
|
|
||||||
pub mod reboot {
|
pub mod reboot {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum RebootOffset {
|
|
||||||
SocReset = 0,
|
|
||||||
Addr = 4,
|
|
||||||
CpuReset = 8,
|
|
||||||
}
|
|
||||||
pub const REBOOT_NUMREGS: usize = 3;
|
pub const REBOOT_NUMREGS: usize = 3;
|
||||||
|
|
||||||
pub const SOC_RESET: crate::Register = crate::Register::new(0, 0xff);
|
pub const SOC_RESET: crate::Register = crate::Register::new(0, 0xff);
|
||||||
|
|
@ -348,16 +341,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod timer0 {
|
pub mod timer0 {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum Timer0Offset {
|
|
||||||
Load = 0,
|
|
||||||
Reload = 4,
|
|
||||||
En = 8,
|
|
||||||
EvStatus = 12,
|
|
||||||
EvPending = 16,
|
|
||||||
EvEnable = 20,
|
|
||||||
}
|
|
||||||
pub const TIMER0_NUMREGS: usize = 6;
|
pub const TIMER0_NUMREGS: usize = 6;
|
||||||
|
|
||||||
pub const LOAD: crate::Register = crate::Register::new(0, 0xffffffff);
|
pub const LOAD: crate::Register = crate::Register::new(0, 0xffffffff);
|
||||||
|
|
@ -383,18 +366,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod crg {
|
pub mod crg {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum CrgOffset {
|
|
||||||
MmcmDrpReset = 0,
|
|
||||||
MmcmDrpLocked = 4,
|
|
||||||
MmcmDrpRead = 8,
|
|
||||||
MmcmDrpWrite = 12,
|
|
||||||
MmcmDrpDrdy = 16,
|
|
||||||
MmcmDrpAdr = 20,
|
|
||||||
MmcmDrpDatW = 24,
|
|
||||||
MmcmDrpDatR = 28,
|
|
||||||
}
|
|
||||||
pub const CRG_NUMREGS: usize = 8;
|
pub const CRG_NUMREGS: usize = 8;
|
||||||
|
|
||||||
pub const MMCM_DRP_RESET: crate::Register = crate::Register::new(0, 0x1);
|
pub const MMCM_DRP_RESET: crate::Register = crate::Register::new(0, 0x1);
|
||||||
|
|
@ -425,20 +396,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod gpio {
|
pub mod gpio {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum GpioOffset {
|
|
||||||
Output = 0,
|
|
||||||
Input = 4,
|
|
||||||
Drive = 8,
|
|
||||||
Intena = 12,
|
|
||||||
Intpol = 16,
|
|
||||||
Uartsel = 20,
|
|
||||||
Debug = 24,
|
|
||||||
EvStatus = 28,
|
|
||||||
EvPending = 32,
|
|
||||||
EvEnable = 36,
|
|
||||||
}
|
|
||||||
pub const GPIO_NUMREGS: usize = 10;
|
pub const GPIO_NUMREGS: usize = 10;
|
||||||
|
|
||||||
pub const OUTPUT: crate::Register = crate::Register::new(0, 0xff);
|
pub const OUTPUT: crate::Register = crate::Register::new(0, 0xff);
|
||||||
|
|
@ -498,18 +455,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod uart {
|
pub mod uart {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum UartOffset {
|
|
||||||
Rxtx = 0,
|
|
||||||
Txfull = 4,
|
|
||||||
Rxempty = 8,
|
|
||||||
EvStatus = 12,
|
|
||||||
EvPending = 16,
|
|
||||||
EvEnable = 20,
|
|
||||||
Txempty = 24,
|
|
||||||
Rxfull = 28,
|
|
||||||
}
|
|
||||||
pub const UART_NUMREGS: usize = 8;
|
pub const UART_NUMREGS: usize = 8;
|
||||||
|
|
||||||
pub const RXTX: crate::Register = crate::Register::new(0, 0xff);
|
pub const RXTX: crate::Register = crate::Register::new(0, 0xff);
|
||||||
|
|
@ -544,18 +489,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod console {
|
pub mod console {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum ConsoleOffset {
|
|
||||||
Rxtx = 0,
|
|
||||||
Txfull = 4,
|
|
||||||
Rxempty = 8,
|
|
||||||
EvStatus = 12,
|
|
||||||
EvPending = 16,
|
|
||||||
EvEnable = 20,
|
|
||||||
Txempty = 24,
|
|
||||||
Rxfull = 28,
|
|
||||||
}
|
|
||||||
pub const CONSOLE_NUMREGS: usize = 8;
|
pub const CONSOLE_NUMREGS: usize = 8;
|
||||||
|
|
||||||
pub const RXTX: crate::Register = crate::Register::new(0, 0xff);
|
pub const RXTX: crate::Register = crate::Register::new(0, 0xff);
|
||||||
|
|
@ -590,18 +523,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod app_uart {
|
pub mod app_uart {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum AppUartOffset {
|
|
||||||
Rxtx = 0,
|
|
||||||
Txfull = 4,
|
|
||||||
Rxempty = 8,
|
|
||||||
EvStatus = 12,
|
|
||||||
EvPending = 16,
|
|
||||||
EvEnable = 20,
|
|
||||||
Txempty = 24,
|
|
||||||
Rxfull = 28,
|
|
||||||
}
|
|
||||||
pub const APP_UART_NUMREGS: usize = 8;
|
pub const APP_UART_NUMREGS: usize = 8;
|
||||||
|
|
||||||
pub const RXTX: crate::Register = crate::Register::new(0, 0xff);
|
pub const RXTX: crate::Register = crate::Register::new(0, 0xff);
|
||||||
|
|
@ -636,22 +557,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod info {
|
pub mod info {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum InfoOffset {
|
|
||||||
DnaId1 = 0,
|
|
||||||
DnaId0 = 4,
|
|
||||||
GitMajor = 8,
|
|
||||||
GitMinor = 12,
|
|
||||||
GitRevision = 16,
|
|
||||||
GitGitrev = 20,
|
|
||||||
GitGitextra = 24,
|
|
||||||
GitDirty = 28,
|
|
||||||
PlatformPlatform1 = 32,
|
|
||||||
PlatformPlatform0 = 36,
|
|
||||||
PlatformTarget1 = 40,
|
|
||||||
PlatformTarget0 = 44,
|
|
||||||
}
|
|
||||||
pub const INFO_NUMREGS: usize = 12;
|
pub const INFO_NUMREGS: usize = 12;
|
||||||
|
|
||||||
pub const DNA_ID1: crate::Register = crate::Register::new(0, 0xffffffff);
|
pub const DNA_ID1: crate::Register = crate::Register::new(0, 0xffffffff);
|
||||||
|
|
@ -694,12 +599,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod sram_ext {
|
pub mod sram_ext {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum SramExtOffset {
|
|
||||||
ConfigStatus = 0,
|
|
||||||
ReadConfig = 4,
|
|
||||||
}
|
|
||||||
pub const SRAM_EXT_NUMREGS: usize = 2;
|
pub const SRAM_EXT_NUMREGS: usize = 2;
|
||||||
|
|
||||||
pub const CONFIG_STATUS: crate::Register = crate::Register::new(0, 0xffffffff);
|
pub const CONFIG_STATUS: crate::Register = crate::Register::new(0, 0xffffffff);
|
||||||
|
|
@ -712,18 +611,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod memlcd {
|
pub mod memlcd {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum MemlcdOffset {
|
|
||||||
Command = 0,
|
|
||||||
Busy = 4,
|
|
||||||
Prescaler = 8,
|
|
||||||
EvStatus = 12,
|
|
||||||
EvPending = 16,
|
|
||||||
EvEnable = 20,
|
|
||||||
Devboot = 24,
|
|
||||||
Devstatus = 28,
|
|
||||||
}
|
|
||||||
pub const MEMLCD_NUMREGS: usize = 8;
|
pub const MEMLCD_NUMREGS: usize = 8;
|
||||||
|
|
||||||
pub const COMMAND: crate::Register = crate::Register::new(0, 0x3);
|
pub const COMMAND: crate::Register = crate::Register::new(0, 0x3);
|
||||||
|
|
@ -755,17 +642,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod com {
|
pub mod com {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum ComOffset {
|
|
||||||
Tx = 0,
|
|
||||||
Rx = 4,
|
|
||||||
Control = 8,
|
|
||||||
Status = 12,
|
|
||||||
EvStatus = 16,
|
|
||||||
EvPending = 20,
|
|
||||||
EvEnable = 24,
|
|
||||||
}
|
|
||||||
pub const COM_NUMREGS: usize = 7;
|
pub const COM_NUMREGS: usize = 7;
|
||||||
|
|
||||||
pub const TX: crate::Register = crate::Register::new(0, 0xffff);
|
pub const TX: crate::Register = crate::Register::new(0, 0xffff);
|
||||||
|
|
@ -799,20 +675,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod i2c {
|
pub mod i2c {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum I2COffset {
|
|
||||||
Prescale = 0,
|
|
||||||
Control = 4,
|
|
||||||
Txr = 8,
|
|
||||||
Rxr = 12,
|
|
||||||
Command = 16,
|
|
||||||
Status = 20,
|
|
||||||
CoreReset = 24,
|
|
||||||
EvStatus = 28,
|
|
||||||
EvPending = 32,
|
|
||||||
EvEnable = 36,
|
|
||||||
}
|
|
||||||
pub const I2C_NUMREGS: usize = 10;
|
pub const I2C_NUMREGS: usize = 10;
|
||||||
|
|
||||||
pub const PRESCALE: crate::Register = crate::Register::new(0, 0xffff);
|
pub const PRESCALE: crate::Register = crate::Register::new(0, 0xffff);
|
||||||
|
|
@ -866,13 +728,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod btevents {
|
pub mod btevents {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum BteventsOffset {
|
|
||||||
EvStatus = 0,
|
|
||||||
EvPending = 4,
|
|
||||||
EvEnable = 8,
|
|
||||||
}
|
|
||||||
pub const BTEVENTS_NUMREGS: usize = 3;
|
pub const BTEVENTS_NUMREGS: usize = 3;
|
||||||
|
|
||||||
pub const EV_STATUS: crate::Register = crate::Register::new(0, 0x3);
|
pub const EV_STATUS: crate::Register = crate::Register::new(0, 0x3);
|
||||||
|
|
@ -892,13 +747,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod messible {
|
pub mod messible {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum MessibleOffset {
|
|
||||||
In = 0,
|
|
||||||
Out = 4,
|
|
||||||
Status = 8,
|
|
||||||
}
|
|
||||||
pub const MESSIBLE_NUMREGS: usize = 3;
|
pub const MESSIBLE_NUMREGS: usize = 3;
|
||||||
|
|
||||||
pub const IN: crate::Register = crate::Register::new(0, 0xff);
|
pub const IN: crate::Register = crate::Register::new(0, 0xff);
|
||||||
|
|
@ -915,13 +763,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod messible2 {
|
pub mod messible2 {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum Messible2Offset {
|
|
||||||
In = 0,
|
|
||||||
Out = 4,
|
|
||||||
Status = 8,
|
|
||||||
}
|
|
||||||
pub const MESSIBLE2_NUMREGS: usize = 3;
|
pub const MESSIBLE2_NUMREGS: usize = 3;
|
||||||
|
|
||||||
pub const IN: crate::Register = crate::Register::new(0, 0xff);
|
pub const IN: crate::Register = crate::Register::new(0, 0xff);
|
||||||
|
|
@ -938,18 +779,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod ticktimer {
|
pub mod ticktimer {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum TicktimerOffset {
|
|
||||||
Control = 0,
|
|
||||||
Time1 = 4,
|
|
||||||
Time0 = 8,
|
|
||||||
MsleepTarget1 = 12,
|
|
||||||
MsleepTarget0 = 16,
|
|
||||||
EvStatus = 20,
|
|
||||||
EvPending = 24,
|
|
||||||
EvEnable = 28,
|
|
||||||
}
|
|
||||||
pub const TICKTIMER_NUMREGS: usize = 8;
|
pub const TICKTIMER_NUMREGS: usize = 8;
|
||||||
|
|
||||||
pub const CONTROL: crate::Register = crate::Register::new(0, 0x1);
|
pub const CONTROL: crate::Register = crate::Register::new(0, 0x1);
|
||||||
|
|
@ -981,23 +810,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod susres {
|
pub mod susres {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum SusresOffset {
|
|
||||||
Control = 0,
|
|
||||||
ResumeTime1 = 4,
|
|
||||||
ResumeTime0 = 8,
|
|
||||||
Time1 = 12,
|
|
||||||
Time0 = 16,
|
|
||||||
Status = 20,
|
|
||||||
State = 24,
|
|
||||||
Powerdown = 28,
|
|
||||||
Wfi = 32,
|
|
||||||
Interrupt = 36,
|
|
||||||
EvStatus = 40,
|
|
||||||
EvPending = 44,
|
|
||||||
EvEnable = 48,
|
|
||||||
}
|
|
||||||
pub const SUSRES_NUMREGS: usize = 13;
|
pub const SUSRES_NUMREGS: usize = 13;
|
||||||
|
|
||||||
pub const CONTROL: crate::Register = crate::Register::new(0, 0x3);
|
pub const CONTROL: crate::Register = crate::Register::new(0, 0x3);
|
||||||
|
|
@ -1046,19 +858,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod power {
|
pub mod power {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum PowerOffset {
|
|
||||||
Power = 0,
|
|
||||||
ClkStatus = 4,
|
|
||||||
WakeupSource = 8,
|
|
||||||
ActivityRate = 12,
|
|
||||||
SamplingPeriod = 16,
|
|
||||||
Vibe = 20,
|
|
||||||
EvStatus = 24,
|
|
||||||
EvPending = 28,
|
|
||||||
EvEnable = 32,
|
|
||||||
}
|
|
||||||
pub const POWER_NUMREGS: usize = 9;
|
pub const POWER_NUMREGS: usize = 9;
|
||||||
|
|
||||||
pub const POWER: crate::Register = crate::Register::new(0, 0xfff);
|
pub const POWER: crate::Register = crate::Register::new(0, 0xfff);
|
||||||
|
|
@ -1117,14 +916,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod spinor_soft_int {
|
pub mod spinor_soft_int {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum SpinorSoftIntOffset {
|
|
||||||
EvStatus = 0,
|
|
||||||
EvPending = 4,
|
|
||||||
EvEnable = 8,
|
|
||||||
Softint = 12,
|
|
||||||
}
|
|
||||||
pub const SPINOR_SOFT_INT_NUMREGS: usize = 4;
|
pub const SPINOR_SOFT_INT_NUMREGS: usize = 4;
|
||||||
|
|
||||||
pub const EV_STATUS: crate::Register = crate::Register::new(0, 0x1);
|
pub const EV_STATUS: crate::Register = crate::Register::new(0, 0x1);
|
||||||
|
|
@ -1144,23 +935,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod spinor {
|
pub mod spinor {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum SpinorOffset {
|
|
||||||
Config = 0,
|
|
||||||
DelayConfig = 4,
|
|
||||||
DelayStatus = 8,
|
|
||||||
Command = 12,
|
|
||||||
CmdArg = 16,
|
|
||||||
CmdRbkData = 20,
|
|
||||||
Status = 24,
|
|
||||||
Wdata = 28,
|
|
||||||
EvStatus = 32,
|
|
||||||
EvPending = 36,
|
|
||||||
EvEnable = 40,
|
|
||||||
EccAddress = 44,
|
|
||||||
EccStatus = 48,
|
|
||||||
}
|
|
||||||
pub const SPINOR_NUMREGS: usize = 13;
|
pub const SPINOR_NUMREGS: usize = 13;
|
||||||
|
|
||||||
pub const CONFIG: crate::Register = crate::Register::new(0, 0x1f);
|
pub const CONFIG: crate::Register = crate::Register::new(0, 0x1f);
|
||||||
|
|
@ -1215,23 +989,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod keyboard {
|
pub mod keyboard {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum KeyboardOffset {
|
|
||||||
UartChar = 0,
|
|
||||||
Row0Dat = 4,
|
|
||||||
Row1Dat = 8,
|
|
||||||
Row2Dat = 12,
|
|
||||||
Row3Dat = 16,
|
|
||||||
Row4Dat = 20,
|
|
||||||
Row5Dat = 24,
|
|
||||||
Row6Dat = 28,
|
|
||||||
Row7Dat = 32,
|
|
||||||
Row8Dat = 36,
|
|
||||||
EvStatus = 40,
|
|
||||||
EvPending = 44,
|
|
||||||
EvEnable = 48,
|
|
||||||
}
|
|
||||||
pub const KEYBOARD_NUMREGS: usize = 13;
|
pub const KEYBOARD_NUMREGS: usize = 13;
|
||||||
|
|
||||||
pub const UART_CHAR: crate::Register = crate::Register::new(0, 0x1ff);
|
pub const UART_CHAR: crate::Register = crate::Register::new(0, 0x1ff);
|
||||||
|
|
@ -1282,12 +1039,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod keyinject {
|
pub mod keyinject {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum KeyinjectOffset {
|
|
||||||
UartChar = 0,
|
|
||||||
Disable = 4,
|
|
||||||
}
|
|
||||||
pub const KEYINJECT_NUMREGS: usize = 2;
|
pub const KEYINJECT_NUMREGS: usize = 2;
|
||||||
|
|
||||||
pub const UART_CHAR: crate::Register = crate::Register::new(0, 0xff);
|
pub const UART_CHAR: crate::Register = crate::Register::new(0, 0xff);
|
||||||
|
|
@ -1300,12 +1051,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod seed {
|
pub mod seed {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum SeedOffset {
|
|
||||||
Seed1 = 0,
|
|
||||||
Seed0 = 4,
|
|
||||||
}
|
|
||||||
pub const SEED_NUMREGS: usize = 2;
|
pub const SEED_NUMREGS: usize = 2;
|
||||||
|
|
||||||
pub const SEED1: crate::Register = crate::Register::new(0, 0xffffffff);
|
pub const SEED1: crate::Register = crate::Register::new(0, 0xffffffff);
|
||||||
|
|
@ -1318,14 +1063,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod keyrom {
|
pub mod keyrom {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum KeyromOffset {
|
|
||||||
Address = 0,
|
|
||||||
Data = 4,
|
|
||||||
Lockaddr = 8,
|
|
||||||
Lockstat = 12,
|
|
||||||
}
|
|
||||||
pub const KEYROM_NUMREGS: usize = 4;
|
pub const KEYROM_NUMREGS: usize = 4;
|
||||||
|
|
||||||
pub const ADDRESS: crate::Register = crate::Register::new(0, 0xff);
|
pub const ADDRESS: crate::Register = crate::Register::new(0, 0xff);
|
||||||
|
|
@ -1344,19 +1081,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod audio {
|
pub mod audio {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum AudioOffset {
|
|
||||||
EvStatus = 0,
|
|
||||||
EvPending = 4,
|
|
||||||
EvEnable = 8,
|
|
||||||
RxCtl = 12,
|
|
||||||
RxStat = 16,
|
|
||||||
RxConf = 20,
|
|
||||||
TxCtl = 24,
|
|
||||||
TxStat = 28,
|
|
||||||
TxConf = 32,
|
|
||||||
}
|
|
||||||
pub const AUDIO_NUMREGS: usize = 9;
|
pub const AUDIO_NUMREGS: usize = 9;
|
||||||
|
|
||||||
pub const EV_STATUS: crate::Register = crate::Register::new(0, 0xf);
|
pub const EV_STATUS: crate::Register = crate::Register::new(0, 0xf);
|
||||||
|
|
@ -1421,17 +1145,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod trng_kernel {
|
pub mod trng_kernel {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum TrngKernelOffset {
|
|
||||||
Status = 0,
|
|
||||||
Data = 4,
|
|
||||||
Urandom = 8,
|
|
||||||
UrandomValid = 12,
|
|
||||||
EvStatus = 16,
|
|
||||||
EvPending = 20,
|
|
||||||
EvEnable = 24,
|
|
||||||
}
|
|
||||||
pub const TRNG_KERNEL_NUMREGS: usize = 7;
|
pub const TRNG_KERNEL_NUMREGS: usize = 7;
|
||||||
|
|
||||||
pub const STATUS: crate::Register = crate::Register::new(0, 0x3fffff);
|
pub const STATUS: crate::Register = crate::Register::new(0, 0x3fffff);
|
||||||
|
|
@ -1466,68 +1179,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod trng_server {
|
pub mod trng_server {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum TrngServerOffset {
|
|
||||||
Control = 0,
|
|
||||||
Data = 4,
|
|
||||||
Status = 8,
|
|
||||||
AvConfig = 12,
|
|
||||||
RoConfig = 16,
|
|
||||||
AvNist = 20,
|
|
||||||
RoNist = 24,
|
|
||||||
Underruns = 28,
|
|
||||||
NistErrors = 32,
|
|
||||||
NistRoStat0 = 36,
|
|
||||||
NistRoStat1 = 40,
|
|
||||||
NistRoStat2 = 44,
|
|
||||||
NistRoStat3 = 48,
|
|
||||||
NistAvStat0 = 52,
|
|
||||||
NistAvStat1 = 56,
|
|
||||||
RoRunslimit1 = 60,
|
|
||||||
RoRunslimit2 = 64,
|
|
||||||
RoRunslimit3 = 68,
|
|
||||||
RoRunslimit4 = 72,
|
|
||||||
RoRun0Ctrl = 76,
|
|
||||||
RoRun0Fresh = 80,
|
|
||||||
RoRun0Count1 = 84,
|
|
||||||
RoRun0Count2 = 88,
|
|
||||||
RoRun0Count3 = 92,
|
|
||||||
RoRun0Count4 = 96,
|
|
||||||
RoRun1Ctrl = 100,
|
|
||||||
RoRun1Fresh = 104,
|
|
||||||
RoRun1Count1 = 108,
|
|
||||||
RoRun1Count2 = 112,
|
|
||||||
RoRun1Count3 = 116,
|
|
||||||
RoRun1Count4 = 120,
|
|
||||||
RoRun2Ctrl = 124,
|
|
||||||
RoRun2Fresh = 128,
|
|
||||||
RoRun2Count1 = 132,
|
|
||||||
RoRun2Count2 = 136,
|
|
||||||
RoRun2Count3 = 140,
|
|
||||||
RoRun2Count4 = 144,
|
|
||||||
RoRun3Ctrl = 148,
|
|
||||||
RoRun3Fresh = 152,
|
|
||||||
RoRun3Count1 = 156,
|
|
||||||
RoRun3Count2 = 160,
|
|
||||||
RoRun3Count3 = 164,
|
|
||||||
RoRun3Count4 = 168,
|
|
||||||
AvExcursion0Ctrl = 172,
|
|
||||||
AvExcursion0Stat = 176,
|
|
||||||
AvExcursion0LastErr = 180,
|
|
||||||
AvExcursion1Ctrl = 184,
|
|
||||||
AvExcursion1Stat = 188,
|
|
||||||
AvExcursion1LastErr = 192,
|
|
||||||
Ready = 196,
|
|
||||||
EvStatus = 200,
|
|
||||||
EvPending = 204,
|
|
||||||
EvEnable = 208,
|
|
||||||
Chacha = 212,
|
|
||||||
Seed = 216,
|
|
||||||
Urandom = 220,
|
|
||||||
UrandomValid = 224,
|
|
||||||
Test = 228,
|
|
||||||
}
|
|
||||||
pub const TRNG_SERVER_NUMREGS: usize = 58;
|
pub const TRNG_SERVER_NUMREGS: usize = 58;
|
||||||
|
|
||||||
pub const CONTROL: crate::Register = crate::Register::new(0, 0x1f);
|
pub const CONTROL: crate::Register = crate::Register::new(0, 0x1f);
|
||||||
|
|
@ -1771,30 +1422,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod trng {
|
pub mod trng {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum TrngOffset {
|
|
||||||
XadcTemperature = 0,
|
|
||||||
XadcVccint = 4,
|
|
||||||
XadcVccaux = 8,
|
|
||||||
XadcVccbram = 12,
|
|
||||||
XadcVbus = 16,
|
|
||||||
XadcUsbP = 20,
|
|
||||||
XadcUsbN = 24,
|
|
||||||
XadcNoise0 = 28,
|
|
||||||
XadcNoise1 = 32,
|
|
||||||
XadcEoc = 36,
|
|
||||||
XadcEos = 40,
|
|
||||||
XadcGpio5 = 44,
|
|
||||||
XadcGpio2 = 48,
|
|
||||||
XadcDrpEnable = 52,
|
|
||||||
XadcDrpRead = 56,
|
|
||||||
XadcDrpWrite = 60,
|
|
||||||
XadcDrpDrdy = 64,
|
|
||||||
XadcDrpAdr = 68,
|
|
||||||
XadcDrpDatW = 72,
|
|
||||||
XadcDrpDatR = 76,
|
|
||||||
}
|
|
||||||
pub const TRNG_NUMREGS: usize = 20;
|
pub const TRNG_NUMREGS: usize = 20;
|
||||||
|
|
||||||
pub const XADC_TEMPERATURE: crate::Register = crate::Register::new(0, 0xfff);
|
pub const XADC_TEMPERATURE: crate::Register = crate::Register::new(0, 0xfff);
|
||||||
|
|
@ -1861,35 +1488,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod sha512 {
|
pub mod sha512 {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum Sha512Offset {
|
|
||||||
Power = 0,
|
|
||||||
Config = 4,
|
|
||||||
Command = 8,
|
|
||||||
Digest01 = 12,
|
|
||||||
Digest00 = 16,
|
|
||||||
Digest11 = 20,
|
|
||||||
Digest10 = 24,
|
|
||||||
Digest21 = 28,
|
|
||||||
Digest20 = 32,
|
|
||||||
Digest31 = 36,
|
|
||||||
Digest30 = 40,
|
|
||||||
Digest41 = 44,
|
|
||||||
Digest40 = 48,
|
|
||||||
Digest51 = 52,
|
|
||||||
Digest50 = 56,
|
|
||||||
Digest61 = 60,
|
|
||||||
Digest60 = 64,
|
|
||||||
Digest71 = 68,
|
|
||||||
Digest70 = 72,
|
|
||||||
MsgLength1 = 76,
|
|
||||||
MsgLength0 = 80,
|
|
||||||
EvStatus = 84,
|
|
||||||
EvPending = 88,
|
|
||||||
EvEnable = 92,
|
|
||||||
Fifo = 96,
|
|
||||||
}
|
|
||||||
pub const SHA512_NUMREGS: usize = 25;
|
pub const SHA512_NUMREGS: usize = 25;
|
||||||
|
|
||||||
pub const POWER: crate::Register = crate::Register::new(0, 0x1);
|
pub const POWER: crate::Register = crate::Register::new(0, 0x1);
|
||||||
|
|
@ -1990,21 +1588,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod engine {
|
pub mod engine {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum EngineOffset {
|
|
||||||
Window = 0,
|
|
||||||
Mpstart = 4,
|
|
||||||
Mplen = 8,
|
|
||||||
Control = 12,
|
|
||||||
Mpresume = 16,
|
|
||||||
Power = 20,
|
|
||||||
Status = 24,
|
|
||||||
EvStatus = 28,
|
|
||||||
EvPending = 32,
|
|
||||||
EvEnable = 36,
|
|
||||||
Instruction = 40,
|
|
||||||
}
|
|
||||||
pub const ENGINE_NUMREGS: usize = 11;
|
pub const ENGINE_NUMREGS: usize = 11;
|
||||||
|
|
||||||
pub const WINDOW: crate::Register = crate::Register::new(0, 0xf);
|
pub const WINDOW: crate::Register = crate::Register::new(0, 0xf);
|
||||||
|
|
@ -2057,12 +1640,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod jtag {
|
pub mod jtag {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum JtagOffset {
|
|
||||||
Next = 0,
|
|
||||||
Tdo = 4,
|
|
||||||
}
|
|
||||||
pub const JTAG_NUMREGS: usize = 2;
|
pub const JTAG_NUMREGS: usize = 2;
|
||||||
|
|
||||||
pub const NEXT: crate::Register = crate::Register::new(0, 0x3);
|
pub const NEXT: crate::Register = crate::Register::new(0, 0x3);
|
||||||
|
|
@ -2077,13 +1654,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod wdt {
|
pub mod wdt {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum WdtOffset {
|
|
||||||
Watchdog = 0,
|
|
||||||
Period = 4,
|
|
||||||
State = 8,
|
|
||||||
}
|
|
||||||
pub const WDT_NUMREGS: usize = 3;
|
pub const WDT_NUMREGS: usize = 3;
|
||||||
|
|
||||||
pub const WATCHDOG: crate::Register = crate::Register::new(0, 0x3);
|
pub const WATCHDOG: crate::Register = crate::Register::new(0, 0x3);
|
||||||
|
|
@ -2103,15 +1673,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod usbdev {
|
pub mod usbdev {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum UsbdevOffset {
|
|
||||||
Usbdisable = 0,
|
|
||||||
Usbselect = 4,
|
|
||||||
EvStatus = 8,
|
|
||||||
EvPending = 12,
|
|
||||||
EvEnable = 16,
|
|
||||||
}
|
|
||||||
pub const USBDEV_NUMREGS: usize = 5;
|
pub const USBDEV_NUMREGS: usize = 5;
|
||||||
|
|
||||||
pub const USBDISABLE: crate::Register = crate::Register::new(0, 0x1);
|
pub const USBDISABLE: crate::Register = crate::Register::new(0, 0x1);
|
||||||
|
|
@ -2135,12 +1696,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod d11ctime {
|
pub mod d11ctime {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum D11CtimeOffset {
|
|
||||||
Control = 0,
|
|
||||||
Heartbeat = 4,
|
|
||||||
}
|
|
||||||
pub const D11CTIME_NUMREGS: usize = 2;
|
pub const D11CTIME_NUMREGS: usize = 2;
|
||||||
|
|
||||||
pub const CONTROL: crate::Register = crate::Register::new(0, 0x7fff);
|
pub const CONTROL: crate::Register = crate::Register::new(0, 0x7fff);
|
||||||
|
|
@ -2153,12 +1708,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod wfi {
|
pub mod wfi {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum WfiOffset {
|
|
||||||
Wfi = 0,
|
|
||||||
IgnoreLocked = 4,
|
|
||||||
}
|
|
||||||
pub const WFI_NUMREGS: usize = 2;
|
pub const WFI_NUMREGS: usize = 2;
|
||||||
|
|
||||||
pub const WFI: crate::Register = crate::Register::new(0, 0x1);
|
pub const WFI: crate::Register = crate::Register::new(0, 0x1);
|
||||||
|
|
@ -2171,11 +1720,6 @@ pub mod utra {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod identifier_mem {
|
pub mod identifier_mem {
|
||||||
// this enum is vestigal, and currently not used by anything
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
pub enum IdentifierMemOffset {
|
|
||||||
IdentifierMem = 0,
|
|
||||||
}
|
|
||||||
pub const IDENTIFIER_MEM_NUMREGS: usize = 1;
|
pub const IDENTIFIER_MEM_NUMREGS: usize = 1;
|
||||||
|
|
||||||
pub const IDENTIFIER_MEM: crate::Register = crate::Register::new(0, 0xff);
|
pub const IDENTIFIER_MEM: crate::Register = crate::Register::new(0, 0xff);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue