Function w5500_ll::reset[][src]

pub fn reset<P, D, E>(pin: &mut P, delay: &mut D) -> Result<(), E> where
    P: OutputPin<Error = E>,
    D: DelayMs<u8>, 
Expand description

Reset the W5500 using the reset pin.

This function performs the following sequence:

  1. Set the reset pin low.
  2. Wait 1 ms (2x longer than the minimum reset cycle time of 500 µs).
  3. Set the reset pin high.
  4. Wait 2 ms (2x longer than the maximum PLL lock time of 1 ms).

Example

w5500_ll::reset(&mut reset_pin, &mut delay)?;