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

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

Register GRXSTSR_HOSTMODE reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn ch_num(&self) -> CH_NUM_R

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