Write to am 8-bit I/O register protected by CCP or a protection bit.
void protected_write_io( void * addr, uint8_t magic, uint8_t value )
Type: void *
Address of the I/O register
Type: uint8_t
CCP magic value or Mask for protection bit
Type: uint8_t
Value to be written
Type: void