pub type MODE2_W<'a> = FieldWriterSafe<'a, u32, PC_MODEL_SPEC, u8, MODE2_A, 4, 8>;
Expand description
Field MODE2
writer - Pin 2 Mode
Implementations
sourceimpl<'a> MODE2_W<'a>
impl<'a> MODE2_W<'a>
sourcepub fn inputpullfilter(self) -> &'a mut W
pub fn inputpullfilter(self) -> &'a mut W
Input enabled with filter. DOUT determines pull direction
sourcepub fn pushpulldrive(self) -> &'a mut W
pub fn pushpulldrive(self) -> &'a mut W
Push-pull output with drive-strength set by DRIVEMODE
sourcepub fn wiredorpulldown(self) -> &'a mut W
pub fn wiredorpulldown(self) -> &'a mut W
Wired-or output with pull-down
sourcepub fn wiredandfilter(self) -> &'a mut W
pub fn wiredandfilter(self) -> &'a mut W
Open-drain output with filter
sourcepub fn wiredandpullup(self) -> &'a mut W
pub fn wiredandpullup(self) -> &'a mut W
Open-drain output with pullup
sourcepub fn wiredandpullupfilter(self) -> &'a mut W
pub fn wiredandpullupfilter(self) -> &'a mut W
Open-drain output with filter and pullup
sourcepub fn wiredanddrive(self) -> &'a mut W
pub fn wiredanddrive(self) -> &'a mut W
Open-drain output with drive-strength set by DRIVEMODE
sourcepub fn wiredanddrivefilter(self) -> &'a mut W
pub fn wiredanddrivefilter(self) -> &'a mut W
Open-drain output with filter and drive-strength set by DRIVEMODE
sourcepub fn wiredanddrivepullup(self) -> &'a mut W
pub fn wiredanddrivepullup(self) -> &'a mut W
Open-drain output with pullup and drive-strength set by DRIVEMODE
sourcepub fn wiredanddrivepullupfilter(self) -> &'a mut W
pub fn wiredanddrivepullupfilter(self) -> &'a mut W
Open-drain output with filter, pullup and drive-strength set by DRIVEMODE