sdmmc_core/command/class/class8/acmd53/arg/
sssf.rs

1use crate::lib_enum;
2use crate::result::Error;
3
4lib_enum! {
5    /// Represents the `sssf` field of the [Argument](super::Argument).
6    ///
7    /// The SD Security Specific Field indicates the security protocol to use for data transfers to
8    /// the card.
9    SdSecuritySpecificField: u8 {
10        default: ReplayProtectedMemoryBlock,
11        error: Error,
12        /// Replay protected memory block.
13        ///
14        /// This security mode provides a mechanism to securely write authenticated blocks to card
15        /// memory, and protect against replay attacks.
16        ReplayProtectedMemoryBlock = 1,
17    }
18}