renamed MioPin update
Some checks failed
ci / Check build (push) Has been cancelled
ci / Check formatting (push) Has been cancelled
ci / Check Documentation Build (push) Has been cancelled
ci / Clippy (push) Has been cancelled
ci / Check build (pull_request) Has been cancelled
ci / Check formatting (pull_request) Has been cancelled
ci / Check Documentation Build (pull_request) Has been cancelled
ci / Clippy (pull_request) Has been cancelled

This commit is contained in:
2025-09-03 12:27:47 +02:00
parent 766ed210ca
commit 468862a1e1

View File

@@ -24,7 +24,7 @@ use crate::{
IoPeriphPin,
mio::{
Mio0, Mio1, Mio2, Mio3, Mio4, Mio5, Mio6, Mio8, Mio9, Mio10, Mio11, Mio12, Mio13,
MioPinMarker, MuxConfig, Pin,
MioPin, MuxConfig, Pin,
},
},
slcr::Slcr,
@@ -78,12 +78,12 @@ pub enum QspiVendor {
pub type OperatingMode = InstructionCode;
pub trait Qspi0ChipSelectPin: MioPinMarker {}
pub trait Qspi0Io0Pin: MioPinMarker {}
pub trait Qspi0Io1Pin: MioPinMarker {}
pub trait Qspi0Io2Pin: MioPinMarker {}
pub trait Qspi0Io3Pin: MioPinMarker {}
pub trait Qspi0ClockPin: MioPinMarker {}
pub trait Qspi0ChipSelectPin: MioPin {}
pub trait Qspi0Io0Pin: MioPin {}
pub trait Qspi0Io1Pin: MioPin {}
pub trait Qspi0Io2Pin: MioPin {}
pub trait Qspi0Io3Pin: MioPin {}
pub trait Qspi0ClockPin: MioPin {}
impl Qspi0ChipSelectPin for Pin<Mio1> {}
impl Qspi0Io0Pin for Pin<Mio2> {}
@@ -92,12 +92,12 @@ impl Qspi0Io2Pin for Pin<Mio4> {}
impl Qspi0Io3Pin for Pin<Mio5> {}
impl Qspi0ClockPin for Pin<Mio6> {}
pub trait Qspi1ChipSelectPin: MioPinMarker {}
pub trait Qspi1Io0Pin: MioPinMarker {}
pub trait Qspi1Io1Pin: MioPinMarker {}
pub trait Qspi1Io2Pin: MioPinMarker {}
pub trait Qspi1Io3Pin: MioPinMarker {}
pub trait Qspi1ClockPin: MioPinMarker {}
pub trait Qspi1ChipSelectPin: MioPin {}
pub trait Qspi1Io0Pin: MioPin {}
pub trait Qspi1Io1Pin: MioPin {}
pub trait Qspi1Io2Pin: MioPin {}
pub trait Qspi1Io3Pin: MioPin {}
pub trait Qspi1ClockPin: MioPin {}
impl Qspi1ChipSelectPin for Pin<Mio0> {}
impl Qspi1Io0Pin for Pin<Mio10> {}
@@ -106,7 +106,7 @@ impl Qspi1Io2Pin for Pin<Mio12> {}
impl Qspi1Io3Pin for Pin<Mio13> {}
impl Qspi1ClockPin for Pin<Mio9> {}
pub trait FeedbackClockPin: MioPinMarker {}
pub trait FeedbackClockPin: MioPin {}
impl FeedbackClockPin for Pin<Mio8> {}