Struct stm32h7xx_hal::pac::ltdc::layer::pfcr::PF_W[][src]

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

Write proxy for field PF

Implementations

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

pub fn variant(self, variant: PF_A) -> &'a mut W<u32, Reg<u32, _PFCR>>[src]

Writes variant to the field

pub fn argb8888(self) -> &'a mut W<u32, Reg<u32, _PFCR>>[src]

ARGB8888

pub fn rgb888(self) -> &'a mut W<u32, Reg<u32, _PFCR>>[src]

RGB888

pub fn rgb565(self) -> &'a mut W<u32, Reg<u32, _PFCR>>[src]

RGB565

pub fn argb1555(self) -> &'a mut W<u32, Reg<u32, _PFCR>>[src]

ARGB1555

pub fn argb4444(self) -> &'a mut W<u32, Reg<u32, _PFCR>>[src]

ARGB4444

pub fn l8(self) -> &'a mut W<u32, Reg<u32, _PFCR>>[src]

L8 (8-bit luminance)

pub fn al44(self) -> &'a mut W<u32, Reg<u32, _PFCR>>[src]

AL44 (4-bit alpha, 4-bit luminance)

pub fn al88(self) -> &'a mut W<u32, Reg<u32, _PFCR>>[src]

AL88 (8-bit alpha, 8-bit luminance)

pub fn bits(self, value: u8) -> &'a mut W<u32, Reg<u32, _PFCR>>[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for PF_W<'a>

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

impl<'a> Unpin for PF_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.