Skip to main content

Reset

Trait Reset 

Source
pub trait Reset {
    // Required method
    fn reset(rcu: &mut Rcu);
}
Expand description

Reset control for a peripheral, implemented per peripheral type.

Required Methods§

Source

fn reset(rcu: &mut Rcu)

Pulses the peripheral’s reset line, returning its registers to defaults.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Reset for Adc

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Gpioa

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Gpiob

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Gpiof

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for I2c0

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for I2c1

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Spi0

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Spi1

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Timer0

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Timer2

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Timer5

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Timer13

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Timer15

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Timer16

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Usart0

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Usart1

Source§

fn reset(rcu: &mut Rcu)

Source§

impl Reset for Wwdgt

Source§

fn reset(rcu: &mut Rcu)

Implementors§