pub struct PinGroup<'d, T, C> { /* private fields */ }
Expand description
Pin group definition Pins are organized into groups of four IOs, all groups with a sampling channel must also have a sampling capacitor channel.
Implementations§
source§impl<'d, T: Instance> PinGroup<'d, T, G1>
impl<'d, T: Instance> PinGroup<'d, T, G1>
sourcepub fn set_io1(
&mut self,
pin: impl Peripheral<P = impl G1IO1Pin<T>> + 'd,
role: PinType,
)
pub fn set_io1( &mut self, pin: impl Peripheral<P = impl G1IO1Pin<T>> + 'd, role: PinType, )
Create a new pin1 for G1 TSC group instance.
sourcepub fn set_io2(
&mut self,
pin: impl Peripheral<P = impl G1IO2Pin<T>> + 'd,
role: PinType,
)
pub fn set_io2( &mut self, pin: impl Peripheral<P = impl G1IO2Pin<T>> + 'd, role: PinType, )
Create a new pin2 for G1 TSC group instance.
sourcepub fn set_io3(
&mut self,
pin: impl Peripheral<P = impl G1IO3Pin<T>> + 'd,
role: PinType,
)
pub fn set_io3( &mut self, pin: impl Peripheral<P = impl G1IO3Pin<T>> + 'd, role: PinType, )
Create a new pin3 for G1 TSC group instance.
sourcepub fn set_io4(
&mut self,
pin: impl Peripheral<P = impl G1IO4Pin<T>> + 'd,
role: PinType,
)
pub fn set_io4( &mut self, pin: impl Peripheral<P = impl G1IO4Pin<T>> + 'd, role: PinType, )
Create a new pin4 for G1 TSC group instance.
source§impl<'d, T: Instance> PinGroup<'d, T, G2>
impl<'d, T: Instance> PinGroup<'d, T, G2>
sourcepub fn set_io1(
&mut self,
pin: impl Peripheral<P = impl G2IO1Pin<T>> + 'd,
role: PinType,
)
pub fn set_io1( &mut self, pin: impl Peripheral<P = impl G2IO1Pin<T>> + 'd, role: PinType, )
Create a new pin1 for G2 TSC group instance.
sourcepub fn set_io2(
&mut self,
pin: impl Peripheral<P = impl G2IO2Pin<T>> + 'd,
role: PinType,
)
pub fn set_io2( &mut self, pin: impl Peripheral<P = impl G2IO2Pin<T>> + 'd, role: PinType, )
Create a new pin2 for G2 TSC group instance.
sourcepub fn set_io3(
&mut self,
pin: impl Peripheral<P = impl G2IO3Pin<T>> + 'd,
role: PinType,
)
pub fn set_io3( &mut self, pin: impl Peripheral<P = impl G2IO3Pin<T>> + 'd, role: PinType, )
Create a new pin3 for G2 TSC group instance.
sourcepub fn set_io4(
&mut self,
pin: impl Peripheral<P = impl G2IO4Pin<T>> + 'd,
role: PinType,
)
pub fn set_io4( &mut self, pin: impl Peripheral<P = impl G2IO4Pin<T>> + 'd, role: PinType, )
Create a new pin4 for G2 TSC group instance.
source§impl<'d, T: Instance> PinGroup<'d, T, G3>
impl<'d, T: Instance> PinGroup<'d, T, G3>
sourcepub fn set_io1(
&mut self,
pin: impl Peripheral<P = impl G3IO1Pin<T>> + 'd,
role: PinType,
)
pub fn set_io1( &mut self, pin: impl Peripheral<P = impl G3IO1Pin<T>> + 'd, role: PinType, )
Create a new pin1 for G3 TSC group instance.
sourcepub fn set_io2(
&mut self,
pin: impl Peripheral<P = impl G3IO2Pin<T>> + 'd,
role: PinType,
)
pub fn set_io2( &mut self, pin: impl Peripheral<P = impl G3IO2Pin<T>> + 'd, role: PinType, )
Create a new pin2 for G3 TSC group instance.
sourcepub fn set_io3(
&mut self,
pin: impl Peripheral<P = impl G3IO3Pin<T>> + 'd,
role: PinType,
)
pub fn set_io3( &mut self, pin: impl Peripheral<P = impl G3IO3Pin<T>> + 'd, role: PinType, )
Create a new pin3 for G3 TSC group instance.
sourcepub fn set_io4(
&mut self,
pin: impl Peripheral<P = impl G3IO4Pin<T>> + 'd,
role: PinType,
)
pub fn set_io4( &mut self, pin: impl Peripheral<P = impl G3IO4Pin<T>> + 'd, role: PinType, )
Create a new pin4 for G3 TSC group instance.
source§impl<'d, T: Instance> PinGroup<'d, T, G4>
impl<'d, T: Instance> PinGroup<'d, T, G4>
sourcepub fn set_io1(
&mut self,
pin: impl Peripheral<P = impl G4IO1Pin<T>> + 'd,
role: PinType,
)
pub fn set_io1( &mut self, pin: impl Peripheral<P = impl G4IO1Pin<T>> + 'd, role: PinType, )
Create a new pin1 for G4 TSC group instance.
sourcepub fn set_io2(
&mut self,
pin: impl Peripheral<P = impl G4IO2Pin<T>> + 'd,
role: PinType,
)
pub fn set_io2( &mut self, pin: impl Peripheral<P = impl G4IO2Pin<T>> + 'd, role: PinType, )
Create a new pin2 for G4 TSC group instance.
sourcepub fn set_io3(
&mut self,
pin: impl Peripheral<P = impl G4IO3Pin<T>> + 'd,
role: PinType,
)
pub fn set_io3( &mut self, pin: impl Peripheral<P = impl G4IO3Pin<T>> + 'd, role: PinType, )
Create a new pin3 for G4 TSC group instance.
sourcepub fn set_io4(
&mut self,
pin: impl Peripheral<P = impl G4IO4Pin<T>> + 'd,
role: PinType,
)
pub fn set_io4( &mut self, pin: impl Peripheral<P = impl G4IO4Pin<T>> + 'd, role: PinType, )
Create a new pin4 for G4 TSC group instance.
source§impl<'d, T: Instance> PinGroup<'d, T, G5>
impl<'d, T: Instance> PinGroup<'d, T, G5>
sourcepub fn set_io1(
&mut self,
pin: impl Peripheral<P = impl G5IO1Pin<T>> + 'd,
role: PinType,
)
pub fn set_io1( &mut self, pin: impl Peripheral<P = impl G5IO1Pin<T>> + 'd, role: PinType, )
Create a new pin1 for G5 TSC group instance.
sourcepub fn set_io2(
&mut self,
pin: impl Peripheral<P = impl G5IO2Pin<T>> + 'd,
role: PinType,
)
pub fn set_io2( &mut self, pin: impl Peripheral<P = impl G5IO2Pin<T>> + 'd, role: PinType, )
Create a new pin2 for G5 TSC group instance.
sourcepub fn set_io3(
&mut self,
pin: impl Peripheral<P = impl G5IO3Pin<T>> + 'd,
role: PinType,
)
pub fn set_io3( &mut self, pin: impl Peripheral<P = impl G5IO3Pin<T>> + 'd, role: PinType, )
Create a new pin3 for G5 TSC group instance.
sourcepub fn set_io4(
&mut self,
pin: impl Peripheral<P = impl G5IO4Pin<T>> + 'd,
role: PinType,
)
pub fn set_io4( &mut self, pin: impl Peripheral<P = impl G5IO4Pin<T>> + 'd, role: PinType, )
Create a new pin4 for G5 TSC group instance.
source§impl<'d, T: Instance> PinGroup<'d, T, G6>
impl<'d, T: Instance> PinGroup<'d, T, G6>
sourcepub fn set_io1(
&mut self,
pin: impl Peripheral<P = impl G6IO1Pin<T>> + 'd,
role: PinType,
)
pub fn set_io1( &mut self, pin: impl Peripheral<P = impl G6IO1Pin<T>> + 'd, role: PinType, )
Create a new pin1 for G6 TSC group instance.
sourcepub fn set_io2(
&mut self,
pin: impl Peripheral<P = impl G6IO2Pin<T>> + 'd,
role: PinType,
)
pub fn set_io2( &mut self, pin: impl Peripheral<P = impl G6IO2Pin<T>> + 'd, role: PinType, )
Create a new pin2 for G6 TSC group instance.
sourcepub fn set_io3(
&mut self,
pin: impl Peripheral<P = impl G6IO3Pin<T>> + 'd,
role: PinType,
)
pub fn set_io3( &mut self, pin: impl Peripheral<P = impl G6IO3Pin<T>> + 'd, role: PinType, )
Create a new pin3 for G6 TSC group instance.
sourcepub fn set_io4(
&mut self,
pin: impl Peripheral<P = impl G6IO4Pin<T>> + 'd,
role: PinType,
)
pub fn set_io4( &mut self, pin: impl Peripheral<P = impl G6IO4Pin<T>> + 'd, role: PinType, )
Create a new pin4 for G6 TSC group instance.
source§impl<'d, T: Instance> PinGroup<'d, T, G7>
impl<'d, T: Instance> PinGroup<'d, T, G7>
sourcepub fn set_io1(
&mut self,
pin: impl Peripheral<P = impl G7IO1Pin<T>> + 'd,
role: PinType,
)
pub fn set_io1( &mut self, pin: impl Peripheral<P = impl G7IO1Pin<T>> + 'd, role: PinType, )
Create a new pin1 for G7 TSC group instance.
sourcepub fn set_io2(
&mut self,
pin: impl Peripheral<P = impl G7IO2Pin<T>> + 'd,
role: PinType,
)
pub fn set_io2( &mut self, pin: impl Peripheral<P = impl G7IO2Pin<T>> + 'd, role: PinType, )
Create a new pin2 for G7 TSC group instance.
sourcepub fn set_io3(
&mut self,
pin: impl Peripheral<P = impl G7IO3Pin<T>> + 'd,
role: PinType,
)
pub fn set_io3( &mut self, pin: impl Peripheral<P = impl G7IO3Pin<T>> + 'd, role: PinType, )
Create a new pin3 for G7 TSC group instance.
sourcepub fn set_io4(
&mut self,
pin: impl Peripheral<P = impl G7IO4Pin<T>> + 'd,
role: PinType,
)
pub fn set_io4( &mut self, pin: impl Peripheral<P = impl G7IO4Pin<T>> + 'd, role: PinType, )
Create a new pin4 for G7 TSC group instance.
source§impl<'d, T: Instance> PinGroup<'d, T, G8>
impl<'d, T: Instance> PinGroup<'d, T, G8>
sourcepub fn set_io1(
&mut self,
pin: impl Peripheral<P = impl G8IO1Pin<T>> + 'd,
role: PinType,
)
pub fn set_io1( &mut self, pin: impl Peripheral<P = impl G8IO1Pin<T>> + 'd, role: PinType, )
Create a new pin1 for G8 TSC group instance.
sourcepub fn set_io2(
&mut self,
pin: impl Peripheral<P = impl G8IO2Pin<T>> + 'd,
role: PinType,
)
pub fn set_io2( &mut self, pin: impl Peripheral<P = impl G8IO2Pin<T>> + 'd, role: PinType, )
Create a new pin2 for G8 TSC group instance.
sourcepub fn set_io3(
&mut self,
pin: impl Peripheral<P = impl G8IO3Pin<T>> + 'd,
role: PinType,
)
pub fn set_io3( &mut self, pin: impl Peripheral<P = impl G8IO3Pin<T>> + 'd, role: PinType, )
Create a new pin3 for G8 TSC group instance.
sourcepub fn set_io4(
&mut self,
pin: impl Peripheral<P = impl G8IO4Pin<T>> + 'd,
role: PinType,
)
pub fn set_io4( &mut self, pin: impl Peripheral<P = impl G8IO4Pin<T>> + 'd, role: PinType, )
Create a new pin4 for G8 TSC group instance.