Function stm32wlxx_hal::flash::flash_end

source ·
pub fn flash_end() -> usize
Expand description

Ending address of the flash memory.

This is calculated at runtime using the info registers.

Example

use stm32wlxx_hal::flash::flash_end;

// valid for the nucleo-wl55jc with 256k flash
assert_eq!(flash_end(), 0x0803_FFFF);