Div0TrpW

Type Alias Div0TrpW 

pub type Div0TrpW<'a, REG> = BitWriter<'a, REG, Div0Trp>;
Expand description

Field DIV_0_TRP writer - Enables faulting or halting when the processor executes an SDIV or UDIV instruction with a divisor of 0

Aliased Type§

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

Implementations§

§

impl<'a, REG> Div0TrpW<'a, REG>
where REG: Writable + RegisterSpec,

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

do not trap divide by 0

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

trap divide by 0