UemActivateParameters

Struct UemActivateParameters 

Source
pub struct UemActivateParameters {
    pub baudrate_card_reader: UemCardBaudrates,
    pub baudrate_reader_card: UemCardBaudrates,
    pub radio_off_period: u8,
    pub pause_after_radio_on: u8,
    pub switch_to_tcl: bool,
    pub tcl_cid: u8,
    pub btype_afi: u8,
    pub btype_use_ext_atqb: bool,
    pub btype_time_slots: u8,
}
Expand description

Card activation parameters

This structure can be used to both activate cards of type ISO14443A and ISO14443B

Fields§

§baudrate_card_reader: UemCardBaudrates

Required baudrate of card -> reader channel

§baudrate_reader_card: UemCardBaudrates

Required baudrate of reader -> card channel

§radio_off_period: u8

Time in milliseconds to turn radio off before requesting next card.

§pause_after_radio_on: u8

After a radio field has been turned on, it is necessary to give cards little time to fully power up. Set in milliseconds.

§switch_to_tcl: bool

Enables cards to be automatically switched to T=CL protocol (ISO14443-4)

§tcl_cid: u8

If switched to T=CL, then which card identifier (CID) to use

§btype_afi: u8

For cards of type ISO14443B - application family identifier

§btype_use_ext_atqb: bool

For cards of type ISO14443B - request extended answer to query data

§btype_time_slots: u8

For cards of type ISO14443B - number of time slots to use

Trait Implementations§

Source§

impl Clone for UemActivateParameters

Source§

fn clone(&self) -> UemActivateParameters

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UemActivateParameters

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for UemActivateParameters

Source§

fn default() -> UemActivateParameters

Returns the “default value” for a type. Read more
Source§

impl Copy for UemActivateParameters

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V