pub type CDLOC_R = FieldReader<u8, CDLOC_A>;
Expand description

Field CDLOC reader - I/O Location for CD

Implementations§

source§

impl CDLOC_R

source

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

Get enumerated values variant

source

pub fn is_loc0(&self) -> bool

Checks if the value of the field is LOC0

source

pub fn is_loc1(&self) -> bool

Checks if the value of the field is LOC1

source

pub fn is_loc2(&self) -> bool

Checks if the value of the field is LOC2

source

pub fn is_loc3(&self) -> bool

Checks if the value of the field is LOC3