Hal

Trait Hal 

Source
pub trait Hal<E>:
    PrefixWrite<Error = E>
    + PrefixRead<Error = E>
    + SpiDevice<u8, Error = E>
    + Busy<Error = E>
    + Ready<Error = E>
    + Reset<Error = E>
    + DelayNs { }
Expand description

HAL trait abstracts commonly required functions for SPI peripherals

Implementors§

Source§

impl<T, E> Hal<E> for T
where T: PrefixWrite<Error = E> + PrefixRead<Error = E> + SpiDevice<u8, Error = E> + Busy<Error = E> + Ready<Error = E> + Reset<Error = E> + DelayNs,

Default HAL trait impl over component traits