# W in k210_pac::sha256::function_reg_0 - Rust
Writer for register function_reg_0
Keywords: rust, rustlang, rust-lang, W

# Type Definition k210_pac::sha256::function_reg_0::W

source · [−]

    pub type W = W<u32, FUNCTION_REG_0>;

Expand description

Writer for register function_reg_0

## Implementations

source

### impl W

source

#### pub fn en(&mut self) -> EN_W<'_>

Bit 0 - write:SHA256 enable register. read:Calculation completed flag

source

#### pub fn overflow(&mut self) -> OVERFLOW_W<'_>

Bit 8 - SHA256 calculation overflow flag

source

#### pub fn endian(&mut self) -> ENDIAN_W<'_>

Bit 16 - Endian setting