R

Type Alias R 

Source
pub type R = R<CrSpec>;
Expand description

Register CR reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn en(&self) -> EnR

Bit 0 - Enable MPI

Source

pub fn rsvd5(&self) -> Rsvd5R

Bits 1:4

Source

pub fn dmae(&self) -> DmaeR

Bit 5 - DMA enable in FIFO mode

Source

pub fn ctre(&self) -> CtreR

Bit 6 - AES-CTR on-the-fly decryption enable

Source

pub fn ctrm(&self) -> CtrmR

Bit 7 - AES-CTR mode. 0 - AES128, 1 - AES256

Source

pub fn tcie(&self) -> TcieR

Bit 8 - Transfer complete interrupt enable

Source

pub fn rsvd4(&self) -> Rsvd4R

Bits 9:10

Source

pub fn smie(&self) -> SmieR

Bit 11 - Status match interrupt enable

Source

pub fn rsvd3(&self) -> Rsvd3R

Bits 12:15

Source

pub fn cmd2e(&self) -> Cmd2eR

Bit 16 - Enable CMD2. If set to 1, CMD2 will be issued after CMD1 with an interval of TI2

Source

pub fn sme1(&self) -> Sme1R

Bit 17 - Status match enable. SME[0] enables CMD1, SME[1] enable CMD2. Only one CMD can be used as SM CMD

Source

pub fn sme2(&self) -> Sme2R

Bit 18

Source

pub fn smm(&self) -> SmmR

Bit 19 - Status match mode: 0 - AND mode; 1 - OR mode

Source

pub fn hwife(&self) -> HwifeR

Bit 20 - Hardware interface enable

Source

pub fn opie(&self) -> OpieR

Bit 21 - OPI interface enable

Source

pub fn rsvd2(&self) -> Rsvd2R

Bit 22

Source

pub fn mx16(&self) -> Mx16R

Bit 23 - Mode X16

Source

pub fn dfm(&self) -> DfmR

Bit 24 - Dual Flash Mode

Source

pub fn rsvd(&self) -> RsvdR

Bits 25:30

Source

pub fn abort(&self) -> AbortR

Bit 31