Struct pn532::spi::SPIInterfaceWithIrq [−][src]
pub struct SPIInterfaceWithIrq<SPI, CS, IRQ> where
SPI: Transfer<u8>,
SPI: Write<u8, Error = <SPI as Transfer<u8>>::Error>,
<SPI as Transfer<u8>>::Error: Debug,
CS: OutputPin<Error = Infallible>,
IRQ: InputPin<Error = Infallible>, {
pub spi: SPI,
pub cs: CS,
pub irq: IRQ,
}
Expand description
SPI Interface with IRQ pin
Fields
spi: SPI
cs: CS
irq: IRQ
Trait Implementations
Checks if the Pn532 has data to be read. Uses either the serial link or the IRQ pin. Read more
Auto Trait Implementations
impl<SPI, CS, IRQ> RefUnwindSafe for SPIInterfaceWithIrq<SPI, CS, IRQ> where
CS: RefUnwindSafe,
IRQ: RefUnwindSafe,
SPI: RefUnwindSafe,
impl<SPI, CS, IRQ> Send for SPIInterfaceWithIrq<SPI, CS, IRQ> where
CS: Send,
IRQ: Send,
SPI: Send,
impl<SPI, CS, IRQ> Sync for SPIInterfaceWithIrq<SPI, CS, IRQ> where
CS: Sync,
IRQ: Sync,
SPI: Sync,
impl<SPI, CS, IRQ> Unpin for SPIInterfaceWithIrq<SPI, CS, IRQ> where
CS: Unpin,
IRQ: Unpin,
SPI: Unpin,
impl<SPI, CS, IRQ> UnwindSafe for SPIInterfaceWithIrq<SPI, CS, IRQ> where
CS: UnwindSafe,
IRQ: UnwindSafe,
SPI: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more