29. Bit Field Operations-ii

Question.6

A 16-bit I2C config register has this layout:

1514131211109876543210
ADDRSPEEDACKEN

A developer needs to set SPEED to 2 and EN to 1 while keeping all other fields zero (including reserved bits). Which code is correct?

Need Help? Refer to the Quick Guide below

Select Multiple Options