#![allow(non_snake_case, non_upper_case_globals)]
#![allow(non_camel_case_types)]
use crate::{RORegister, RWRegister, WORegister};
#[cfg(not(feature = "nosync"))]
use core::marker::PhantomData;
pub mod DDRPHYC_RIDR {
pub mod PUBMNR {
pub const offset: u32 = 0;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod PUBMDR {
pub const offset: u32 = 4;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod PUBMJR {
pub const offset: u32 = 8;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod PHYMNR {
pub const offset: u32 = 12;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod PHYMDR {
pub const offset: u32 = 16;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod PHYMJR {
pub const offset: u32 = 20;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod UDRID {
pub const offset: u32 = 24;
pub const mask: u32 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_PIR {
pub mod INIT {
pub const offset: u32 = 0;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DLLSRST {
pub const offset: u32 = 1;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DLLLOCK {
pub const offset: u32 = 2;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ZCAL {
pub const offset: u32 = 3;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ITMSRST {
pub const offset: u32 = 4;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DRAMRST {
pub const offset: u32 = 5;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DRAMINIT {
pub const offset: u32 = 6;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod QSTRN {
pub const offset: u32 = 7;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RVTRN {
pub const offset: u32 = 8;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ICPC {
pub const offset: u32 = 16;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DLLBYP {
pub const offset: u32 = 17;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CTLDINIT {
pub const offset: u32 = 18;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CLRSR {
pub const offset: u32 = 28;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod LOCKBYP {
pub const offset: u32 = 29;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ZCALBYP {
pub const offset: u32 = 30;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod INITBYP {
pub const offset: u32 = 31;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_PGCR {
pub mod ITMDMD {
pub const offset: u32 = 0;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQSCFG {
pub const offset: u32 = 1;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DFTCMP {
pub const offset: u32 = 2;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DFTLMT {
pub const offset: u32 = 3;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTOSEL {
pub const offset: u32 = 5;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CKEN {
pub const offset: u32 = 9;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CKDV {
pub const offset: u32 = 12;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CKINV {
pub const offset: u32 = 14;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod IOLB {
pub const offset: u32 = 15;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod IODDRM {
pub const offset: u32 = 16;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RANKEN {
pub const offset: u32 = 18;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ZKSEL {
pub const offset: u32 = 22;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod PDDISDX {
pub const offset: u32 = 24;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RFSHDT {
pub const offset: u32 = 25;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod LBDQSS {
pub const offset: u32 = 29;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod LBGDQS {
pub const offset: u32 = 30;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod LBMODE {
pub const offset: u32 = 31;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_PGSR {
pub mod IDONE {
pub const offset: u32 = 0;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DLDONE {
pub const offset: u32 = 1;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ZCDDONE {
pub const offset: u32 = 2;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DIDONE {
pub const offset: u32 = 3;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTDONE {
pub const offset: u32 = 4;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTERR {
pub const offset: u32 = 5;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTIERR {
pub const offset: u32 = 6;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DFTERR {
pub const offset: u32 = 7;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RVERR {
pub const offset: u32 = 8;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RVEIRR {
pub const offset: u32 = 9;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TQ {
pub const offset: u32 = 31;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DLLGCR {
pub mod DRES {
pub const offset: u32 = 0;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod IPUMP {
pub const offset: u32 = 2;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TESTEN {
pub const offset: u32 = 5;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTC {
pub const offset: u32 = 6;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ATC {
pub const offset: u32 = 9;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TESTSW {
pub const offset: u32 = 11;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod MBIAS {
pub const offset: u32 = 12;
pub const mask: u32 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod SBIAS2_0 {
pub const offset: u32 = 20;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod BPS200 {
pub const offset: u32 = 23;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod SBIAS5_3 {
pub const offset: u32 = 24;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod FDTRMSL {
pub const offset: u32 = 27;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod LOCKDET {
pub const offset: u32 = 29;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DLLRSVD2 {
pub const offset: u32 = 30;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_ACDLLCR {
pub mod MFBDLY {
pub const offset: u32 = 6;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod MFWDLY {
pub const offset: u32 = 9;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ATESTEN {
pub const offset: u32 = 18;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DLLSRST {
pub const offset: u32 = 30;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DLLDIS {
pub const offset: u32 = 31;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_PTR0 {
pub mod TDLLSRST {
pub const offset: u32 = 0;
pub const mask: u32 = 0x3f << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TDLLLOCK {
pub const offset: u32 = 6;
pub const mask: u32 = 0xfff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TITMSRST {
pub const offset: u32 = 18;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_PTR1 {
pub mod TDINIT0 {
pub const offset: u32 = 0;
pub const mask: u32 = 0x7ffff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TDINIT1 {
pub const offset: u32 = 19;
pub const mask: u32 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_PTR2 {
pub mod TDINIT2 {
pub const offset: u32 = 0;
pub const mask: u32 = 0x1ffff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TDINIT3 {
pub const offset: u32 = 17;
pub const mask: u32 = 0x3ff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_ACIOCR {
pub mod ACIOM {
pub const offset: u32 = 0;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ACOE {
pub const offset: u32 = 1;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ACODT {
pub const offset: u32 = 2;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ACPDD {
pub const offset: u32 = 3;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ACPDR {
pub const offset: u32 = 4;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CKODT {
pub const offset: u32 = 5;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CKPDD {
pub const offset: u32 = 8;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CKPDR {
pub const offset: u32 = 11;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RANKODT {
pub const offset: u32 = 14;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CSPDD {
pub const offset: u32 = 18;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RANKPDR {
pub const offset: u32 = 22;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RSTODT {
pub const offset: u32 = 26;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RSTPDD {
pub const offset: u32 = 27;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RSTPDR {
pub const offset: u32 = 28;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RSTIOM {
pub const offset: u32 = 29;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ACSR {
pub const offset: u32 = 30;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DXCCR {
pub mod DXODT {
pub const offset: u32 = 0;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DXIOM {
pub const offset: u32 = 1;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DXPDD {
pub const offset: u32 = 2;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DXPDR {
pub const offset: u32 = 3;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQSRES {
pub const offset: u32 = 4;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQSNRES {
pub const offset: u32 = 8;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQSNRST {
pub const offset: u32 = 14;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RVSEL {
pub const offset: u32 = 15;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod AWDT {
pub const offset: u32 = 16;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DSGCR {
pub mod PUREN {
pub const offset: u32 = 0;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod BDISEN {
pub const offset: u32 = 1;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ZUEN {
pub const offset: u32 = 2;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod LPIOPD {
pub const offset: u32 = 3;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod LPDLLPD {
pub const offset: u32 = 4;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQSGX {
pub const offset: u32 = 5;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQSGE {
pub const offset: u32 = 8;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod NOBUB {
pub const offset: u32 = 11;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod FXDLAT {
pub const offset: u32 = 12;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CKEPDD {
pub const offset: u32 = 16;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ODTPDD {
pub const offset: u32 = 20;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod NL2PD {
pub const offset: u32 = 24;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod NL2OE {
pub const offset: u32 = 25;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TPDPD {
pub const offset: u32 = 26;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TPDOE {
pub const offset: u32 = 27;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CKOE {
pub const offset: u32 = 28;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ODTOE {
pub const offset: u32 = 29;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RSTOE {
pub const offset: u32 = 30;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CKEOE {
pub const offset: u32 = 31;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DCR {
pub mod DDRMD {
pub const offset: u32 = 0;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DDR8BNK {
pub const offset: u32 = 3;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod PDQ {
pub const offset: u32 = 4;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod MPRDQ {
pub const offset: u32 = 7;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DDRTYPE {
pub const offset: u32 = 8;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod NOSRA {
pub const offset: u32 = 27;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DDR2T {
pub const offset: u32 = 28;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod UDIMM {
pub const offset: u32 = 29;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RDIMM {
pub const offset: u32 = 30;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TPD {
pub const offset: u32 = 31;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DTPR0 {
pub mod TMRD {
pub const offset: u32 = 0;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TRTP {
pub const offset: u32 = 2;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TWTR {
pub const offset: u32 = 5;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TRP {
pub const offset: u32 = 8;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TRCD {
pub const offset: u32 = 12;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TRAS {
pub const offset: u32 = 16;
pub const mask: u32 = 0b11111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TRRD {
pub const offset: u32 = 21;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TRC {
pub const offset: u32 = 25;
pub const mask: u32 = 0x3f << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TCCD {
pub const offset: u32 = 31;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DTPR1 {
pub mod TAOND {
pub const offset: u32 = 0;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TRTW {
pub const offset: u32 = 2;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TFAW {
pub const offset: u32 = 3;
pub const mask: u32 = 0x3f << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TMOD {
pub const offset: u32 = 9;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TRTODT {
pub const offset: u32 = 11;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TRFC {
pub const offset: u32 = 16;
pub const mask: u32 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TDQSCKMIN {
pub const offset: u32 = 24;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TDQSCKMAX {
pub const offset: u32 = 27;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DTPR2 {
pub mod TXS {
pub const offset: u32 = 0;
pub const mask: u32 = 0x3ff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TXP {
pub const offset: u32 = 10;
pub const mask: u32 = 0b11111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TCKE {
pub const offset: u32 = 15;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TDLLK {
pub const offset: u32 = 19;
pub const mask: u32 = 0x3ff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DDR3_MR0 {
pub mod BL {
pub const offset: u16 = 0;
pub const mask: u16 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CL0 {
pub const offset: u16 = 2;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod BT {
pub const offset: u16 = 3;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CL {
pub const offset: u16 = 4;
pub const mask: u16 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TM {
pub const offset: u16 = 7;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DR {
pub const offset: u16 = 8;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod WR {
pub const offset: u16 = 9;
pub const mask: u16 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod PD {
pub const offset: u16 = 12;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RSVD {
pub const offset: u16 = 13;
pub const mask: u16 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DDR3_MR1 {
pub mod DE {
pub const offset: u16 = 0;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DIC0 {
pub const offset: u16 = 1;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RTT0 {
pub const offset: u16 = 2;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod AL {
pub const offset: u16 = 3;
pub const mask: u16 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DIC1 {
pub const offset: u16 = 5;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RTT1 {
pub const offset: u16 = 6;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod LEVEL {
pub const offset: u16 = 7;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RTT2 {
pub const offset: u16 = 9;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod TDQS {
pub const offset: u16 = 11;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod QOFF {
pub const offset: u16 = 12;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DDR3_MR2 {
pub mod PASR {
pub const offset: u16 = 0;
pub const mask: u16 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod CWL {
pub const offset: u16 = 3;
pub const mask: u16 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ASR {
pub const offset: u16 = 6;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod SRT {
pub const offset: u16 = 7;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RTTWR {
pub const offset: u16 = 9;
pub const mask: u16 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DDR3_MR3 {
pub mod MPRLOC {
pub const offset: u8 = 0;
pub const mask: u8 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod MPR {
pub const offset: u8 = 2;
pub const mask: u8 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_ODTCR {
pub mod RDODT {
pub const offset: u32 = 0;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod WRODT {
pub const offset: u32 = 16;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DTAR {
pub mod DTCOL {
pub const offset: u32 = 0;
pub const mask: u32 = 0xfff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTROW {
pub const offset: u32 = 12;
pub const mask: u32 = 0xffff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTBANK {
pub const offset: u32 = 28;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTMPR {
pub const offset: u32 = 31;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DTDR0 {
pub mod DTBYTE0 {
pub const offset: u32 = 0;
pub const mask: u32 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTBYTE1 {
pub const offset: u32 = 8;
pub const mask: u32 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTBYTE2 {
pub const offset: u32 = 16;
pub const mask: u32 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTBYTE3 {
pub const offset: u32 = 24;
pub const mask: u32 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DTDR1 {
pub mod DTBYTE4 {
pub const offset: u32 = 0;
pub const mask: u32 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTBYTE5 {
pub const offset: u32 = 8;
pub const mask: u32 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTBYTE6 {
pub const offset: u32 = 16;
pub const mask: u32 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTBYTE7 {
pub const offset: u32 = 24;
pub const mask: u32 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_GPR0 {
pub mod GPR0 {
pub const offset: u32 = 0;
pub const mask: u32 = 0xffffffff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_GPR1 {
pub mod GPR1 {
pub const offset: u32 = 0;
pub const mask: u32 = 0xffffffff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_ZQ0CR0 {
pub mod ZDATA {
pub const offset: u32 = 0;
pub const mask: u32 = 0xfffff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ZDEN {
pub const offset: u32 = 28;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ZCALBYP {
pub const offset: u32 = 29;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ZCAL {
pub const offset: u32 = 30;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ZQPD {
pub const offset: u32 = 31;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_ZQ0CR1 {
pub mod ZPROG {
pub const offset: u8 = 0;
pub const mask: u8 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_ZQ0SR0 {
pub mod ZCTRL {
pub const offset: u32 = 0;
pub const mask: u32 = 0xfffff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ZERR {
pub const offset: u32 = 30;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ZDONE {
pub const offset: u32 = 31;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_ZQ0SR1 {
pub mod ZPD {
pub const offset: u8 = 0;
pub const mask: u8 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ZPU {
pub const offset: u8 = 2;
pub const mask: u8 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod OPD {
pub const offset: u8 = 4;
pub const mask: u8 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod OPU {
pub const offset: u8 = 6;
pub const mask: u8 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DX0GCR {
pub mod DXEN {
pub const offset: u32 = 0;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQSODT {
pub const offset: u32 = 1;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQODT {
pub const offset: u32 = 2;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DXIOM {
pub const offset: u32 = 3;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DXPDD {
pub const offset: u32 = 4;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DXPDR {
pub const offset: u32 = 5;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQSRPD {
pub const offset: u32 = 6;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DSEN {
pub const offset: u32 = 7;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQSRTT {
pub const offset: u32 = 9;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQRTT {
pub const offset: u32 = 10;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RTTOH {
pub const offset: u32 = 11;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RTTOAL {
pub const offset: u32 = 13;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod R0RVSL {
pub const offset: u32 = 14;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DX0GSR0 {
pub mod DTDONE {
pub const offset: u16 = 0;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTERR {
pub const offset: u16 = 4;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTIERR {
pub const offset: u16 = 8;
pub const mask: u16 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DTPASS {
pub const offset: u16 = 13;
pub const mask: u16 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DX0GSR1 {
pub mod DFTERR {
pub const offset: u32 = 0;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQSDFT {
pub const offset: u32 = 4;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RVERR {
pub const offset: u32 = 12;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RVIERR {
pub const offset: u32 = 16;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod RVPASS {
pub const offset: u32 = 20;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DX0DLLCR {
pub mod SFBDLY {
pub const offset: u32 = 0;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod SFWDLY {
pub const offset: u32 = 3;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod MFBDLY {
pub const offset: u32 = 6;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod MFWDLY {
pub const offset: u32 = 9;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod SSTART {
pub const offset: u32 = 12;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod SDPHASE {
pub const offset: u32 = 14;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod ATESTEN {
pub const offset: u32 = 18;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod SDLBMODE {
pub const offset: u32 = 19;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DLLSRST {
pub const offset: u32 = 30;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DLLDIS {
pub const offset: u32 = 31;
pub const mask: u32 = 1 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DX0DQTR {
pub mod DQDLY0 {
pub const offset: u32 = 0;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQDLY1 {
pub const offset: u32 = 4;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQDLY2 {
pub const offset: u32 = 8;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQDLY3 {
pub const offset: u32 = 12;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQDLY4 {
pub const offset: u32 = 16;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQDLY5 {
pub const offset: u32 = 20;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQDLY6 {
pub const offset: u32 = 24;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQDLY7 {
pub const offset: u32 = 28;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DX0DQSTR {
pub mod R0DGSL {
pub const offset: u32 = 0;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod R0DGPS {
pub const offset: u32 = 12;
pub const mask: u32 = 0b11 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQSDLY {
pub const offset: u32 = 20;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DQSNDLY {
pub const offset: u32 = 23;
pub const mask: u32 = 0b111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
pub mod DMDLY {
pub const offset: u32 = 26;
pub const mask: u32 = 0b1111 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
pub mod DDRPHYC_DX1GCR {
pub use super::DDRPHYC_DX0GCR::DQODT;
pub use super::DDRPHYC_DX0GCR::DQRTT;
pub use super::DDRPHYC_DX0GCR::DQSODT;
pub use super::DDRPHYC_DX0GCR::DQSRPD;
pub use super::DDRPHYC_DX0GCR::DQSRTT;
pub use super::DDRPHYC_DX0GCR::DSEN;
pub use super::DDRPHYC_DX0GCR::DXEN;
pub use super::DDRPHYC_DX0GCR::DXIOM;
pub use super::DDRPHYC_DX0GCR::DXPDD;
pub use super::DDRPHYC_DX0GCR::DXPDR;
pub use super::DDRPHYC_DX0GCR::R0RVSL;
pub use super::DDRPHYC_DX0GCR::RTTOAL;
pub use super::DDRPHYC_DX0GCR::RTTOH;
}
pub mod DDRPHYC_DX1GSR0 {
pub use super::DDRPHYC_DX0GSR0::DTDONE;
pub use super::DDRPHYC_DX0GSR0::DTERR;
pub use super::DDRPHYC_DX0GSR0::DTIERR;
pub use super::DDRPHYC_DX0GSR0::DTPASS;
}
pub mod DDRPHYC_DX1GSR1 {
pub use super::DDRPHYC_DX0GSR1::DFTERR;
pub use super::DDRPHYC_DX0GSR1::DQSDFT;
pub use super::DDRPHYC_DX0GSR1::RVERR;
pub use super::DDRPHYC_DX0GSR1::RVIERR;
pub use super::DDRPHYC_DX0GSR1::RVPASS;
}
pub mod DDRPHYC_DX1DLLCR {
pub use super::DDRPHYC_DX0DLLCR::ATESTEN;
pub use super::DDRPHYC_DX0DLLCR::DLLDIS;
pub use super::DDRPHYC_DX0DLLCR::DLLSRST;
pub use super::DDRPHYC_DX0DLLCR::MFBDLY;
pub use super::DDRPHYC_DX0DLLCR::MFWDLY;
pub use super::DDRPHYC_DX0DLLCR::SDLBMODE;
pub use super::DDRPHYC_DX0DLLCR::SDPHASE;
pub use super::DDRPHYC_DX0DLLCR::SFBDLY;
pub use super::DDRPHYC_DX0DLLCR::SFWDLY;
pub use super::DDRPHYC_DX0DLLCR::SSTART;
}
pub mod DDRPHYC_DX1DQTR {
pub use super::DDRPHYC_DX0DQTR::DQDLY0;
pub use super::DDRPHYC_DX0DQTR::DQDLY1;
pub use super::DDRPHYC_DX0DQTR::DQDLY2;
pub use super::DDRPHYC_DX0DQTR::DQDLY3;
pub use super::DDRPHYC_DX0DQTR::DQDLY4;
pub use super::DDRPHYC_DX0DQTR::DQDLY5;
pub use super::DDRPHYC_DX0DQTR::DQDLY6;
pub use super::DDRPHYC_DX0DQTR::DQDLY7;
}
pub mod DDRPHYC_DX1DQSTR {
pub use super::DDRPHYC_DX0DQSTR::DMDLY;
pub use super::DDRPHYC_DX0DQSTR::DQSDLY;
pub use super::DDRPHYC_DX0DQSTR::DQSNDLY;
pub use super::DDRPHYC_DX0DQSTR::R0DGPS;
pub use super::DDRPHYC_DX0DQSTR::R0DGSL;
}
pub mod DDRPHYC_DX2GCR {
pub use super::DDRPHYC_DX0GCR::DQODT;
pub use super::DDRPHYC_DX0GCR::DQRTT;
pub use super::DDRPHYC_DX0GCR::DQSODT;
pub use super::DDRPHYC_DX0GCR::DQSRPD;
pub use super::DDRPHYC_DX0GCR::DQSRTT;
pub use super::DDRPHYC_DX0GCR::DSEN;
pub use super::DDRPHYC_DX0GCR::DXEN;
pub use super::DDRPHYC_DX0GCR::DXIOM;
pub use super::DDRPHYC_DX0GCR::DXPDD;
pub use super::DDRPHYC_DX0GCR::DXPDR;
pub use super::DDRPHYC_DX0GCR::R0RVSL;
pub use super::DDRPHYC_DX0GCR::RTTOAL;
pub use super::DDRPHYC_DX0GCR::RTTOH;
}
pub mod DDRPHYC_DX2GSR0 {
pub use super::DDRPHYC_DX0GSR0::DTDONE;
pub use super::DDRPHYC_DX0GSR0::DTERR;
pub use super::DDRPHYC_DX0GSR0::DTIERR;
pub use super::DDRPHYC_DX0GSR0::DTPASS;
}
pub mod DDRPHYC_DX2GSR1 {
pub use super::DDRPHYC_DX0GSR1::DFTERR;
pub use super::DDRPHYC_DX0GSR1::DQSDFT;
pub use super::DDRPHYC_DX0GSR1::RVERR;
pub use super::DDRPHYC_DX0GSR1::RVIERR;
pub use super::DDRPHYC_DX0GSR1::RVPASS;
}
pub mod DDRPHYC_DX2DLLCR {
pub use super::DDRPHYC_DX0DLLCR::ATESTEN;
pub use super::DDRPHYC_DX0DLLCR::DLLDIS;
pub use super::DDRPHYC_DX0DLLCR::DLLSRST;
pub use super::DDRPHYC_DX0DLLCR::MFBDLY;
pub use super::DDRPHYC_DX0DLLCR::MFWDLY;
pub use super::DDRPHYC_DX0DLLCR::SDLBMODE;
pub use super::DDRPHYC_DX0DLLCR::SDPHASE;
pub use super::DDRPHYC_DX0DLLCR::SFBDLY;
pub use super::DDRPHYC_DX0DLLCR::SFWDLY;
pub use super::DDRPHYC_DX0DLLCR::SSTART;
}
pub mod DDRPHYC_DX2DQTR {
pub use super::DDRPHYC_DX0DQTR::DQDLY0;
pub use super::DDRPHYC_DX0DQTR::DQDLY1;
pub use super::DDRPHYC_DX0DQTR::DQDLY2;
pub use super::DDRPHYC_DX0DQTR::DQDLY3;
pub use super::DDRPHYC_DX0DQTR::DQDLY4;
pub use super::DDRPHYC_DX0DQTR::DQDLY5;
pub use super::DDRPHYC_DX0DQTR::DQDLY6;
pub use super::DDRPHYC_DX0DQTR::DQDLY7;
}
pub mod DDRPHYC_DX2DQSTR {
pub use super::DDRPHYC_DX0DQSTR::DMDLY;
pub use super::DDRPHYC_DX0DQSTR::DQSDLY;
pub use super::DDRPHYC_DX0DQSTR::DQSNDLY;
pub use super::DDRPHYC_DX0DQSTR::R0DGPS;
pub use super::DDRPHYC_DX0DQSTR::R0DGSL;
}
pub mod DDRPHYC_DX3GCR {
pub use super::DDRPHYC_DX0GCR::DQODT;
pub use super::DDRPHYC_DX0GCR::DQRTT;
pub use super::DDRPHYC_DX0GCR::DQSODT;
pub use super::DDRPHYC_DX0GCR::DQSRPD;
pub use super::DDRPHYC_DX0GCR::DQSRTT;
pub use super::DDRPHYC_DX0GCR::DSEN;
pub use super::DDRPHYC_DX0GCR::DXEN;
pub use super::DDRPHYC_DX0GCR::DXIOM;
pub use super::DDRPHYC_DX0GCR::DXPDD;
pub use super::DDRPHYC_DX0GCR::DXPDR;
pub use super::DDRPHYC_DX0GCR::R0RVSL;
pub use super::DDRPHYC_DX0GCR::RTTOAL;
pub use super::DDRPHYC_DX0GCR::RTTOH;
}
pub mod DDRPHYC_DX3GSR0 {
pub use super::DDRPHYC_DX0GSR0::DTDONE;
pub use super::DDRPHYC_DX0GSR0::DTERR;
pub use super::DDRPHYC_DX0GSR0::DTIERR;
pub use super::DDRPHYC_DX0GSR0::DTPASS;
}
pub mod DDRPHYC_DX3GSR1 {
pub use super::DDRPHYC_DX0GSR1::DFTERR;
pub use super::DDRPHYC_DX0GSR1::DQSDFT;
pub use super::DDRPHYC_DX0GSR1::RVERR;
pub use super::DDRPHYC_DX0GSR1::RVIERR;
pub use super::DDRPHYC_DX0GSR1::RVPASS;
}
pub mod DDRPHYC_DX3DLLCR {
pub use super::DDRPHYC_DX0DLLCR::ATESTEN;
pub use super::DDRPHYC_DX0DLLCR::DLLDIS;
pub use super::DDRPHYC_DX0DLLCR::DLLSRST;
pub use super::DDRPHYC_DX0DLLCR::MFBDLY;
pub use super::DDRPHYC_DX0DLLCR::MFWDLY;
pub use super::DDRPHYC_DX0DLLCR::SDLBMODE;
pub use super::DDRPHYC_DX0DLLCR::SDPHASE;
pub use super::DDRPHYC_DX0DLLCR::SFBDLY;
pub use super::DDRPHYC_DX0DLLCR::SFWDLY;
pub use super::DDRPHYC_DX0DLLCR::SSTART;
}
pub mod DDRPHYC_DX3DQTR {
pub use super::DDRPHYC_DX0DQTR::DQDLY0;
pub use super::DDRPHYC_DX0DQTR::DQDLY1;
pub use super::DDRPHYC_DX0DQTR::DQDLY2;
pub use super::DDRPHYC_DX0DQTR::DQDLY3;
pub use super::DDRPHYC_DX0DQTR::DQDLY4;
pub use super::DDRPHYC_DX0DQTR::DQDLY5;
pub use super::DDRPHYC_DX0DQTR::DQDLY6;
pub use super::DDRPHYC_DX0DQTR::DQDLY7;
}
pub mod DDRPHYC_DX3DQSTR {
pub use super::DDRPHYC_DX0DQSTR::DMDLY;
pub use super::DDRPHYC_DX0DQSTR::DQSDLY;
pub use super::DDRPHYC_DX0DQSTR::DQSNDLY;
pub use super::DDRPHYC_DX0DQSTR::R0DGPS;
pub use super::DDRPHYC_DX0DQSTR::R0DGSL;
}
#[repr(C)]
pub struct RegisterBlock {
pub DDRPHYC_RIDR: RORegister<u32>,
pub DDRPHYC_PIR: WORegister<u32>,
pub DDRPHYC_PGCR: RWRegister<u32>,
pub DDRPHYC_PGSR: RORegister<u32>,
pub DDRPHYC_DLLGCR: RWRegister<u32>,
pub DDRPHYC_ACDLLCR: RWRegister<u32>,
pub DDRPHYC_PTR0: RWRegister<u32>,
pub DDRPHYC_PTR1: RWRegister<u32>,
pub DDRPHYC_PTR2: RWRegister<u32>,
pub DDRPHYC_ACIOCR: RWRegister<u32>,
pub DDRPHYC_DXCCR: RWRegister<u32>,
pub DDRPHYC_DSGCR: RWRegister<u32>,
pub DDRPHYC_DCR: RWRegister<u32>,
pub DDRPHYC_DTPR0: RWRegister<u32>,
pub DDRPHYC_DTPR1: RWRegister<u32>,
pub DDRPHYC_DTPR2: RWRegister<u32>,
pub DDRPHYC_DDR3_MR0: RWRegister<u16>,
_reserved1: [u16; 1],
pub DDRPHYC_DDR3_MR1: RWRegister<u16>,
_reserved2: [u16; 1],
pub DDRPHYC_DDR3_MR2: RWRegister<u16>,
_reserved3: [u16; 1],
pub DDRPHYC_DDR3_MR3: RWRegister<u8>,
_reserved4: [u16; 1],
_reserved5: [u8; 1],
pub DDRPHYC_ODTCR: RWRegister<u32>,
pub DDRPHYC_DTAR: RWRegister<u32>,
pub DDRPHYC_DTDR0: RWRegister<u32>,
pub DDRPHYC_DTDR1: RWRegister<u32>,
_reserved6: [u32; 70],
pub DDRPHYC_GPR0: RWRegister<u32>,
pub DDRPHYC_GPR1: RWRegister<u32>,
pub DDRPHYC_ZQ0CR0: RWRegister<u32>,
pub DDRPHYC_ZQ0CR1: RWRegister<u8>,
_reserved7: [u16; 1],
_reserved8: [u8; 1],
pub DDRPHYC_ZQ0SR0: RORegister<u32>,
pub DDRPHYC_ZQ0SR1: RORegister<u8>,
_reserved9: [u32; 12],
_reserved10: [u16; 1],
_reserved11: [u8; 1],
pub DDRPHYC_DX0GCR: RWRegister<u32>,
pub DDRPHYC_DX0GSR0: RORegister<u16>,
_reserved12: [u16; 1],
pub DDRPHYC_DX0GSR1: RORegister<u32>,
pub DDRPHYC_DX0DLLCR: RWRegister<u32>,
pub DDRPHYC_DX0DQTR: RWRegister<u32>,
pub DDRPHYC_DX0DQSTR: RWRegister<u32>,
_reserved13: [u32; 10],
pub DDRPHYC_DX1GCR: RWRegister<u32>,
pub DDRPHYC_DX1GSR0: RORegister<u16>,
_reserved14: [u16; 1],
pub DDRPHYC_DX1GSR1: RORegister<u32>,
pub DDRPHYC_DX1DLLCR: RWRegister<u32>,
pub DDRPHYC_DX1DQTR: RWRegister<u32>,
pub DDRPHYC_DX1DQSTR: RWRegister<u32>,
_reserved15: [u32; 10],
pub DDRPHYC_DX2GCR: RWRegister<u32>,
pub DDRPHYC_DX2GSR0: RORegister<u16>,
_reserved16: [u16; 1],
pub DDRPHYC_DX2GSR1: RORegister<u32>,
pub DDRPHYC_DX2DLLCR: RWRegister<u32>,
pub DDRPHYC_DX2DQTR: RWRegister<u32>,
pub DDRPHYC_DX2DQSTR: RWRegister<u32>,
_reserved17: [u32; 10],
pub DDRPHYC_DX3GCR: RWRegister<u32>,
pub DDRPHYC_DX3GSR0: RORegister<u16>,
_reserved18: [u16; 1],
pub DDRPHYC_DX3GSR1: RORegister<u32>,
pub DDRPHYC_DX3DLLCR: RWRegister<u32>,
pub DDRPHYC_DX3DQTR: RWRegister<u32>,
pub DDRPHYC_DX3DQSTR: RWRegister<u32>,
}
pub struct ResetValues {
pub DDRPHYC_RIDR: u32,
pub DDRPHYC_PIR: u32,
pub DDRPHYC_PGCR: u32,
pub DDRPHYC_PGSR: u32,
pub DDRPHYC_DLLGCR: u32,
pub DDRPHYC_ACDLLCR: u32,
pub DDRPHYC_PTR0: u32,
pub DDRPHYC_PTR1: u32,
pub DDRPHYC_PTR2: u32,
pub DDRPHYC_ACIOCR: u32,
pub DDRPHYC_DXCCR: u32,
pub DDRPHYC_DSGCR: u32,
pub DDRPHYC_DCR: u32,
pub DDRPHYC_DTPR0: u32,
pub DDRPHYC_DTPR1: u32,
pub DDRPHYC_DTPR2: u32,
pub DDRPHYC_DDR3_MR0: u16,
pub DDRPHYC_DDR3_MR1: u16,
pub DDRPHYC_DDR3_MR2: u16,
pub DDRPHYC_DDR3_MR3: u8,
pub DDRPHYC_ODTCR: u32,
pub DDRPHYC_DTAR: u32,
pub DDRPHYC_DTDR0: u32,
pub DDRPHYC_DTDR1: u32,
pub DDRPHYC_GPR0: u32,
pub DDRPHYC_GPR1: u32,
pub DDRPHYC_ZQ0CR0: u32,
pub DDRPHYC_ZQ0CR1: u8,
pub DDRPHYC_ZQ0SR0: u32,
pub DDRPHYC_ZQ0SR1: u8,
pub DDRPHYC_DX0GCR: u32,
pub DDRPHYC_DX0GSR0: u16,
pub DDRPHYC_DX0GSR1: u32,
pub DDRPHYC_DX0DLLCR: u32,
pub DDRPHYC_DX0DQTR: u32,
pub DDRPHYC_DX0DQSTR: u32,
pub DDRPHYC_DX1GCR: u32,
pub DDRPHYC_DX1GSR0: u16,
pub DDRPHYC_DX1GSR1: u32,
pub DDRPHYC_DX1DLLCR: u32,
pub DDRPHYC_DX1DQTR: u32,
pub DDRPHYC_DX1DQSTR: u32,
pub DDRPHYC_DX2GCR: u32,
pub DDRPHYC_DX2GSR0: u16,
pub DDRPHYC_DX2GSR1: u32,
pub DDRPHYC_DX2DLLCR: u32,
pub DDRPHYC_DX2DQTR: u32,
pub DDRPHYC_DX2DQSTR: u32,
pub DDRPHYC_DX3GCR: u32,
pub DDRPHYC_DX3GSR0: u16,
pub DDRPHYC_DX3GSR1: u32,
pub DDRPHYC_DX3DLLCR: u32,
pub DDRPHYC_DX3DQTR: u32,
pub DDRPHYC_DX3DQSTR: u32,
}
#[cfg(not(feature = "nosync"))]
pub struct Instance {
pub(crate) addr: u32,
pub(crate) _marker: PhantomData<*const RegisterBlock>,
}
#[cfg(not(feature = "nosync"))]
impl ::core::ops::Deref for Instance {
type Target = RegisterBlock;
#[inline(always)]
fn deref(&self) -> &RegisterBlock {
unsafe { &*(self.addr as *const _) }
}
}
#[cfg(feature = "rtic")]
unsafe impl Send for Instance {}
pub mod DDRPHYC {
use super::ResetValues;
#[cfg(not(feature = "nosync"))]
use super::Instance;
#[cfg(not(feature = "nosync"))]
const INSTANCE: Instance = Instance {
addr: 0x5a004000,
_marker: ::core::marker::PhantomData,
};
pub const reset: ResetValues = ResetValues {
DDRPHYC_RIDR: 0x00410010,
DDRPHYC_PIR: 0x00000000,
DDRPHYC_PGCR: 0x01BC2E04,
DDRPHYC_PGSR: 0x00000000,
DDRPHYC_DLLGCR: 0x03737000,
DDRPHYC_ACDLLCR: 0x40000000,
DDRPHYC_PTR0: 0x0022AF9B,
DDRPHYC_PTR1: 0x0604111D,
DDRPHYC_PTR2: 0x042DA072,
DDRPHYC_ACIOCR: 0x33C03812,
DDRPHYC_DXCCR: 0x00000800,
DDRPHYC_DSGCR: 0xFA00001F,
DDRPHYC_DCR: 0x0000000B,
DDRPHYC_DTPR0: 0x3012666E,
DDRPHYC_DTPR1: 0x0A030090,
DDRPHYC_DTPR2: 0x20040D84,
DDRPHYC_DDR3_MR0: 0x00000A52,
DDRPHYC_DDR3_MR1: 0x00000000,
DDRPHYC_DDR3_MR2: 0x00000000,
DDRPHYC_DDR3_MR3: 0x00000000,
DDRPHYC_ODTCR: 0x84210000,
DDRPHYC_DTAR: 0x00000000,
DDRPHYC_DTDR0: 0xDD22EE11,
DDRPHYC_DTDR1: 0x7788BB44,
DDRPHYC_GPR0: 0x00000000,
DDRPHYC_GPR1: 0x00000000,
DDRPHYC_ZQ0CR0: 0x0000014A,
DDRPHYC_ZQ0CR1: 0x0000007B,
DDRPHYC_ZQ0SR0: 0x0000014A,
DDRPHYC_ZQ0SR1: 0x00000000,
DDRPHYC_DX0GCR: 0x0000EE81,
DDRPHYC_DX0GSR0: 0x00000000,
DDRPHYC_DX0GSR1: 0x00000000,
DDRPHYC_DX0DLLCR: 0x40000000,
DDRPHYC_DX0DQTR: 0xFFFFFFFF,
DDRPHYC_DX0DQSTR: 0x3DB02000,
DDRPHYC_DX1GCR: 0x0000EE81,
DDRPHYC_DX1GSR0: 0x00000000,
DDRPHYC_DX1GSR1: 0x00000000,
DDRPHYC_DX1DLLCR: 0x40000000,
DDRPHYC_DX1DQTR: 0xFFFFFFFF,
DDRPHYC_DX1DQSTR: 0x3DB02000,
DDRPHYC_DX2GCR: 0x0000EE81,
DDRPHYC_DX2GSR0: 0x00000000,
DDRPHYC_DX2GSR1: 0x00000000,
DDRPHYC_DX2DLLCR: 0x40000000,
DDRPHYC_DX2DQTR: 0xFFFFFFFF,
DDRPHYC_DX2DQSTR: 0x3DB02000,
DDRPHYC_DX3GCR: 0x0000EE81,
DDRPHYC_DX3GSR0: 0x00000000,
DDRPHYC_DX3GSR1: 0x00000000,
DDRPHYC_DX3DLLCR: 0x40000000,
DDRPHYC_DX3DQTR: 0xFFFFFFFF,
DDRPHYC_DX3DQSTR: 0x3DB02000,
};
#[cfg(not(feature = "nosync"))]
#[allow(renamed_and_removed_lints)]
#[allow(private_no_mangle_statics)]
#[no_mangle]
static mut DDRPHYC_TAKEN: bool = false;
#[cfg(not(feature = "nosync"))]
#[inline]
pub fn take() -> Option<Instance> {
external_cortex_m::interrupt::free(|_| unsafe {
if DDRPHYC_TAKEN {
None
} else {
DDRPHYC_TAKEN = true;
Some(INSTANCE)
}
})
}
#[cfg(not(feature = "nosync"))]
#[inline]
pub fn release(inst: Instance) {
external_cortex_m::interrupt::free(|_| unsafe {
if DDRPHYC_TAKEN && inst.addr == INSTANCE.addr {
DDRPHYC_TAKEN = false;
} else {
panic!("Released a peripheral which was not taken");
}
});
}
#[cfg(not(feature = "nosync"))]
#[inline]
pub unsafe fn steal() -> Instance {
DDRPHYC_TAKEN = true;
INSTANCE
}
}
pub const DDRPHYC: *const RegisterBlock = 0x5a004000 as *const _;