Type Definition stm32f1::stm32f100::i2c1::cr1::SMBTYPE_R[][src]

type SMBTYPE_R = R<bool, SMBTYPE_A>;

Reader of field SMBTYPE

Implementations

impl SMBTYPE_R[src]

pub fn variant(&self) -> SMBTYPE_A[src]

Get enumerated values variant

pub fn is_device(&self) -> bool[src]

Checks if the value of the field is DEVICE

pub fn is_host(&self) -> bool[src]

Checks if the value of the field is HOST