Type Alias xmc4800::usb0::hprt::W

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

Register HPRT writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn prt_conn_det(&mut self) -> PrtConnDetW<'_, HprtSpec>

Bit 1 - Port Connect Detected

source

pub fn prt_ena(&mut self) -> PrtEnaW<'_, HprtSpec>

Bit 2 - Port Enable

source

pub fn prt_en_chng(&mut self) -> PrtEnChngW<'_, HprtSpec>

Bit 3 - Port Enable/Disable Change

source

pub fn prt_ovr_curr_chng(&mut self) -> PrtOvrCurrChngW<'_, HprtSpec>

Bit 5 - Port Overcurrent Change

source

pub fn prt_res(&mut self) -> PrtResW<'_, HprtSpec>

Bit 6 - Port Resume

source

pub fn prt_susp(&mut self) -> PrtSuspW<'_, HprtSpec>

Bit 7 - Port Suspend

source

pub fn prt_rst(&mut self) -> PrtRstW<'_, HprtSpec>

Bit 8 - Port Reset

source

pub fn prt_pwr(&mut self) -> PrtPwrW<'_, HprtSpec>

Bit 12 - Port Power