Enum ti_sbl::Family[][src]

pub enum Family {
    CC2538,
    CC26X0,
    CC26X2,
}

The type of the bootloader.

Variants

CC2538

CC2538 microcontrollers.

CC26X0

CC26x0 and CC13x0 microcontrollers.

CC26X2

CC26x2 and CC13x2 microcontrollers.

Implementations

impl Family[src]

pub fn supports_run(&self) -> bool[src]

Whether the device supports COMMAND_RUN.

pub fn supports_erase(&self) -> bool[src]

Whether the device supports COMMAND_ERASE.

pub fn supports_sector_erase(&self) -> bool[src]

Whether the device supports COMMAND_SECTOR_ERASE.

pub fn supports_set_xosc(&self) -> bool[src]

Whether the device supports COMMAND_SET_XOSC.

pub fn supports_bank_erase(&self) -> bool[src]

Whether the device supports COMMAND_BANK_ERASE.

pub fn supports_set_ccfg(&self) -> bool[src]

Whether the device supports COMMAND_SET_CCFG.

pub fn supports_download_crc(&self) -> bool[src]

Whether the device supports COMMAND_DOWNLOAD_CRC.

pub fn sector_size(&self) -> u32[src]

Sector erase size, in bytes.

pub fn flash_base(&self) -> u32[src]

Flash base size.

pub fn address_to_page(&self, address: u32) -> u32[src]

Convert a flash address to the flash page.

Trait Implementations

impl Clone for Family[src]

impl Debug for Family[src]

impl FromStr for Family[src]

type Err = ParseFamilyError

The associated error which can be returned from parsing.

impl PartialEq<Family> for Family[src]

impl Copy for Family[src]

impl Eq for Family[src]

impl StructuralEq for Family[src]

impl StructuralPartialEq for Family[src]

Auto Trait Implementations

impl RefUnwindSafe for Family

impl Send for Family

impl Sync for Family

impl Unpin for Family

impl UnwindSafe for Family

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.