|
.Portenabled Property (Selected Platforms Only) |
Top Previous Next |
Function: |
Sets/returns the state of the output buffers for the currently selected I/O port (selection is made through the io.portnum property). |
Type: |
Byte |
Value Range: |
Default= 0 (all eight I/O lines of the port are configured as inputs) |
See Also: |
Details
Each I/O port groups eight I/O lines. Each bit of this property's byte value corresponds to one "member" I/O line. Setting the bit to 0 keeps the output buffer turned off, while setting the bit to 1 enables the output buffer.
Depending on the platform, explicit configuration of the output buffers may or may not be required. See "Platform-dependent Programming Information" of your platform documentation. The property is not available on platforms that do not require explicit output buffer configuration.