Type Definition lpc81x_pac::lpc810::i2c0::stat::MSTSTSTPERR_W
source · pub type MSTSTSTPERR_W<'a, const O: u8> = BitWriter<'a, u32, STAT_SPEC, MSTSTSTPERR_A, O>;
Expand description
Field MSTSTSTPERR
writer - Master Start/Stop Error flag. This flag can be cleared by software writing a 1 to this bit. It is also cleared automatically a 1 is written to MSTCONTINUE.
Implementations§
source§impl<'a, const O: u8> MSTSTSTPERR_W<'a, O>
impl<'a, const O: u8> MSTSTSTPERR_W<'a, O>
sourcepub fn error(self) -> &'a mut W
pub fn error(self) -> &'a mut W
The Master function has experienced a Start/Stop Error. A Start or Stop was detected at a time when it is not allowed by the I2C specification. The Master interface has stopped driving the bus and gone to an idle state, no action is required. A request for a Start could be made, or software could attempt to insure that the bus has not stalled.