Type Alias d1_pac::tcon_lcd0::lcd_cpu_if::CPU_MODE_R

source ·
pub type CPU_MODE_R = FieldReader<u8, CPU_MODE_A>;
Expand description

Field cpu_mode reader - Set the cpu interface work mode

Aliased Type§

struct CPU_MODE_R { /* private fields */ }

Implementations§

source§

impl CPU_MODE_R

source

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

Get enumerated values variant

source

pub fn is_b_it18_256k_mode(&self) -> bool

Checks if the value of the field is B_IT18_256K_MODE

source

pub fn is_b_it16_mode0(&self) -> bool

Checks if the value of the field is B_IT16_MODE0

source

pub fn is_b_it16_mode1(&self) -> bool

Checks if the value of the field is B_IT16_MODE1

source

pub fn is_b_it16_mode2(&self) -> bool

Checks if the value of the field is B_IT16_MODE2

source

pub fn is_b_it16_mode3(&self) -> bool

Checks if the value of the field is B_IT16_MODE3

source

pub fn is_b_it9_mode(&self) -> bool

Checks if the value of the field is B_IT9_MODE

source

pub fn is_b_it8_256k_mode(&self) -> bool

Checks if the value of the field is B_IT8_256K_MODE

source

pub fn is_b_it8_65k_mode(&self) -> bool

Checks if the value of the field is B_IT8_65K_MODE

source

pub fn is_b_it24_for_dsi(&self) -> bool

Checks if the value of the field is B_IT24_FOR_DSI