Skip to the selected question
ASIC.FYI

ASIC Question Bank

1,000+ hardware interview questions
DescriptionQ963
Page ↗
Q963FWGoogleASIC interview problem

Read a changing MMIO register

TechniquesFWMMIOCvolatile
DifficultyEasy
TopicFirmware
LanguageC
Format4 choices
01

Problem

Firmware polls a device status register whose value may change independently of the CPU. The register is mapped at a fixed physical address. Why should the C access use a volatile-qualified MMIO pointer?

02

Answer choices (4)