Interface refactor 2
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
use embedded_hal::delay::DelayNs;
|
||||
use embedded_hal::digital::{InputPin, OutputPin};
|
||||
use crate::{Interface, Pn532};
|
||||
|
||||
impl<B: Interface, const N: usize> Pn532<B, N> {
|
||||
impl<RST, IRQ, DELAY, B, const N: usize> Pn532<RST, IRQ, DELAY, B, N>
|
||||
where
|
||||
RST: OutputPin,
|
||||
IRQ: InputPin,
|
||||
DELAY: DelayNs,
|
||||
B: Interface<RST, IRQ, DELAY>
|
||||
{
|
||||
pub fn setup_first_issuance(&mut self) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user