Altera Embedded Peripherals IP Manual do Utilizador Página 284

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 336
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 283
alt_vic_sw_interrupt_clear()
Prototype: int alt_vic_sw_interrupt_clear(alt_u32 ic_id, alt_u32 irq)
Thread-safe: No
Available
from ISR:
Yes; if interrupt preemption is enabled, disable global
interrupts before calling this routine.
Include: altera_vic_irq.h, altera_vic_regs.h
Parameters: ic_id—the interrupt controller identification number as
defined in system.h
irq—the interrupt value as defined in system.h
Returns: Returns zero if successful; otherwise non-zero for one or
more of the following reasons:
The value in ic_id is invalid
The value in irq is invalid
Description: Clears a single software interrupt
alt_vic_sw_interrupt_status()
Prototype:
alt_u32 alt_vic_sw_interrupt_status(alt_u32 ic_id, alt_u32
irq)
Thread-safe: No
Available
from ISR:
Yes; if interrupt preemption is enabled, disable global
interrupts before calling this routine.
Include: altera_vic_irq.h, altera_vic_regs.h
Parameters: ic_id—the interrupt controller identification number as
defined in system.h
irq—the interrupt value as defined in system.h
Returns: Returns non-zero if the corresponding software trigger
interrupt is active; otherwise zero for one or more of the
following reasons:
The corresponding software trigger interrupt is disabled
The value in ic_id is invalid
The value in irq is invalid
Description: Checks the software interrupt status for a single interrupt
alt_vic_irq_set_level()
Prototype:
int alt_vic_irq_set_level(alt_u32 ic_id, alt_u32 irq, alt_u32
level)
UG-01085
2014.24.07
alt_vic_sw_interrupt_clear()
28-15
Vectored Interrupt Controller Core
Altera Corporation
Send Feedback
Vista de página 283
1 2 ... 279 280 281 282 283 284 285 286 287 288 289 ... 335 336

Comentários a estes Manuais

Sem comentários