Class TCustomGPIO
Unit
PXL.Boards.Types
Declaration
type TCustomGPIO = class abstract(TObject)
Description
Abstract GPIO (General Purpose Input / Output) manager.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
function GetPinDrive(const Pin: TPinIdentifier): TPinDrive; virtual; abstract; |
|
Returns current drive mode (pull-up/pull-down) for the specified pin number.
|
 |
function GetPinMode(const Pin: TPinIdentifier): TPinMode; virtual; abstract; |
|
Returns current mode for the specified pin number.
|
 |
function GetPinValue(const Pin: TPinIdentifier): TPinValue; virtual; abstract; |
|
Returns current value for the specified pin number, both for input and output modes.
|
 |
procedure SetMux(const Pin: TPinIdentifier; const Value: TPinValue); |
|
Configures the specified pin for output and with the specified value, typically used for configuring multiplexers.
|
 |
procedure SetPinDrive(const Pin: TPinIdentifier; const Value: TPinDrive); virtual; abstract; |
|
Specifies new drive mode (pull-up/pull-down) for the specified pin number.
|
 |
procedure SetPinMode(const Pin: TPinIdentifier; const Value: TPinMode); virtual; abstract; |
|
Changes mode for the specified pin number, as long as new mode is different than the current one.
|
 |
procedure SetPinValue(const Pin: TPinIdentifier; const Value: TPinValue); virtual; abstract; |
|
Changes value for the specified pin number, as long as new value is different than the current one.
|
Properties
Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.
|