[−][src]Struct cc13x2_cc26x2_hal::crypto::hashmode::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn reserved7(&mut self) -> _RESERVED7W
[src]
Bits 7:31 - 31:7] Write 0s and ignore on reading
pub fn sha384_mode(&mut self) -> _SHA384_MODEW
[src]
Bit 6 - 6:6] The host must write this bit with 1 prior to processing a SHA 384 session.
pub fn sha512_mode(&mut self) -> _SHA512_MODEW
[src]
Bit 5 - 5:5] The host must write this bit with 1 prior to processing a SHA 512 session.
pub fn sha224_mode(&mut self) -> _SHA224_MODEW
[src]
Bit 4 - 4:4] The host must write this bit with 1 prior to processing a SHA 224 session.
pub fn sha256_mode(&mut self) -> _SHA256_MODEW
[src]
Bit 3 - 3:3] The host must write this bit with 1 prior to processing a SHA 256 session.
pub fn reserved1(&mut self) -> _RESERVED1W
[src]
Bits 1:2 - 2:1] Write 0s and ignore on reading
pub fn new_hash(&mut self) -> _NEW_HASHW
[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
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self