Added toggling functionality and documented the registers