[][src]Trait blflash::chip::Chip

pub trait Chip {
    pub fn target(&self) -> &'static str;
pub fn get_eflash_loader(&self) -> &[u8];
pub fn get_flash_segment<'a>(
        &self,
        code_segment: CodeSegment<'a>
    ) -> Option<RomSegment<'a>>;
pub fn with_boot2(
        &self,
        partition_cfg: PartitionCfg,
        bootheader_cfg: BootHeaderCfg,
        ro_params: Vec<u8>,
        bin: &[u8]
    ) -> Result<Vec<RomSegment<'_>>, Error>; }

Required methods

pub fn target(&self) -> &'static str[src]

pub fn get_eflash_loader(&self) -> &[u8][src]

pub fn get_flash_segment<'a>(
    &self,
    code_segment: CodeSegment<'a>
) -> Option<RomSegment<'a>>
[src]

pub fn with_boot2(
    &self,
    partition_cfg: PartitionCfg,
    bootheader_cfg: BootHeaderCfg,
    ro_params: Vec<u8>,
    bin: &[u8]
) -> Result<Vec<RomSegment<'_>>, Error>
[src]

Loading content...

Implementors

impl Chip for Bl602[src]

Loading content...