pub type BANKSEL_R = FieldReader<u8, BANKSEL_A>;
Expand description

Field BANKSEL reader - Graphics Bank

Implementations§

source§

impl BANKSEL_R

source

pub fn variant(&self) -> BANKSEL_A

Get enumerated values variant

source

pub fn is_bank0(&self) -> bool

Checks if the value of the field is BANK0

source

pub fn is_bank1(&self) -> bool

Checks if the value of the field is BANK1

source

pub fn is_bank2(&self) -> bool

Checks if the value of the field is BANK2

source

pub fn is_bank3(&self) -> bool

Checks if the value of the field is BANK3