# ICR in k210_pac::spi0 - Rust
Interrupt Clear Register
Keywords: rust, rustlang, rust-lang, ICR

# Type Definition k210_pac::spi0::ICR

source · [−]

    pub type ICR = Reg<u32, _ICR>;

Expand description

Interrupt Clear Register

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

For information about available fields see icr module

## Trait Implementations

source

### impl ResetValue for ICR

Register icr `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 ICR

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

source

### impl Writable for ICR

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