# SAR in k210_pac::i2c0 - Rust
Slave Address Register
Keywords: rust, rustlang, rust-lang, SAR

# Type Definition k210_pac::i2c0::SAR

source · [−]

    pub type SAR = Reg<u32, _SAR>;

Expand description

Slave Address Register

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

For information about available fields see sar module

## Trait Implementations

source

### impl ResetValue for SAR

Register sar `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 SAR

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

source

### impl Writable for SAR

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