Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.sim
Interface Simulator.Interrupt

All Known Implementing Classes:
  Simulator.MaskableInterrupt

Enclosing interface:
  Simulator

public static interface Simulator.Interrupt

The `Interrupt` interface represents the behavior of an interrupt (how it manipulates the state of the processor) when it is posted and when it is triggered (handler is executed by the processor). For example, an external interrupt, when posted, sets a bit in an IO register, and if the interrupt is not masked, will add it to the pending interrupts on the processor. When the interrupt head, it remains flagged (the bit in the IO register remains on). Some interrupts clear bits in IO registers on triggered (e.g. timer interrupts). This interface allows both of these behaviors to be implemented.

Method Summary
`void` | `fire()`
`void` | `force()`

Method Detail

### force

    public void force()

### fire

    public void fire()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD