Skip to main content

Str

Type Alias Str 

Source
pub type Str = RegValueT<Str_SPEC>;
Expand description

Status Register

Aliased Type§

pub struct Str { /* private fields */ }

Implementations§

Source§

impl Str

Source

pub fn ndst(self) -> RegisterField<0, 0x1, 1, 0, Ndst, Ndst, Str_SPEC, R>

NEWDATA Status Flag

Source

pub fn sdst(self) -> RegisterField<1, 0x1, 1, 0, Sdst, Sdst, Str_SPEC, R>

SENTDATA Status Flag

Source

pub fn rfst(self) -> RegisterField<2, 0x1, 1, 0, Rfst, Rfst, Str_SPEC, R>

Receive FIFO Status Flag

Source

pub fn tfst(self) -> RegisterField<3, 0x1, 1, 0, Tfst, Tfst, Str_SPEC, R>

Transmit FIFO Status Flag

Source

pub fn nmlst(self) -> RegisterField<4, 0x1, 1, 0, Nmlst, Nmlst, Str_SPEC, R>

Normal Mailbox Message Lost Status Flag

Source

pub fn fmlst(self) -> RegisterField<5, 0x1, 1, 0, Fmlst, Fmlst, Str_SPEC, R>

FIFO Mailbox Message Lost Status Flag

Source

pub fn tabst(self) -> RegisterField<6, 0x1, 1, 0, Tabst, Tabst, Str_SPEC, R>

Transmission Abort Status Flag

Source

pub fn est(self) -> RegisterField<7, 0x1, 1, 0, Est, Est, Str_SPEC, R>

Error Status Flag

Source

pub fn rstst(self) -> RegisterField<8, 0x1, 1, 0, Rstst, Rstst, Str_SPEC, R>

CAN Reset Status Flag

Source

pub fn hltst(self) -> RegisterField<9, 0x1, 1, 0, Hltst, Hltst, Str_SPEC, R>

CAN Halt Status Flag

Source

pub fn slpst(self) -> RegisterField<10, 0x1, 1, 0, Slpst, Slpst, Str_SPEC, R>

CAN Sleep Status Flag

Source

pub fn epst(self) -> RegisterField<11, 0x1, 1, 0, Epst, Epst, Str_SPEC, R>

Error-Passive Status Flag

Source

pub fn bost(self) -> RegisterField<12, 0x1, 1, 0, Bost, Bost, Str_SPEC, R>

Bus-Off Status Flag

Source

pub fn trmst(self) -> RegisterField<13, 0x1, 1, 0, Trmst, Trmst, Str_SPEC, R>

Transmit Status Flag

Source

pub fn recst(self) -> RegisterField<14, 0x1, 1, 0, Recst, Recst, Str_SPEC, R>

Receive Status Flag

Trait Implementations§

Source§

impl Default for Str

Source§

fn default() -> Str

Returns the “default value” for a type. Read more