GPIOSysfs (FB) ¶ FUNCTION_BLOCK GPIOSysfs
GPIOSysfsDiag (FB) ¶ FUNCTION_BLOCK GPIOSysfsDiag EXTENDS GPIOSysfs IMPLEMENTS DED.IDevice2 This function block implements the diagnosis code for CAA Device Diagnosis. Properties: ChildNodeCount Connector Enable FirstChildNode Index IsRootNode NextSiblingNode ParentNode SiblingNodeCount Methods: GetDeviceInfo GetDeviceState Structure: IDevice GetDeviceInfo (Method) GetDeviceState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
IDevice ¶ GetDeviceInfo (Method) GetDeviceState (Method)
GPIOSysfsDiag.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : DED.ERROR Returns the device information of the current node InOut: Scope Name Type Comment Return GetDeviceInfo DED.ERROR Inout deiInfo DED.DEVICE_INFO Device information struct
GPIOSysfsDiag.GetDeviceState (METH) ¶ METHOD GetDeviceState : DED.DEVICE_STATE Returns the state of the device; if device state is ERROR further information can be read by GetDeviceError InOut: Scope Name Type Comment Return GetDeviceState DED.DEVICE_STATE Output xDiagnosisInfoAvailable BOOL if true, diagnosis info can be read by calling GetDeviceDiagnosisInfo eError DED.ERROR
INode ¶ ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
GPIOSysfsDiag.ChildNodeCount (PROP) ¶ PROPERTY ChildNodeCount : CAA.COUNT Returns the number of childs below the current node
GPIOSysfsDiag.Connector (PROP) ¶ PROPERTY Connector : POINTER TO IoStandard.IoConfigConnector
GPIOSysfsDiag.Enable (PROP) ¶ PROPERTY Enable : BOOL This property returns if the node is enabled in the device tree. The setter can be used to change the Enabled flag. If enabling/disabling is not supported on the node the flag’s value will not change.
GPIOSysfsDiag.FirstChildNode (PROP) ¶ PROPERTY FirstChildNode : DED.INode Returns the first child node below the current one