Question.3
A developer defines a memory-mapped peripheral struct:
typedef struct {
volatile uint32_t CTRL;
volatile float THRESHOLD;
volatile uint32_t STATUS;
} ADC_Periph;
#define ADC1 ((ADC_Periph *)0x40012000)
ADC1->THRESHOLD = 2.5f;What is problematic about this struct?