[−][src]Type Definition stm32wb_pac::usb::bcdr::R
type R = R<u16, BCDR>;
Reader of register BCDR
Implementations
impl R
[src]
pub fn bcden(&self) -> BCDEN_R
[src]
Bit 0 - Battery charging detector (BCD) enable
pub fn dcden(&self) -> DCDEN_R
[src]
Bit 1 - Data contact detection (DCD) mode enable
pub fn pden(&self) -> PDEN_R
[src]
Bit 2 - Primary detection (PD) mode enable
pub fn sden(&self) -> SDEN_R
[src]
Bit 3 - Secondary detection (SD) mode enable
pub fn dcdet(&self) -> DCDET_R
[src]
Bit 4 - Data contact detection (DCD) status
pub fn pdet(&self) -> PDET_R
[src]
Bit 5 - Primary detection (PD) status
pub fn sdet(&self) -> SDET_R
[src]
Bit 6 - Secondary detection (SD) status
pub fn ps2det(&self) -> PS2DET_R
[src]
Bit 7 - DM pull-up detection status
pub fn dppu(&self) -> DPPU_R
[src]
Bit 15 - DP pull-up control