Question d’entretien chez Qualcomm

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

Réponses aux questions d'entretien

Utilisateur anonyme

3 mars 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

Utilisateur anonyme

20 févr. 2021

Answered the basics, but couldn't answer completely

1