mfrc522

Crates.iomfrc522
lib.rsmfrc522
version
sourcesrc
created_at2018-01-17 02:05:38.470682
updated_at2024-11-24 20:02:34.156614
descriptionA platform agnostic driver to interface the MFRC522 (RFID reader/writer)
homepagehttps://gitlab.com/jspngh/mfrc522
repositoryhttps://gitlab.com/jspngh/mfrc522
max_upload_size
id47135
Cargo.toml error:TOML parse error at line 21, column 1 | 21 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Jonas Spanoghe (jspngh)

documentation

https://docs.rs/mfrc522

README

Rust MFRC522 driver

This is a no_std driver for the MFRC522, an ISO/IEC 14443 A/MIFARE reader/writer IC.

This repository is an extension of japaric/mfrc522 and the new home of the mfrc522 crate.
For more information on the background of this repository, go here.

What works:

  • SPI communication with the MFRC522
  • Anticollision loop
  • Select for 4-byte and 7-byte UIDs
  • Mifare Classic authentication
  • Reading/writing data
  • Configurable timeout
  • Non-blocking API + support for the interrupt pin
  • Mifare Ultralight C 3DES authentication (no support planned)

Examples

In the examples/ directory, you can find examples for:

  • STM32L4 (no_std + embassy)
  • Raspberry Pi 2040 (no_std + rp-hal)
  • Raspberry Pi 4 (std)

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 85

cargo fmt