Use WRITE_RD/WRITE_FRD macros to write registers