Div0TrpR

Type Alias Div0TrpR 

pub type Div0TrpR = BitReader<Div0Trp>;
Expand description

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

Aliased Type§

pub struct Div0TrpR { /* private fields */ }

Implementations§

§

impl Div0TrpR

pub const fn variant(&self) -> Div0Trp

Get enumerated values variant

pub fn is_0(&self) -> bool

do not trap divide by 0

pub fn is_1(&self) -> bool

trap divide by 0