Type Alias xmc4500::usb0::grxstsr_devicemode::R

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

Register GRXSTSR_DEVICEMODE reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn epnum(&self) -> EPNUM_R

Bits 0:3 - Endpoint Number

source

pub fn bcnt(&self) -> BCNT_R

Bits 4:14 - Byte Count

source

pub fn dpid(&self) -> DPID_R

Bits 15:16 - Data PID

source

pub fn pkt_sts(&self) -> PKT_STS_R

Bits 17:20 - Packet Status

source

pub fn fn_(&self) -> FN_R

Bits 21:24 - Frame Number