pub type TXLOC_R = FieldReader<u8, TXLOC_A>;
Expand description

Field TXLOC reader - I/O Location

Implementations§

source§

impl TXLOC_R

source

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