Type Alias d1_pac::ledc::ledc_ctrl::LED_RGB_MODE_R

source ·
pub type LED_RGB_MODE_R = FieldReader<u8, LED_RGB_MODE_A>;
Expand description

Field led_rgb_mode reader -

Aliased Type§

struct LED_RGB_MODE_R { /* private fields */ }

Implementations§

source§

impl LED_RGB_MODE_R

source

pub fn variant(&self) -> Option<LED_RGB_MODE_A>

Get enumerated values variant

source

pub fn is_grb(&self) -> bool

Checks if the value of the field is GRB

source

pub fn is_gbr(&self) -> bool

Checks if the value of the field is GBR

source

pub fn is_rgb(&self) -> bool

Checks if the value of the field is RGB

source

pub fn is_rbg(&self) -> bool

Checks if the value of the field is RBG

source

pub fn is_bgr(&self) -> bool

Checks if the value of the field is BGR

source

pub fn is_brg(&self) -> bool

Checks if the value of the field is BRG