Type Alias xmc4300::usb0_ch0::hcchar::R

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

Register HCCHAR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn mps(&self) -> MPS_R

Bits 0:10 - Maximum Packet Size

source

pub fn epnum(&self) -> EPNUM_R

Bits 11:14 - Endpoint Number

source

pub fn epdir(&self) -> EPDIR_R

Bit 15 - Endpoint Direction

source

pub fn eptype(&self) -> EPTYPE_R

Bits 18:19 - Endpoint Type

source

pub fn mc_ec(&self) -> MC_EC_R

Bits 20:21 - Multi Count / Error Count

source

pub fn dev_addr(&self) -> DEV_ADDR_R

Bits 22:28 - Device Address

source

pub fn odd_frm(&self) -> ODD_FRM_R

Bit 29 - Odd Frame

source

pub fn ch_dis(&self) -> CH_DIS_R

Bit 30 - Channel Disable

source

pub fn ch_ena(&self) -> CH_ENA_R

Bit 31 - Channel Enable