Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 71 fields pub prts: PRTS, pub bctl: BCTL, pub msdvad: MSDVAD, pub rstctl: RSTCTL, pub prsst: PRSST, pub inst: INST, pub inste: INSTE, pub inie: INIE, pub instfc: INSTFC, pub dvct: DVCT, pub ibinctl: IBINCTL, pub bfctl: BFCTL, pub svctl: SVCTL, pub refckctl: REFCKCTL, pub stdbr: STDBR, pub extbr: EXTBR, pub bfrecdt: BFRECDT, pub bavlcdt: BAVLCDT, pub bidlcdt: BIDLCDT, pub outctl: OUTCTL, pub inctl: INCTL, pub tmoctl: TMOCTL, pub ackctl: ACKCTL, pub scstrctl: SCSTRCTL, pub scstlctl: SCSTLCTL, pub svtdlg0: SVTDLG0, pub cndctl: CNDCTL, pub ncmdqp: NCMDQP, pub nrspqp: NRSPQP, pub nibiqp: NIBIQP, pub nrsqp: NRSQP, pub nqthctl: NQTHCTL, pub ntbthctl0: NTBTHCTL0, pub nrqthctl: NRQTHCTL, pub bst: BST, pub bste: BSTE, pub bie: BIE, pub bstfc: BSTFC, pub ntst: NTST, pub ntste: NTSTE, pub ntie: NTIE, pub ntstfc: NTSTFC, pub bcst: BCST, pub svst: SVST, pub datbas0: DATBAS, pub datbas1: DATBAS, pub datbas2: DATBAS, pub datbas3: DATBAS, pub exdatbas: EXDATBAS, pub sdatbas0: SDATBAS0, pub msdct: [MSDCT; 4], pub svdct: SVDCT, pub sdctpidl: SDCTPIDL, pub sdctpidh: SDCTPIDH, pub svdvad0: SVDVAD0, pub csecmd: CSECMD, pub ceactst: CEACTST, pub cmwlg: CMWLG, pub cmrlg: CMRLG, pub cetstmd: CETSTMD, pub cgdvst: CGDVST, pub cmdspw: CMDSPW, pub cmdspr: CMDSPR, pub cmdspt: CMDSPT, pub cetsm: CETSM, pub bitcnt: BITCNT, pub nqstlv: NQSTLV, pub ndbstlv0: NDBSTLV0, pub nrsqstlv: NRSQSTLV, pub prstdbg: PRSTDBG, pub mserrcnt: MSERRCNT, /* private fields */
}
Expand description

Register block

Fields§

§prts: PRTS

0x00 - Protocol Selection Register

§bctl: BCTL

0x14 - Bus Control Register

§msdvad: MSDVAD

0x18 - Master Device Address Register

§rstctl: RSTCTL

0x20 - Reset Control Register

§prsst: PRSST

0x24 - Present State Register

§inst: INST

0x30 - Internal Status Register

§inste: INSTE

0x34 - Internal Status Enable Register

§inie: INIE

0x38 - Internal Interrupt Enable Register

§instfc: INSTFC

0x3c - Internal Status Force Register

§dvct: DVCT

0x44 - Device Characteristic Table Register

§ibinctl: IBINCTL

0x58 - IBI Notify Control Register

§bfctl: BFCTL

0x60 - Bus Function Control Register

§svctl: SVCTL

0x64 - Slave Control Register

§refckctl: REFCKCTL

0x70 - Reference Clock Control Register

§stdbr: STDBR

0x74 - Standard Bit Rate Register

§extbr: EXTBR

0x78 - Extended Bit Rate Register

§bfrecdt: BFRECDT

0x7c - Bus Free Condition Detection Time Register

§bavlcdt: BAVLCDT

0x80 - Bus Available Condition Detection Time Register

§bidlcdt: BIDLCDT

0x84 - Bus Idle Condition Detection Time Register

§outctl: OUTCTL

0x88 - Output Control Register

§inctl: INCTL

0x8c - Input Control Register

§tmoctl: TMOCTL

0x90 - Timeout Control Register

§ackctl: ACKCTL

0xa0 - Acknowledge Control Register

§scstrctl: SCSTRCTL

0xa4 - SCL Stretch Control Register

§scstlctl: SCSTLCTL

0xb0 - SCL Stalling Control Register

§svtdlg0: SVTDLG0

0xc0 - Slave Transfer Data Length Register 0

§cndctl: CNDCTL

0x140 - Condition Control Register

§ncmdqp: NCMDQP

0x150 - Normal Command Queue Port Register

§nrspqp: NRSPQP

0x154 - Normal Response Queue Port Register

§nibiqp: NIBIQP

0x17c - Normal IBI Queue Port Register

§nrsqp: NRSQP

0x180 - Normal Receive Status Queue Port Register

§nqthctl: NQTHCTL

0x190 - Normal Queue Threshold Control Register

§ntbthctl0: NTBTHCTL0

0x194 - Normal Transfer Data Buffer Threshold Control Register 0

§nrqthctl: NRQTHCTL

0x1c0 - Normal Receive Status Queue Threshold Control Register

§bst: BST

0x1d0 - Bus Status Register

§bste: BSTE

0x1d4 - Bus Status Enable Register

§bie: BIE

0x1d8 - Bus Interrupt Enable Register

§bstfc: BSTFC

0x1dc - Bus Status Force Register

§ntst: NTST

0x1e0 - Normal Transfer Status Register

§ntste: NTSTE

0x1e4 - Normal Transfer Status Enable Register

§ntie: NTIE

0x1e8 - Normal Transfer Interrupt Enable Register

§ntstfc: NTSTFC

0x1ec - Normal Transfer Status Force Register

§bcst: BCST

0x210 - Bus Condition Status Register

§svst: SVST

0x214 - Slave Status Register

§datbas0: DATBAS

0x224 - Device Address Table Basic Register %s

§datbas1: DATBAS

0x22c - Device Address Table Basic Register %s

§datbas2: DATBAS

0x234 - Device Address Table Basic Register %s

§datbas3: DATBAS

0x23c - Device Address Table Basic Register %s

§exdatbas: EXDATBAS

0x2a0 - Extended Device Address Table Basic Register

§sdatbas0: SDATBAS0

0x2b0 - Slave Device Address Table Basic Register 0

§msdct: [MSDCT; 4]

0x2d0..0x2e0 - Master Device Characteristic Table Register %s

§svdct: SVDCT

0x320 - Slave Device Characteristic Table Register

§sdctpidl: SDCTPIDL

0x324 - Slave Device Characteristic Table Provisional ID Low Register

§sdctpidh: SDCTPIDH

0x328 - Slave Device Characteristic Table Provisional ID High Register

§svdvad0: SVDVAD0

0x330 - Slave Device Address Register 0

§csecmd: CSECMD

0x350 - CCC Slave Events Command Register

§ceactst: CEACTST

0x354 - CCC Enter Activity State Register

§cmwlg: CMWLG

0x358 - CCC Max Write Length Register

§cmrlg: CMRLG

0x35c - CCC Max Read Length Register

§cetstmd: CETSTMD

0x360 - CCC Enter Test Mode Register

§cgdvst: CGDVST

0x364 - CCC Get Device Status Register

§cmdspw: CMDSPW

0x368 - CCC Max Data Speed W (Write) Register

§cmdspr: CMDSPR

0x36c - CCC Max Data Speed R (Read) Register

§cmdspt: CMDSPT

0x370 - CCC Max Data Speed T (Turnaround) Register

§cetsm: CETSM

0x374 - CCC Exchange Timing Support Information M (Mode) Register

§bitcnt: BITCNT

0x380 - Bit Count Register

§nqstlv: NQSTLV

0x394 - Normal Queue Status Level Register

§ndbstlv0: NDBSTLV0

0x398 - Normal Data Buffer Status Level Register 0

§nrsqstlv: NRSQSTLV

0x3c0 - Normal Receive Status Queue Status Level Register

§prstdbg: PRSTDBG

0x3cc - Present State Debug Register

§mserrcnt: MSERRCNT

0x3d0 - Master Error Counters Register

Implementations§

Source§

impl RegisterBlock

Source

pub const fn ntdtbp0_by(&self) -> &NTDTBP0_BY

0x158 - Normal Transfer Data Buffer Port Register 0

Source

pub const fn ntdtbp0(&self) -> &NTDTBP0

0x158 - Normal Transfer Data Buffer Port Register 0

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.