|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface shared between the control program and the model of its environment. Methods of the interface are aimed to be called from the control program side. The interface must be implemented at the environment model side. Then it serves as a model of HW interrupt controller, i.e. a device that passes interrupts (events to be served) from the environment to the control program.
Method Summary | |
void |
bindInterrupt(int level,
InterruptEntryInterface ie)
Binds the address of an interrupt service routine to a level of interrupt. |
void |
maskInterrupt(int level,
boolean mask)
It sets mask of the given level of interrupts. |
Method Detail |
public void bindInterrupt(int level, InterruptEntryInterface ie)
level
- Level of interrupts.ie
- Interrupt entry (it contains the service routine)public void maskInterrupt(int level, boolean mask)
level
- Level of interrupts.mask
- Value of the mask to be set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |