Struct elatec_twn4_simple::Multitech3[][src]

pub struct Multitech3<RX, TX, MODE> where
    RX: Read<u8>,
    TX: Write<u8>, 
{ /* fields omitted */ }

Elatec Multitech3-based RFID card reader

Methods

impl<RX, TX> Multitech3<RX, TX, Sleep> where
    RX: Read<u8>,
    TX: Write<u8>, 
[src]

Read the results of the sleep operation and return a running reader object

impl<RX, TX> Multitech3<RX, TX, Run> where
    RX: Read<u8>,
    TX: Write<u8>, 
[src]

Reset the reader; does not return a status

Put the reader to sleep; will wake on low-power card detect or timeout

Return the number of ticks the reader has been powered on

Return the reader version string in buf

Execute a tag read operation and return the tag type and ID in buf

This does no parsing of the tag information except to strip out TLV-esqe data sent during transmission. The data is returned in the form:

[type: u8] [id_bit_cnt: u8] [tag_id: u8|...]

Trait Implementations

impl<RX: Debug, TX: Debug, MODE: Debug> Debug for Multitech3<RX, TX, MODE> where
    RX: Read<u8>,
    TX: Write<u8>, 
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<RX, TX, MODE> Send for Multitech3<RX, TX, MODE> where
    MODE: Send,
    RX: Send,
    TX: Send

impl<RX, TX, MODE> Sync for Multitech3<RX, TX, MODE> where
    MODE: Sync,
    RX: Sync,
    TX: Sync