[][src]Type Definition gd32vf103_pac::usbfs_host::hpcs::R

type R = R<u32, HPCS>;

Reader of register HPCS

Implementations

impl R[src]

pub fn pcst(&self) -> PCST_R[src]

Bit 0 - Port connect status

pub fn pcd(&self) -> PCD_R[src]

Bit 1 - Port connect detected

pub fn pe(&self) -> PE_R[src]

Bit 2 - Port enable

pub fn pedc(&self) -> PEDC_R[src]

Bit 3 - Port enable/disable change

pub fn prem(&self) -> PREM_R[src]

Bit 6 - Port resume

pub fn psp(&self) -> PSP_R[src]

Bit 7 - Port suspend

pub fn prst(&self) -> PRST_R[src]

Bit 8 - Port reset

pub fn plst(&self) -> PLST_R[src]

Bits 10:11 - Port line status

pub fn pp(&self) -> PP_R[src]

Bit 12 - Port power

pub fn ps(&self) -> PS_R[src]

Bits 17:18 - Port speed