17#ifndef MBED_SCOPEDROMWRITELOCK_H
18#define MBED_SCOPEDROMWRITELOCK_H
20#include "platform/mbed_mpu_mgmt.h"
21#include "platform/NonCopyable.h"
Prevents generation of copy constructor and copy assignment operator in derived classes.
RAII object for disabling, then restoring ROM write never mode Usage:
ScopedRomWriteLock()
Allow writing to ROM.
~ScopedRomWriteLock()
Restore previous write to ROM settings.