efm32lg290_pac::cmu::route

Type Alias LOCATION_R

Source
pub type LOCATION_R = FieldReader<u8, LOCATION_A>;
Expand description

Field LOCATION reader - I/O Location

Aliased Type§

struct LOCATION_R { /* private fields */ }

Implementations§

Source§

impl LOCATION_R

Source

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