[][src]Struct lpc54606_pac::spifi0::ctrl::MODE3_W

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

Write proxy for field MODE3

Methods

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

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

Writes variant to the field

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

SCK LOW. The SPIFI drives SCK low after the rising edge at which the last bit of each command is captured, and keeps it low while CS is HIGH.

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

SCK HIGH. the SPIFI keeps SCK high after the rising edge for the last bit of each command and while CS is HIGH, and drives it low after it drives CS LOW. (Known serial flash devices can handle either mode, but some devices may require a particular mode for proper operation.) MODE3, RFCLK, and FBCLK should not all be 1, because in this case there is no final falling edge on SCK on which to sample the last data bit of the frame.

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 MODE3_W<'a>

impl<'a> !Sync for MODE3_W<'a>

impl<'a> Unpin for MODE3_W<'a>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.