[][src]Struct stm32h7::stm32h743::jpeg::confr1::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn nf(&mut self) -> _NFW[src]

Bits 0:1 - Number of color components This field defines the number of color components minus 1.

pub fn de(&mut self) -> _DEW[src]

Bit 3 - Decoding Enable This bit selects the coding or decoding process

pub fn colorspace(&mut self) -> _COLORSPACEW[src]

Bits 4:5 - Color Space This filed defines the number of quantization tables minus 1 to insert in the output stream.

pub fn ns(&mut self) -> _NSW[src]

Bits 6:7 - Number of components for Scan This field defines the number of components minus 1 for scan header marker segment.

pub fn hdr(&mut self) -> _HDRW[src]

Bit 8 - Header Processing This bit enable the header processing (generation/parsing).

pub fn ysize(&mut self) -> _YSIZEW[src]

Bits 16:31 - Y Size This field defines the number of lines in source image.

Auto Trait Implementations

impl Unpin for W

impl Send for W

impl Sync for W

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self