Type Alias atsame54n::sercom0::spim::ctrla::R

source ·
pub type R = R<CTRLA_SPEC>;
Expand description

Register CTRLA reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn swrst(&self) -> SWRST_R

Bit 0 - Software Reset

source

pub fn enable(&self) -> ENABLE_R

Bit 1 - Enable

source

pub fn mode(&self) -> MODE_R

Bits 2:4 - Operating Mode

source

pub fn runstdby(&self) -> RUNSTDBY_R

Bit 7 - Run during Standby

source

pub fn ibon(&self) -> IBON_R

Bit 8 - Immediate Buffer Overflow Notification

source

pub fn dopo(&self) -> DOPO_R

Bits 16:17 - Data Out Pinout

source

pub fn dipo(&self) -> DIPO_R

Bits 20:21 - Data In Pinout

source

pub fn form(&self) -> FORM_R

Bits 24:27 - Frame Format

source

pub fn cpha(&self) -> CPHA_R

Bit 28 - Clock Phase

source

pub fn cpol(&self) -> CPOL_R

Bit 29 - Clock Polarity

source

pub fn dord(&self) -> DORD_R

Bit 30 - Data Order