File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 15:00:03 companyName string 3S-Smart Software Solutions GmbH libraryFile IoDrvGPIOSysfs.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile IoDrvGPIOSysfs.clean.json version version 2.0.0.0 ProjectInformation Released bool True ShowSmartCodingInfo True LastModificationDateTime date 20.04.2021, 15:00:03 LibraryCategories library-category-list Intern|IoDrivers Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace GPIOSysfs Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder IoDrvGPIOSysfs Project IoDrvGPIOSysfs Title IoDrvGPIOSysfs Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. Base Interfaces ¶ Library Identification ¶ Name: Base Interfaces Version: newest Company: System Namespace: IBaseLibrary Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Base Interfaces, * (System) CAA Device Diagnosis ¶ Library Identification ¶ Placeholder: CAA Device Diagnosis Default Resolution: CAA Device Diagnosis, * (CAA Technical Workgroup) Namespace: DED Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Device Diagnosis CAA Types Extern ¶ Library Identification ¶ Placeholder: CAA Types Default Resolution: CAA Types Extern, * (CAA Technical Workgroup) Namespace: CAA Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Types CmpCharDevice ¶ Library Identification ¶ Placeholder: CmpCharDevice Default Resolution: CmpCharDevice, * (3S - Smart Software Solutions GmbH) Namespace: CmpCharDevice Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpCharDevice CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) CmpLog ¶ Library Identification ¶ Placeholder: CmpLog Default Resolution: CmpLog, * (System) Namespace: CmpLog Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpLog IoDriver Interfaces ¶ Library Identification ¶ Name: IoDriver Interfaces Version: newest Company: System Namespace: IoDriver_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDriver Interfaces, * (System) IoDriver Parameter Interfaces ¶ Library Identification ¶ Name: IoDriver Parameter Interfaces Version: newest Company: System Namespace: IIoDrvParameter Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDriver Parameter Interfaces, * (System) IoDrvBase ¶ Library Identification ¶ Placeholder: IoDrvBase Default Resolution: IoDrvBase, * (System) Namespace: IoDrvBase Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDrvBase IoDrvUtility ¶ Library Identification ¶ Placeholder: IoDriver Utility Default Resolution: IoDrvUtility, * (3S - Smart Software Solutions GmbH) Namespace: IoDrvUtility Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: IoDriver Utility IoStandard ¶ Library Identification ¶ Placeholder: IoStandard Default Resolution: IoStandard, * (System) Namespace: IoStandard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoStandard Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
IoDrvGPIOSysfs Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title IoDrvGPIOSysfs Version 3.5.17.0 Categories Intern|IoDrivers Namespace GPIOSysfs Author 3S - Smart Software Solutions GmbH Placeholder IoDrvGPIOSysfs Description 1 ¶ GPIO driver based on Sysfs Contents: ¶ Functions active_low (Function) direction (Function) export (Function) readBit (Function) unexport (Function) writeBit (Function) GPIOSysfs (FunctionBlock) GPIOSysfsDiag (FunctionBlock) IDevice INode GVL (GVL) IoDrvGpioSysfs (FunctionBlock) ICmpIoDrv IoDrvGpioSysfsDiag (FunctionBlock) IDevice INode Library Information GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function) Structs DUT_GPIOPin (Struct) Indices and tables ¶ 1 Based on IoDrvGPIOSysfs.library, last modified 20.04.2021, 15:00:03. LibDoc 4.4.0.0-b.27 The content file IoDrvGPIOSysfs.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 15:00:03.
active_low (FUN) ¶ FUNCTION active_low : DINT Set a GPIO pin active low InOut: Scope Name Type Comment Return active_low DINT 0: Success, else -1 Input udiGpioNumber UDINT Number of GPIO pin bValue BOOL active low: TRUE: active low FALSE: active high
Functions ¶ active_low (Function) direction (Function) export (Function) readBit (Function) unexport (Function) writeBit (Function)
direction (FUN) ¶ FUNCTION direction : DINT Sets the direction of the GPIO pin to input or output or not used InOut: Scope Name Type Comment Return direction DINT 0: Success, else -1 Input udiGpioNumber UDINT Number of GPIO pin sDirection STRING(80) Direction of GPIO pin: in : Input out : Output
export (FUN) ¶ FUNCTION export : DINT Export GPIO pin InOut: Scope Name Type Comment Return export DINT 0: Success, else -1 Input udiGpioNumber UDINT Number of GPIO pin
readBit (FUN) ¶ FUNCTION readBit : DINT InOut: Scope Name Type Comment Return readBit DINT 0: Success, else -1 Input udiGpioNumber UDINT Number of GPIO pin pbValue POINTER TO BOOL Pointer to value read from GPIO pin
unexport (FUN) ¶ FUNCTION unexport : DINT Unexport GPIO pin InOut: Scope Name Type Comment Return unexport DINT 0: Success, else -1 Input udiGpioNumber UDINT Number of GPIO pin
writeBit (FUN) ¶ FUNCTION writeBit : DINT InOut: Scope Name Type Comment Return writeBit DINT 0: Success, else -1 Input udiGpioNumber UDINT Number of GPIO pin bValue BOOL Value to write to GPIO pin