[][src]Type Definition betrusted_pac::i2c::control::R

type R = R<u32, CONTROL>;

Reader of register CONTROL

Methods

impl R[src]

pub fn resvd(&self) -> RESVD_R[src]

Bits 0:5 - Reserved (for cross-compatibility with OpenCores drivers)

pub fn ien(&self) -> IEN_R[src]

Bit 6 - When set to 1, interrupts are enabled.

pub fn en(&self) -> EN_R[src]

Bit 7 - When set to 1, the core is enabled.