[][src]Trait kernel::hil::crc::CRC

pub trait CRC<'a> {
    fn set_client(&self, client: &'a dyn Client);
fn compute(&self, data: &[u8], _: CrcAlg) -> ReturnCode;
fn disable(&self); }

Required methods

fn set_client(&self, client: &'a dyn Client)

Set the client to be used for callbacks.

fn compute(&self, data: &[u8], _: CrcAlg) -> ReturnCode

Initiate a CRC calculation

fn disable(&self)

Disable the CRC unit until compute() is next called

Loading content...

Implementors

Loading content...