Type Definition stm32f7::stm32f7x3::otg_fs_global::otg_fs_gccfg::W [−][src]
type W = W<u32, OTG_FS_GCCFG>;
Writer for register OTG_FS_GCCFG
Implementations
impl W
[src]
pub fn pwrdwn(&mut self) -> PWRDWN_W<'_>
[src]
Bit 16 - Power down
pub fn bcden(&mut self) -> BCDEN_W<'_>
[src]
Bit 17 - Battery charging detector (BCD) enable
pub fn dcden(&mut self) -> DCDEN_W<'_>
[src]
Bit 18 - Data contact detection (DCD) mode enable
pub fn pden(&mut self) -> PDEN_W<'_>
[src]
Bit 19 - Primary detection (PD) mode enable
pub fn sden(&mut self) -> SDEN_W<'_>
[src]
Bit 20 - Secondary detection (SD) mode enable
pub fn vbden(&mut self) -> VBDEN_W<'_>
[src]
Bit 21 - USB VBUS detection enable
pub fn dcdet(&mut self) -> DCDET_W<'_>
[src]
Bit 0 - Data contact detection (DCD) status
pub fn pdet(&mut self) -> PDET_W<'_>
[src]
Bit 1 - Primary detection (PD) status
pub fn sdet(&mut self) -> SDET_W<'_>
[src]
Bit 2 - Secondary detection (SD) status
pub fn ps2det(&mut self) -> PS2DET_W<'_>
[src]
Bit 3 - DM pull-up detection status