1 2 3 4 5 6 7 8 9 10 11 12 13
use crate::{Error, lib_enum}; lib_enum! { /// Represents modes for the `SWITCH_FUNC` (`CMD6`) command. Mode: u8 { default: Check, error: Error, /// Checks if a card supports a switchable function. Check = 0, /// Switches card function. Switch = 1, } }