Question.1
A UART control register has the following 8-bit layout:
The register currently holds 0x01 (only RX_EN is active). Which operation enables TX without affecting any other bits?
0x01
Select Answer
reg |= 0x02;
reg |= 0x01;
reg = 0x03;
reg |= (1 << 2);