Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Enumerations
Variables
Constants
Functions and Procedures
Identifiers

Class TkdInterruptAcknowledgement

Unit

kdinterrupt

Declaration

type TkdInterruptAcknowledgement = class(TComponent)

Description

Complementary resource class TkdInterruptAcknowledgement models a single hardware interrupt acknowledgement action belonging to the whole hardware interrupt acknowledgement session. Each instance of this class is hosted at InterruptAcknowledgement list-oriented property and can be attached to and detached from it by AddInterruptAcknowledgement and DeleteInterruptAcknowledgement methods of the paternal instance of TkdInterrupt class. Concerning hardware interrupt acknowledgement, this class involves only a classic solution in the form of accessing a required hardware register related to some address range of hardware. It includes properties for specifying: a particular operation to undertake as a part of the whole acknowledgement session, a particular hardware register that has to be accessed , a particular value that has to be written to the register if the writing operation is specified. The whole acknowledgement session often consists of one or more serial acknowledgement actions. If your card's interrupt acknowledgement scheme can not be established by using the abilities of this class only, InterruptHandler property of the paternal instance of TkdInterrupt class with the outside documentation is at your disposal. Hardware interrupt acknowledgement with this class is only allowable and actual if the interrupt type specified is level-sensitive (PCI interrupt).

Methods

Overview

Protectedprocedure Notification (AComponent: TComponent; Operation: TOperation); override;

Description

Protectedprocedure Notification (AComponent: TComponent; Operation: TOperation); override;

Notification method is overridden to respond to notification that the hardware register specified by AcknowledgementRegister property is about to be destroyed. The method updates properties so that AcknowledgementRegister property points to nothing, AcknowledgementAction property is set to aaRead value and AcknowledgementValue property is set to empty string.

Properties

Overview

Publishedproperty AcknowledgementAction: TkdInterruptAcknowledgementAction;
Publishedproperty AcknowledgementRegister: TkdHWRangeRegister;
Publishedproperty AcknowledgementValue: String;
Publicproperty Handle: LongInt;
Publicproperty ParentInterrupt: TkdInterrupt;

Description

Publishedproperty AcknowledgementAction: TkdInterruptAcknowledgementAction;

AcknowledgementAction property specifies the action to undertake. Set this property to either aaRead or aaWrite value to correspondingly read from or write to the hardware register specified by AcknowledgementRegister property.

Publishedproperty AcknowledgementRegister: TkdHWRangeRegister;

AcknowledgementRegister property specifies the hardware register that has to be accessed.

Publishedproperty AcknowledgementValue: String;

AcknowledgementValue property specifies the value that has to be written to the hardware register specified by AcknowledgementRegister property if the interrupt acknowledgement action is writing operation declared by AcknowledgementAction property set to aaWrite value.

Publicproperty Handle: LongInt;

Handle property is an accessor for obtaining the unique identifier of the interrupt acknowledgement action.

Publicproperty ParentInterrupt: TkdInterrupt;

ParentInterrupt property is an accessor for obtaining the pointer to the paternal instance of the basic interrupt managing class.