Type Definition stm32f2::stm32f217::otg_fs_host::fs_hprt::W[][src]

type W = W<u32, FS_HPRT>;

Writer for register FS_HPRT

Implementations

impl W[src]

pub fn pcdet(&mut self) -> PCDET_W<'_>[src]

Bit 1 - Port connect detected

pub fn pena(&mut self) -> PENA_W<'_>[src]

Bit 2 - Port enable

pub fn penchng(&mut self) -> PENCHNG_W<'_>[src]

Bit 3 - Port enable/disable change

pub fn pocchng(&mut self) -> POCCHNG_W<'_>[src]

Bit 5 - Port overcurrent change

pub fn pres(&mut self) -> PRES_W<'_>[src]

Bit 6 - Port resume

pub fn psusp(&mut self) -> PSUSP_W<'_>[src]

Bit 7 - Port suspend

pub fn prst(&mut self) -> PRST_W<'_>[src]

Bit 8 - Port reset

pub fn ppwr(&mut self) -> PPWR_W<'_>[src]

Bit 12 - Port power

pub fn ptctl(&mut self) -> PTCTL_W<'_>[src]

Bits 13:16 - Port test control