How does one determine the state of protected register access? Example: a function needs to determine the state of protected register access to decide if EDIS should be invoked or left alone ... EALLOW could have been invoked by the code that called this function.