pub struct Mfrc522<SPI, NSS> { /* private fields */ }
Expand description

MFRC522 driver

Implementations

Creates a new driver from a SPI driver and a NSS pin

Sends a REQuest type A to nearby PICCs

Sends a Wake UP type A to nearby PICCs

Sends command to enter HALT state

Selects a PICC in the READY state

Switch off the MIFARE Crypto1 unit. Must be done after communication with an authenticated PICC

Returns the version of the MFRC522

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.