Struct nrf52::spi::registers::spim::InterruptEnable
[−]
pub struct InterruptEnable(pub u32);
Represents bitfields in intenset
and intenclr
registers.
Methods
impl InterruptEnable
pub fn stopped(&self) -> u32
pub fn set_stopped(&mut self, value: u32)
pub fn end_rx(&self) -> u32
pub fn set_end_rx(&mut self, value: u32)
pub fn end(&self) -> u32
pub fn set_end(&mut self, value: u32)
pub fn end_tx(&self) -> u32
pub fn set_end_tx(&mut self, value: u32)
pub fn started(&self) -> u32
pub fn set_started(&mut self, value: u32)
Trait Implementations
impl Debug for InterruptEnable
impl Copy for InterruptEnable
[src]
impl Clone for InterruptEnable
[src]
fn clone(&self) -> InterruptEnable
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T> BitRange<T> for InterruptEnable where
u32: BitRange<T>,
u32: BitRange<T>,
fn bit_range(&self, msb: usize, lsb: usize) -> T
Get a range of bits.
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.