embassy-usb-host

Crates

git

Versions

default

Flavors

Skip to main content

Module ccid

Module ccid 

Source
Expand description

USB Chip/Smart Card Interface Device (CCID) host support.

This minimal driver discovers a CCID interface and implements the standard PC_to_RDR_GetSlotStatus exchange over its bulk endpoints.

Structs§

CcidHost
Host driver for one USB CCID interface.
CcidInfo
CCID interface and endpoint information.
SlotStatus
Decoded RDR_to_PC_SlotStatus response.

Enums§

CardState
Smart-card presence reported by a CCID slot.
CcidError
CCID host error.

Functions§

find_ccid
Find the first CCID interface with bulk IN and OUT endpoints.