RmodeR

Type Alias RmodeR 

pub type RmodeR = FieldReader<Rmode>;
Expand description

Field RMode reader - Default value for FPSCR.RMode (Rounding Mode control field).

Aliased Type§

pub struct RmodeR { /* private fields */ }

Implementations§

§

impl RmodeR

pub const fn variant(&self) -> Rmode

Get enumerated values variant

pub fn is_00(&self) -> bool

Round to Nearest (RN) mode

pub fn is_01(&self) -> bool

Round towards Plus Infinity (RP) mode.

pub fn is_10(&self) -> bool

Round towards Minus Infinity (RM) mode.

pub fn is_11(&self) -> bool

Round towards Zero (RZ) mode.