Renesas TM V.3.20A Especificaciones Pagina 251

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 762
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 250
Renesas Technology, Tools FAQs
Last Updated: February 4, 2000
Document Number: 01051094_e
Q.
I am using the read/write method to allocate variables to addresses as a method of controlling the ports on the I/O area in C
language. However, only the last read/write is saved, all others are erased. Is there any way to work around this?
A.
This is due to the affects of the compiler optimization. We suggest making the variable a volatile declaration. The volatile
declaration will guarantee the read/write to each variable and is also valid for the area specified by the pointer.
However, the optimization may modify the volatile area accessing size and the read/write order of multiple volatile variable that are
written in one sentence.Therefore, you should carefully trace the behavior of the codeoutput from the compiler.
If you need to include precise details of the read/write order or access size in one line, we suggest you describe it directly in
assembly language or use an asm function.
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Vista de pagina 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 761 762

Comentarios a estos manuales

Sin comentarios