pub type CSLOC_R = FieldReader<u8, CSLOC_A>;
Expand description

Field CSLOC reader - I/O Location

Implementations§

source§

impl CSLOC_R

source

pub fn variant(&self) -> Option<CSLOC_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

source

pub fn is_loc4(&self) -> bool

Checks if the value of the field is LOC4

source

pub fn is_loc5(&self) -> bool

Checks if the value of the field is LOC5

source

pub fn is_loc6(&self) -> bool

Checks if the value of the field is LOC6