[][src]Struct probe_rs::flash::flasher::ActiveFlasher

pub struct ActiveFlasher<'a, O: Operation> { /* fields omitted */ }

Methods

impl<'a, O: Operation> ActiveFlasher<'a, O>[src]

pub fn init(
    &mut self,
    address: Option<u32>,
    clock: Option<u32>
) -> Result<(), FlasherError>
[src]

pub fn region(&self) -> &FlashRegion[src]

pub fn flash_algorithm(&self) -> &FlashAlgorithm[src]

pub fn uninit<'b, 's: 'b>(&'s mut self) -> Result<Flasher<'b>, FlasherError>[src]

pub fn wait_for_completion(&mut self) -> Result<u32, FlasherError>[src]

pub fn read_block32(
    &mut self,
    address: u32,
    data: &mut [u32]
) -> Result<(), FlasherError>
[src]

pub fn read_block8(
    &mut self,
    address: u32,
    data: &mut [u8]
) -> Result<(), FlasherError>
[src]

impl<'a> ActiveFlasher<'a, Erase>[src]

pub fn erase_all(&mut self) -> Result<(), FlasherError>[src]

pub fn erase_sector(&mut self, address: u32) -> Result<(), FlasherError>[src]

impl<'a> ActiveFlasher<'a, Program>[src]

pub fn program_page(
    &mut self,
    address: u32,
    bytes: &[u8]
) -> Result<(), FlasherError>
[src]

pub fn start_program_page_with_buffer(
    &mut self,
    address: u32,
    buffer_number: u32
) -> Result<(), FlasherError>
[src]

pub fn load_page_buffer(
    &mut self,
    _address: u32,
    bytes: &[u8],
    buffer_number: u32
) -> Result<(), FlasherError>
[src]

Auto Trait Implementations

impl<'a, O> !RefUnwindSafe for ActiveFlasher<'a, O>

impl<'a, O> Send for ActiveFlasher<'a, O> where
    O: Send

impl<'a, O> Sync for ActiveFlasher<'a, O> where
    O: Sync

impl<'a, O> Unpin for ActiveFlasher<'a, O> where
    O: Unpin

impl<'a, O> !UnwindSafe for ActiveFlasher<'a, O>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.