Type Definition efm32gg11b_pac::efm32gg11b110::can1::route::RXLOC_R

source ·
pub type RXLOC_R = FieldReader<u8, RXLOC_A>;
Expand description

Field RXLOC reader - RX Pin Location

Implementations§

source§

impl RXLOC_R

source

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

source

pub fn is_loc7(&self) -> bool

Checks if the value of the field is LOC7