Type Alias d1_pac::tcon_lcd0::lcd_safe_period::SAFE_PERIOD_MODE_R

source ·
pub type SAFE_PERIOD_MODE_R = FieldReader<u8, SAFE_PERIOD_MODE_A>;
Expand description

Field safe_period_mode reader - Select the save mode

Aliased Type§

struct SAFE_PERIOD_MODE_R { /* private fields */ }

Implementations§

source§

impl SAFE_PERIOD_MODE_R

source

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

Get enumerated values variant

source

pub fn is_unsafe(&self) -> bool

Checks if the value of the field is UNSAFE

source

pub fn is_safe(&self) -> bool

Checks if the value of the field is SAFE

source

pub fn is_safe_fifo_curr_num_gt_safe_period_fifo_num(&self) -> bool

Checks if the value of the field is SAFE_FIFO_CURR_NUM_GT_SAFE_PERIOD_FIFO_NUM

source

pub fn is_safe_2_sync_active(&self) -> bool

Checks if the value of the field is SAFE_2_SYNC_ACTIVE

source

pub fn is_safe_line(&self) -> bool

Checks if the value of the field is SAFE_LINE