Scmr

Type Alias Scmr 

Source
pub type Scmr = RegValueT<Scmr_SPEC>;
Expand description

Smart Card Mode Register

Aliased Type§

pub struct Scmr { /* private fields */ }

Implementations§

Source§

impl Scmr

Source

pub fn smif(self) -> RegisterField<0, 0x1, 1, 0, Smif, Smif, Scmr_SPEC, RW>

Smart Card Interface Mode Select

Source

pub fn sinv(self) -> RegisterField<2, 0x1, 1, 0, Sinv, Sinv, Scmr_SPEC, RW>

Transmitted/Received Data Invert

Source

pub fn sdir(self) -> RegisterField<3, 0x1, 1, 0, Sdir, Sdir, Scmr_SPEC, RW>

Transmitted/Received Data Transfer Direction

Source

pub fn chr1(self) -> RegisterField<4, 0x1, 1, 0, Chr1, Chr1, Scmr_SPEC, RW>

Character Length 1

Source

pub fn bcp2(self) -> RegisterFieldBool<7, 1, 0, Scmr_SPEC, RW>

Base Clock Pulse 2

Trait Implementations§

Source§

impl Default for Scmr

Source§

fn default() -> Scmr

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