Type Alias xmc4300::usb0::grxstsr_hostmode::R

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

Register GRXSTSR_HOSTMODE reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn ch_num(&self) -> ChNumR

Bits 0:3 - Channel 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