pub struct Pin<P> {
pub speed: Speed,
pub pin: P,
}Expand description
Wrapper a pin that can be used as output to one of the HRTIM timer instances
Fields§
§speed: SpeedThe speed setting of the pin
pin: PThe pin
Trait Implementations§
Source§impl<'d, T: ChannelAPin<HRTIM1>> Out1Pin<Periph<RegisterBlock, 1073834112>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelAPin<HRTIM1>> Out1Pin<Periph<RegisterBlock, 1073834112>> for Pin<Peri<'d, T>>
Source§fn connect_to_hrtim(self)
fn connect_to_hrtim(self)
Connect pin to hrtim timer
Source§impl<'d, T: ChannelBPin<HRTIM1>> Out1Pin<Periph<RegisterBlock, 1073834240>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelBPin<HRTIM1>> Out1Pin<Periph<RegisterBlock, 1073834240>> for Pin<Peri<'d, T>>
Source§fn connect_to_hrtim(self)
fn connect_to_hrtim(self)
Connect pin to hrtim timer
Source§impl<'d, T: ChannelCPin<HRTIM1>> Out1Pin<Periph<RegisterBlock, 1073834368>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelCPin<HRTIM1>> Out1Pin<Periph<RegisterBlock, 1073834368>> for Pin<Peri<'d, T>>
Source§fn connect_to_hrtim(self)
fn connect_to_hrtim(self)
Connect pin to hrtim timer
Source§impl<'d, T: ChannelDPin<HRTIM1>> Out1Pin<Periph<RegisterBlock, 1073834496>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelDPin<HRTIM1>> Out1Pin<Periph<RegisterBlock, 1073834496>> for Pin<Peri<'d, T>>
Source§fn connect_to_hrtim(self)
fn connect_to_hrtim(self)
Connect pin to hrtim timer
Source§impl<'d, T: ChannelEPin<HRTIM1>> Out1Pin<Periph<RegisterBlock, 1073834624>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelEPin<HRTIM1>> Out1Pin<Periph<RegisterBlock, 1073834624>> for Pin<Peri<'d, T>>
Source§fn connect_to_hrtim(self)
fn connect_to_hrtim(self)
Connect pin to hrtim timer
Source§impl<'d, T: ChannelFPin<HRTIM1>> Out1Pin<Periph<RegisterBlock, 1073834752>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelFPin<HRTIM1>> Out1Pin<Periph<RegisterBlock, 1073834752>> for Pin<Peri<'d, T>>
Source§fn connect_to_hrtim(self)
fn connect_to_hrtim(self)
Connect pin to hrtim timer
Source§impl<'d, T: ChannelAComplementaryPin<HRTIM1>> Out2Pin<Periph<RegisterBlock, 1073834112>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelAComplementaryPin<HRTIM1>> Out2Pin<Periph<RegisterBlock, 1073834112>> for Pin<Peri<'d, T>>
Source§fn connect_to_hrtim(self)
fn connect_to_hrtim(self)
Connect pin to hrtim timer
Source§impl<'d, T: ChannelBComplementaryPin<HRTIM1>> Out2Pin<Periph<RegisterBlock, 1073834240>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelBComplementaryPin<HRTIM1>> Out2Pin<Periph<RegisterBlock, 1073834240>> for Pin<Peri<'d, T>>
Source§fn connect_to_hrtim(self)
fn connect_to_hrtim(self)
Connect pin to hrtim timer
Source§impl<'d, T: ChannelCComplementaryPin<HRTIM1>> Out2Pin<Periph<RegisterBlock, 1073834368>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelCComplementaryPin<HRTIM1>> Out2Pin<Periph<RegisterBlock, 1073834368>> for Pin<Peri<'d, T>>
Source§fn connect_to_hrtim(self)
fn connect_to_hrtim(self)
Connect pin to hrtim timer
Source§impl<'d, T: ChannelDComplementaryPin<HRTIM1>> Out2Pin<Periph<RegisterBlock, 1073834496>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelDComplementaryPin<HRTIM1>> Out2Pin<Periph<RegisterBlock, 1073834496>> for Pin<Peri<'d, T>>
Source§fn connect_to_hrtim(self)
fn connect_to_hrtim(self)
Connect pin to hrtim timer
Source§impl<'d, T: ChannelEComplementaryPin<HRTIM1>> Out2Pin<Periph<RegisterBlock, 1073834624>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelEComplementaryPin<HRTIM1>> Out2Pin<Periph<RegisterBlock, 1073834624>> for Pin<Peri<'d, T>>
Source§fn connect_to_hrtim(self)
fn connect_to_hrtim(self)
Connect pin to hrtim timer
Source§impl<'d, T: ChannelFComplementaryPin<HRTIM1>> Out2Pin<Periph<RegisterBlock, 1073834752>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelFComplementaryPin<HRTIM1>> Out2Pin<Periph<RegisterBlock, 1073834752>> for Pin<Peri<'d, T>>
Source§fn connect_to_hrtim(self)
fn connect_to_hrtim(self)
Connect pin to hrtim timer
impl<'d, T: ChannelAPin<HRTIM1>> Output1Pin<Periph<RegisterBlock, 1073834112>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelBPin<HRTIM1>> Output1Pin<Periph<RegisterBlock, 1073834240>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelCPin<HRTIM1>> Output1Pin<Periph<RegisterBlock, 1073834368>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelDPin<HRTIM1>> Output1Pin<Periph<RegisterBlock, 1073834496>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelEPin<HRTIM1>> Output1Pin<Periph<RegisterBlock, 1073834624>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelFPin<HRTIM1>> Output1Pin<Periph<RegisterBlock, 1073834752>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelAComplementaryPin<HRTIM1>> Output2Pin<Periph<RegisterBlock, 1073834112>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelBComplementaryPin<HRTIM1>> Output2Pin<Periph<RegisterBlock, 1073834240>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelCComplementaryPin<HRTIM1>> Output2Pin<Periph<RegisterBlock, 1073834368>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelDComplementaryPin<HRTIM1>> Output2Pin<Periph<RegisterBlock, 1073834496>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelEComplementaryPin<HRTIM1>> Output2Pin<Periph<RegisterBlock, 1073834624>> for Pin<Peri<'d, T>>
impl<'d, T: ChannelFComplementaryPin<HRTIM1>> Output2Pin<Periph<RegisterBlock, 1073834752>> for Pin<Peri<'d, T>>
Auto Trait Implementations§
impl<P> Freeze for Pin<P>where
P: Freeze,
impl<P> RefUnwindSafe for Pin<P>where
P: RefUnwindSafe,
impl<P> Send for Pin<P>where
P: Send,
impl<P> Sync for Pin<P>where
P: Sync,
impl<P> Unpin for Pin<P>where
P: Unpin,
impl<P> UnwindSafe for Pin<P>where
P: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more