# DATA_CMD in k210_pac::i2c0 - Rust
Data Buffer and Command Register
Keywords: rust, rustlang, rust-lang, DATA_CMD

# Type Definition k210_pac::i2c0::DATA_CMD

source · [−]

    pub type DATA_CMD = Reg<u32, _DATA_CMD>;

Expand description

Data Buffer and Command Register

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

For information about available fields see data_cmd module

## Trait Implementations

source

### impl ResetValue for DATA_CMD

Register data_cmd `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 DATA_CMD

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

source

### impl Writable for DATA_CMD

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