Enum ti_sbl::Family [−][src]
pub enum Family {
CC2538,
CC26X0,
CC26X2,
}The type of the bootloader.
Variants
CC2538 microcontrollers.
CC26x0 and CC13x0 microcontrollers.
CC26x2 and CC13x2 microcontrollers.
Implementations
impl Family[src]
impl Family[src]pub fn supports_run(&self) -> bool[src]
Whether the device supports COMMAND_RUN.
- Note: supported only on
Family::CC2538.
pub fn supports_erase(&self) -> bool[src]
Whether the device supports COMMAND_ERASE.
- Note: supported only on
Family::CC2538.
pub fn supports_sector_erase(&self) -> bool[src]
Whether the device supports COMMAND_SECTOR_ERASE.
- Note: supported only on
Family::CC26X0andFamily::CC26X2.
pub fn supports_set_xosc(&self) -> bool[src]
Whether the device supports COMMAND_SET_XOSC.
- Note: supported only on
Family::CC2538.
pub fn supports_bank_erase(&self) -> bool[src]
Whether the device supports COMMAND_BANK_ERASE.
- Note: supported only on
Family::CC26X0andFamily::CC26X2.
pub fn supports_set_ccfg(&self) -> bool[src]
Whether the device supports COMMAND_SET_CCFG.
- Note: supported only on
Family::CC26X0andFamily::CC26X2.
pub fn supports_download_crc(&self) -> bool[src]
Whether the device supports COMMAND_DOWNLOAD_CRC.
- Note: supported only on
Family::CC26X2.
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.