Domanda di colloquio di Qualcomm

how do you read an input port in a microcontroller continuously without compiler optimization

Risposte di colloquio

Anonimo

3 mar 2021

We can read input port in microcontroller without compiler optimization by using Volatile Keyword. Volatile Keyword instructs compiler that not to optimize the variable. generally Compiler Do optimization to run code faster and to reduce code size also.

2

Anonimo

20 feb 2021

Answered the basics, but couldn't answer completely

1