Renesas TM V.3.20A Especificaciones Pagina 438

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 762
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 437
Renesas Technology, Tools FAQs
Last Updated: March 20, 2001
Document Number: 01051205_e
Q.
When using the MR30 OS-independent interrupt and enabling the multiple interrupts option, I enable it with "#pragma
INTERRUPT /E".
Is there a similar option for enabling multiple interrupts when using in the OS-dependent interrupt? I want to use the C language to
write the source file.
A.
MR30 is not equipped with a function such as "#pragma", which enables multiple interrupts for the OS-dependent interrupt. Use the
following to describe the area in which you want to enable multiple interrupts.
#include <mr30.h>
#include "id.h"
void inthand (void) /* OS-dependent interrupt handler */
{
/* multiple-interrupt inhibited area */
asm(" FSET I");
/* multiple-interrupt enabled area */
asm(" FCLR I"); <--- delete if there are no interrupt-inhibit
areas after this point.
/* multiple-interrupt inhibited area */
}
Cyclic handlers and alarm handlers are in the multiple-interrupt enabled state.
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Vista de pagina 437
1 2 ... 433 434 435 436 437 438 439 440 441 442 443 ... 761 762

Comentarios a estos manuales

Sin comentarios