k210_pac::dvp::dvp_cfg

Type Alias FORMAT_R

Source
pub type FORMAT_R = R<u8, FORMAT_A>;
Expand description

Reader of field format

Aliased Type§

struct FORMAT_R { /* private fields */ }

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