The section on writing to memory-mapped registers using a PAC says that the argument of the closure passed to the write() function gives read-write access to the various sub-fields within the register. However, the provided documentation link in the same section indicates that W gives write-only access to the register and cannot be used for reading.
The section on writing to memory-mapped registers using a PAC says that the argument of the closure passed to the
write()
function gives read-write access to the various sub-fields within the register. However, the provided documentation link in the same section indicates thatW
gives write-only access to the register and cannot be used for reading.