Trait lpc55_hal::traits::flash::Read[][src]

pub trait Read<ReadSize: ArrayLength<u8>> {
    fn read_native(
        &self,
        address: usize,
        array: &mut GenericArray<u8, ReadSize>
    ); fn read(&self, address: usize, buf: &mut [u8]) { ... } }

Required methods

fn read_native(&self, address: usize, array: &mut GenericArray<u8, ReadSize>)[src]

Loading content...

Provided methods

fn read(&self, address: usize, buf: &mut [u8])[src]

read a buffer of bytes from memory checks that the address and buffer size are multiples of native FLASH ReadSize.

Loading content...

Implementors

impl Read<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>> for FlashGordon[src]

Loading content...