[][src]Struct stm32l4xx_hal::stm32::i2c1::cr1::_ALERTENW

pub struct _ALERTENW<'a> { /* fields omitted */ }

Proxy

Methods

impl<'a> _ALERTENW<'a>[src]

pub fn variant(self, variant: ALERTENW) -> &'a mut W[src]

Writes variant to the field

pub fn disabled(self) -> &'a mut W[src]

In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported

pub fn enabled(self) -> &'a mut W[src]

In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported

pub fn set_bit(self) -> &'a mut W[src]

Sets the field bit

pub fn clear_bit(self) -> &'a mut W[src]

Clears the field bit

pub fn bit(self, value: bool) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for _ALERTENW<'a>

impl<'a> Sync for _ALERTENW<'a>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self