Type Alias xmc4800::usb0::grxstsr_devicemode::R

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

Register GRXSTSR_DEVICEMODE reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn epnum(&self) -> EpnumR

Bits 0:3 - Endpoint Number

source

pub fn bcnt(&self) -> BcntR

Bits 4:14 - Byte Count

source

pub fn dpid(&self) -> DpidR

Bits 15:16 - Data PID

source

pub fn pkt_sts(&self) -> PktStsR

Bits 17:20 - Packet Status

source

pub fn fn_(&self) -> FnR

Bits 21:24 - Frame Number