RmodeW

Type Alias RmodeW 

pub type RmodeW<'a, REG> = FieldWriter<'a, REG, 2, Rmode, Safe>;
Expand description

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

Aliased Type§

pub struct RmodeW<'a, REG> { /* private fields */ }

Implementations§

§

impl<'a, REG> RmodeW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

pub fn _00(self) -> &'a mut W<REG>

Round to Nearest (RN) mode

pub fn _01(self) -> &'a mut W<REG>

Round towards Plus Infinity (RP) mode.

pub fn _10(self) -> &'a mut W<REG>

Round towards Minus Infinity (RM) mode.

pub fn _11(self) -> &'a mut W<REG>

Round towards Zero (RZ) mode.