# R in k210_pac::sha256::num_reg - Rust
Reader of register num_reg
Keywords: rust, rustlang, rust-lang, R

# Type Definition k210_pac::sha256::num_reg::R

source · [−]

    pub type R = R<u32, NUM_REG>;

Expand description

Reader of register num_reg

## Implementations

source

### impl R

source

#### pub fn data_cnt(&self) -> DATA_CNT_R

Bits 0:15 - The total amount of data calculated by SHA256 is set by this register, and the smallest unit is 512bit

source

#### pub fn data_num(&self) -> DATA_NUM_R

Bits 16:31 - Currently calculated block number. 512bit=1block