pub enum SAMMode {
Normal,
VirtualCard {
timeout: u8,
},
WiredCard,
DualCard,
}
Expand description
SAM mode parameter to be used in Command::SAMConfiguration
Variants§
Normal
The SAM is not used; this is the default mode
VirtualCard
The couple PN532+SAM is seen as only one contactless SAM card from the external world
WiredCard
The host controller can access to the SAM with standard PCD commands (InListPassiveTarget, InDataExchange, …)
DualCard
Both the PN532 and the SAM are visible from the external world as two separated targets
Trait Implementations§
source§impl PartialEq for SAMMode
impl PartialEq for SAMMode
impl Copy for SAMMode
impl Eq for SAMMode
impl StructuralPartialEq for SAMMode
Auto Trait Implementations§
impl Freeze for SAMMode
impl RefUnwindSafe for SAMMode
impl Send for SAMMode
impl Sync for SAMMode
impl Unpin for SAMMode
impl UnwindSafe for SAMMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more