PMIC (Power Management IC)
PMIC() constructor
// PROTOTYPE
PMIC(bool _lock=false);
You can declare the PMIC object either as a global variable, or a stack-allocated local variable. If you use a stack local, pass true
as the parameter to the constructor. This will automatically call lock()
from the constructor and unlock()
from the destructor.