MCPcopy Create free account
hub / github.com/AirborneEngineering/blethrs / write

Function write

src/flash.rs:267–305  ·  view source on GitHub ↗

Write to flash. Returns () on success, None on failure. length must be a multiple of 4.

(address: u32, length: usize, data: &[u8])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

cmd_writeFunction · 0.85
bootloadFunction · 0.85

Calls 6

check_address_validFunction · 0.85
check_length_validFunction · 0.85
check_length_correctFunction · 0.85
get_flash_peripheralFunction · 0.85
unlockFunction · 0.85
lockFunction · 0.85

Tested by

no test coverage detected