Outctl

Type Alias Outctl 

Source
pub type Outctl = RegValueT<Outctl_SPEC>;
Expand description

Output Control Register

Aliased Type§

pub struct Outctl { /* private fields */ }

Implementations§

Source§

impl Outctl

Source

pub fn sdoc(self) -> RegisterField<0, 0x1, 1, 0, Sdoc, Sdoc, Outctl_SPEC, RW>

SDA Output Control

Source

pub fn scoc(self) -> RegisterField<1, 0x1, 1, 0, Scoc, Scoc, Outctl_SPEC, RW>

SCL Output Control

Source

pub fn socwp(self) -> RegisterField<2, 0x1, 1, 0, Socwp, Socwp, Outctl_SPEC, W>

SCL/SDA Output Control Write Protect

Source

pub fn excyc(self) -> RegisterField<4, 0x1, 1, 0, Excyc, Excyc, Outctl_SPEC, RW>

Extra SCL Clock Cycle Output

Source

pub fn sdod(self) -> RegisterField<8, 0x7, 1, 0, Sdod, Sdod, Outctl_SPEC, RW>

SDA Output Delay

Source

pub fn sdodcs( self, ) -> RegisterField<15, 0x1, 1, 0, Sdodcs, Sdodcs, Outctl_SPEC, RW>

SDA Output Delay Clock Source Selection

Trait Implementations§

Source§

impl Default for Outctl

Source§

fn default() -> Outctl

Returns the “default value” for a type. Read more