[][src]Struct stm32h7xx_hal::pac::jpeg::confrn1::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 W[src]

Writes raw bits to the register

pub fn hd(&mut self) -> _HDW[src]

Bit 0 - Huffman DC Selects the Huffman table for encoding the DC coefficients.

pub fn ha(&mut self) -> _HAW[src]

Bit 1 - Huffman AC Selects the Huffman table for encoding the AC coefficients.

pub fn qt(&mut self) -> _QTW[src]

Bits 2:3 - Quantization Table Selects quantization table associated with a color component.

pub fn nb(&mut self) -> _NBW[src]

Bits 4:7 - Number of Block Number of data units minus 1 that belong to a particular color in the MCU.

pub fn vsf(&mut self) -> _VSFW[src]

Bits 8:11 - Vertical Sampling Factor Vertical sampling factor for component i.

pub fn hsf(&mut self) -> _HSFW[src]

Bits 12:15 - Horizontal Sampling Factor Horizontal sampling factor for component i.

Auto Trait Implementations

impl Unpin for W

impl Send for W

impl Sync for W

Blanket Implementations

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

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, 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