# IMR in k210_pac::spi0 - Rust
Interrupt Mask Register
Keywords: rust, rustlang, rust-lang, IMR

# Type Definition k210_pac::spi0::IMR

source · [−]

    pub type IMR = Reg<u32, _IMR>;

Expand description

Interrupt Mask Register

This register you can `read`, `reset`, `write`, `write_with_zero`, `modify`. See API.

For information about available fields see imr module

## Trait Implementations

source

### impl ResetValue for IMR

Register imr `reset()`’s with value 0

#### type Type = u32

Raw register type (`u8`, `u16`, `u32`, …).

source

#### fn reset_value() -> Self::Type

Reset value of the register.

source

### impl Readable for IMR

`read()` method returns imr::R reader structure

source

### impl Writable for IMR

`write(|w| ..)` method takes imr::W writer structure