MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / flash_set_mask

Function flash_set_mask

core/flash.c:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37static void flash_set_mask(void) {
38 uint32_t value = flash.maskReg[0]
39 | flash.maskReg[1] << 8
40 | flash.maskReg[2] << 16
41 | flash.maskReg[3] << 24;
42 flash.mask = ~value & (SIZE_FLASH - 1);
43}
44
45void flash_flush_cache(void) {
46 /* Flush only if the cache has been used since the last flush */

Callers 2

flash_writeFunction · 0.85
flash_resetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected