[][src]Struct cc13x2_cc26x2_hal::crypto::hashmode::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn reserved7(&self) -> RESERVED7R[src]

Bits 7:31 - 31:7] Write 0s and ignore on reading

pub fn sha384_mode(&self) -> SHA384_MODER[src]

Bit 6 - 6:6] The host must write this bit with 1 prior to processing a SHA 384 session.

pub fn sha512_mode(&self) -> SHA512_MODER[src]

Bit 5 - 5:5] The host must write this bit with 1 prior to processing a SHA 512 session.

pub fn sha224_mode(&self) -> SHA224_MODER[src]

Bit 4 - 4:4] The host must write this bit with 1 prior to processing a SHA 224 session.

pub fn sha256_mode(&self) -> SHA256_MODER[src]

Bit 3 - 3:3] The host must write this bit with 1 prior to processing a SHA 256 session.

pub fn reserved1(&self) -> RESERVED1R[src]

Bits 1:2 - 2:1] Write 0s and ignore on reading

pub fn new_hash(&self) -> NEW_HASHR[src]

Bit 0 - 0:0] When set to 1, it indicates that the hash engine must start processing a new hash session. The [HASHDIGESTn.* ] registers will automatically be loaded with the initial hash algorithm constants of the selected hash algorithm. When this bit is 0 while the hash processing is started, the initial hash algorithm constants are not loaded in the HASHDIGESTn registers. The hash engine will start processing with the digest that is currently in its internal HASHDIGESTn registers. This bit is automatically cleared when hash processing is started.

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self