Type Alias xmc4800::usb0::hprt::R

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

Register HPRT reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn prt_conn_sts(&self) -> PrtConnStsR

Bit 0 - Port Connect Status

source

pub fn prt_conn_det(&self) -> PrtConnDetR

Bit 1 - Port Connect Detected

source

pub fn prt_ena(&self) -> PrtEnaR

Bit 2 - Port Enable

source

pub fn prt_en_chng(&self) -> PrtEnChngR

Bit 3 - Port Enable/Disable Change

source

pub fn prt_ovr_curr_act(&self) -> PrtOvrCurrActR

Bit 4 - Port Overcurrent Active

source

pub fn prt_ovr_curr_chng(&self) -> PrtOvrCurrChngR

Bit 5 - Port Overcurrent Change

source

pub fn prt_res(&self) -> PrtResR

Bit 6 - Port Resume

source

pub fn prt_susp(&self) -> PrtSuspR

Bit 7 - Port Suspend

source

pub fn prt_rst(&self) -> PrtRstR

Bit 8 - Port Reset

source

pub fn prt_ln_sts(&self) -> PrtLnStsR

Bits 10:11 - Port Line Status

source

pub fn prt_pwr(&self) -> PrtPwrR

Bit 12 - Port Power

source

pub fn prt_spd(&self) -> PrtSpdR

Bits 17:18 - Port Speed