Type Alias atsame54n::usb::device::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 runstdby(&self) -> RUNSTDBY_R

Bit 2 - Run in Standby Mode

source

pub fn mode(&self) -> MODE_R

Bit 7 - Operating Mode