Hardware interview practice
Write-one-to-clear status bit
Bit 3 of a device status register is documented as write one to clear. It is currently 1. What happens when firmware writes a 1 to bit 3?
Choose one
Answer choices
- A. Hardware clears bit 3 to 0.
- B. Hardware ignores the write because status registers are always read-only.
- C. Hardware toggles bit 3 on every write regardless of the written value.
- D. Hardware sets bit 3 to 1 and keeps it set.
