pub enum Ch3N<Otype = PushPull> {
PB1(PB1<Alternate<3, Otype>>),
PB15(PB15<Alternate<3, Otype>>),
PH15(PH15<Alternate<3, Otype>>),
}
Variants§
Trait Implementations§
source§impl<Otype> ExtiPin for Ch3N<Otype>
impl<Otype> ExtiPin for Ch3N<Otype>
source§fn make_interrupt_source(&mut self, _syscfg: &mut SysCfg)
fn make_interrupt_source(&mut self, _syscfg: &mut SysCfg)
Make corresponding EXTI line sensitive to this pin
source§fn trigger_on_edge(&mut self, _exti: &mut EXTI, _level: Edge)
fn trigger_on_edge(&mut self, _exti: &mut EXTI, _level: Edge)
Generate interrupt on rising edge, falling edge or both
source§fn enable_interrupt(&mut self, _exti: &mut EXTI)
fn enable_interrupt(&mut self, _exti: &mut EXTI)
Enable external interrupts from this pin.
source§fn disable_interrupt(&mut self, _exti: &mut EXTI)
fn disable_interrupt(&mut self, _exti: &mut EXTI)
Disable external interrupts from this pin
source§fn clear_interrupt_pending_bit(&mut self)
fn clear_interrupt_pending_bit(&mut self)
Clear the interrupt pending bit for this pin
source§fn check_interrupt(&self) -> bool
fn check_interrupt(&self) -> bool
Reads the interrupt pending bit for this pin
source§impl<Otype> PinPull for Ch3N<Otype>
impl<Otype> PinPull for Ch3N<Otype>
source§fn set_internal_resistor(&mut self, _pull: Pull)
fn set_internal_resistor(&mut self, _pull: Pull)
Set the internal pull-up and pull-down resistor
fn internal_resistor(self, resistor: Pull) -> Self
Auto Trait Implementations§
impl<Otype> RefUnwindSafe for Ch3N<Otype>where
Otype: RefUnwindSafe,
impl<Otype> Send for Ch3N<Otype>where
Otype: Send,
impl<Otype> Sync for Ch3N<Otype>where
Otype: Sync,
impl<Otype> Unpin for Ch3N<Otype>where
Otype: Unpin,
impl<Otype> UnwindSafe for Ch3N<Otype>where
Otype: 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