Type Alias R

Source
pub type R = R<u16, BCDR>;
Expand description

Reader of register BCDR

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn bcden(&self) -> BCDEN_R

Bit 0 - Battery charging detector (BCD) enable

Source

pub fn dcden(&self) -> DCDEN_R

Bit 1 - Data contact detection (DCD) mode enable

Source

pub fn pden(&self) -> PDEN_R

Bit 2 - Primary detection (PD) mode enable

Source

pub fn sden(&self) -> SDEN_R

Bit 3 - Secondary detection (SD) mode enable

Source

pub fn dcdet(&self) -> DCDET_R

Bit 4 - Data contact detection (DCD) status

Source

pub fn pdet(&self) -> PDET_R

Bit 5 - Primary detection (PD) status

Source

pub fn sdet(&self) -> SDET_R

Bit 6 - Secondary detection (SD) status

Source

pub fn ps2det(&self) -> PS2DET_R

Bit 7 - DM pull-up detection status

Source

pub fn dppu(&self) -> DPPU_R

Bit 15 - DP pull-up control