Type Alias atsame54p::usb::device::ctrlb::R

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

Register CTRLB reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn detach(&self) -> DETACH_R

Bit 0 - Detach

source

pub fn uprsm(&self) -> UPRSM_R

Bit 1 - Upstream Resume

source

pub fn spdconf(&self) -> SPDCONF_R

Bits 2:3 - Speed Configuration

source

pub fn nreply(&self) -> NREPLY_R

Bit 4 - No Reply

source

pub fn tstj(&self) -> TSTJ_R

Bit 5 - Test mode J

source

pub fn tstk(&self) -> TSTK_R

Bit 6 - Test mode K

source

pub fn tstpckt(&self) -> TSTPCKT_R

Bit 7 - Test packet mode

source

pub fn opmode2(&self) -> OPMODE2_R

Bit 8 - Specific Operational Mode

source

pub fn gnak(&self) -> GNAK_R

Bit 9 - Global NAK

source

pub fn lpmhdsk(&self) -> LPMHDSK_R

Bits 10:11 - Link Power Management Handshake