pub struct W { /* private fields */ }
Expand description
Value to write to the register
Reset value of the register
Writes raw bits to the register
Bit 0 - Battery charging detector (BCD) enable
Bit 1 - Data contact detection (DCD) mode enable
Bit 2 - Primary detection (PD) mode enable
Bit 3 - Secondary detection (SD) mode enable
Bit 15 - DP pull-up control
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.