1. An electronic device comprising: a set of hardware registers that define a configuration of the electronic device; circuitry that implements programmable logic defining which hardware registers have been flagged for trapping incoming requests; and a shadow memory that includes values corresponding to the flagged hardware registers, the circuitry further operable to access a value in the shadow memory that corresponds to a flagged hardware register, responsive to receiving a request from an external device to access the flagged hardware register.