.intnum Property

Function:

Sets/returns the number of currently selected interrupt line.

Type:

Enum (pl_int_num, byte)

Value Range:

Platform-specific. See the list of pl_int_num constants in the platform specifications.

See Also:

Working With Interrupts, Controlling Output Buffers


Details

The selected interrupt line can be enabled or disabled using the io.intenabled property. A state change on enabled interrupt lines causes the on_io_int event generation.

In order to work correctly as an interrupt on certain platforms, the line may need to be configured as an input — see Controlling Output Buffers for details.


.intnum Property

Details