84. Structures-iii

Question.2

A developer writes this code in a bare-metal firmware project:

typedef struct {
   volatile uint32_t CR;
   volatile uint32_t SR;
   volatile uint32_t DR;
} USART_TypeDef;

#define USART1 ((USART_TypeDef *)0x40011000)

USART1->CR |= (1U << 13);

What firmware technique does this demonstrate?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!