[][src]Type Definition stm32wb_pac::usb::bcdr::W

type W = W<u16, BCDR>;

Writer for register BCDR

Implementations

impl W[src]

pub fn bcden(&mut self) -> BCDEN_W<'_>[src]

Bit 0 - Battery charging detector (BCD) enable

pub fn dcden(&mut self) -> DCDEN_W<'_>[src]

Bit 1 - Data contact detection (DCD) mode enable

pub fn pden(&mut self) -> PDEN_W<'_>[src]

Bit 2 - Primary detection (PD) mode enable

pub fn sden(&mut self) -> SDEN_W<'_>[src]

Bit 3 - Secondary detection (SD) mode enable

pub fn dppu(&mut self) -> DPPU_W<'_>[src]

Bit 15 - DP pull-up control