# FORMAT_R in k210_pac::dvp::dvp_cfg - Rust
Reader of field `format`
Keywords: rust, rustlang, rust-lang, FORMAT_R

# Type Definition k210_pac::dvp::dvp_cfg::FORMAT_R

source · [−]

    pub type FORMAT_R = R<u8, FORMAT_A>;

Expand description

Reader of field `format`

## Implementations

source

### impl FORMAT_R

source

#### pub fn variant(&self) -> Variant<u8, FORMAT_A>

Get enumerated values variant

source

#### pub fn is_rgb(&self) -> bool

Checks if the value of the field is `RGB`

source

#### pub fn is_yuv(&self) -> bool

Checks if the value of the field is `YUV`

source

#### pub fn is_y(&self) -> bool

Checks if the value of the field is `Y`