Trait driver_pal::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