status ¶ Operational (Property)
GPIO.Operational (PROP) ¶ PROPERTY Operational : BOOL This property has to return TRUE, when the device is configured and running
GPIOType (ENUM) ¶ TYPE GPIOType : InOut: Name Initial I 2#0 O 2#1 ALT0 2#100 ALT1 2#101 ALT2 2#110 ALT3 2#111 ALT4 2#11 ALT5 2#10
IoDrvGPIO (FB) ¶ FUNCTION_BLOCK IoDrvGPIO EXTENDS IoDrvBase IMPLEMENTS ICmpIoDrvParameter
ProcessorType (ENUM) ¶ TYPE ProcessorType : InOut: Name UNKNOWN BCM2708 BCM2709 BCM2836
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 25.10.2023, 14:06:35 companyName string 3S-Smart Software Solutions GmbH libraryFile IoDrvGPIO.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile IoDrvGPIO.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 25.10.2023, 14:06:34 LibraryCategories library-category-list Target|3S - Smart Software Solutions GmbH Author string CODESYS Development GmbH Company CODESYS CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace IoDrvGPIO Description See: Description Placeholder IoDrvGPIO Project IoDrvGPIO Title IoDrvGPIO Version version 4.10.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 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 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 IoStandard ¶ Library Identification ¶ Placeholder: IoStandard Default Resolution: IoStandard, * (System) Namespace: IoStandard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoStandard Raspberry Pi Peripherals ¶ Library Identification ¶ Placeholder: Raspberry Pi Peripherals Default Resolution: Raspberry Pi Peripherals, * (CODESYS) Namespace: Raspi Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Raspberry Pi Peripherals Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard SysCpuHandling ¶ Library Identification ¶ Placeholder: SysCpuHandling Default Resolution: SysCpuHandling, * (System) Namespace: SysCpuHandling Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysCpuHandling SysFile ¶ Library Identification ¶ Placeholder: SysFile Default Resolution: SysFile, * (System) Namespace: SysFile Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysFile SysShm ¶ Library Identification ¶ Placeholder: SysShm Default Resolution: SysShm, * (System) Namespace: SysShm Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysShm 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)
IoDrvGPIOBBB Library Documentation ¶ Company : CODESYS Title : IoDrvGPIOBBB Version : 4.10.0.0 Categories : Intern|IoDrivers Namespace : IoDrvGPIOBBB Author : CODESYS Development GmbH Placeholder : IoDrvGPIOBBB Description [ 1 ] ¶ GPIO I/O driver for BeagleBone Black Contents: ¶ Configuration (GVL) IoDrvGPIOBBB (FunctionBlock) ConfigurePinAI (Method) ConfigurePinDI (Method) ConfigurePinDO (Method) IsChannelEnabled (Method) ReadPin (Method) IoDrvGPIOBase (FunctionBlock) IBase ICmpIoDrv ICmpIoDrvConfig ICmpIoDrvParameter PinConfiguration MemRegion (Struct) PinFunction (Enum) Indices and tables ¶ [ 1 ] Based on IoDrvGPIOBBB.library, last modified 25.10.2023, 14:02:26. LibDoc 4.4.0.0-b.37 The content file IoDrvGPIOBBB.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 25.10.2023, 14:02:28.
Configuration (GVL) ¶ InOut: Scope Name Type Initial Comment Constant gc_iNrOfMemRegions INT 8 g_cMemRegionIndex_CM_PER INT 0 Regions g_cMemRegionIndex_GPIO0 INT 1 g_cMemRegionIndex_GPIO1 INT 2 g_cMemRegionIndex_GPIO2 INT 3 g_cMemRegionIndex_GPIO3 INT 4 g_cMemRegionIndex_CM INT 5 g_cMemRegionIndex_ADC_TSC INT 6 g_cMemRegionIndex_AIBuffer INT 7 CM_PER_GPIO1_CLKCTRL_OFFSET POINTER TO DWORD 16#AC Register addresses CM_PER_GPIO2_CLKCTRL_OFFSET POINTER TO DWORD 16#B0 CM_PER_GPIO3_CLKCTRL_OFFSET POINTER TO DWORD 16#B4 GPIO_OE_OFFSET DWORD 16#134 ADC_TSC_STEPCONFIG1_OFFSET DWORD 16#64 16#0000 0001 ADC_TSC_STEPCONFIG2_OFFSET DWORD 16#6C ADC_TSC_STEPCONFIG3_OFFSET DWORD 16#74 ADC_TSC_STEPCONFIG4_OFFSET DWORD 16#7C ADC_TSC_STEPCONFIG5_OFFSET DWORD 16#84 ADC_TSC_STEPCONFIG6_OFFSET DWORD 16#8C ADC_TSC_STEPCONFIG7_OFFSET DWORD 16#94 ADC_TSC_STEPCONFIG8_OFFSET DWORD 16#9C ADC_TSC_STEPCONFIG9_OFFSET DWORD 16#A4 ADC_TSC_STEPCONFIG10_OFFSET DWORD 16#AC ADC_TSC_STEPCONFIG11_OFFSET DWORD 16#B4 ADC_TSC_STEPCONFIG12_OFFSET DWORD 16#BC ADC_TSC_STEPCONFIG13_OFFSET DWORD 16#C4 ADC_TSC_STEPCONFIG14_OFFSET DWORD 16#CC ADC_TSC_STEPCONFIG15_OFFSET DWORD 16#D4 ADC_TSC_STEPCONFIG16_OFFSET DWORD 16#DC ADC_TSC_FIFO0DATA_OFFSET DWORD 16#100 ADC_TSC_FIFO0COUNT_OFFSET DWORD 16#E4 ADC_TSC_ADCSTAT_OFFSET DWORD 16#44 ADC_TSC_STEPENABLE_OFFSET DWORD 16#54 ADC Stepenable register ADC_TSC_CTRL_OFFSET DWORD 16#40 ADC control register, for enabling/disabling the ADC, value = 16#00000001 CM_WKUP_ADC_TSC_CLKCTRL_OFFSET DWORD 16#4BC CM_WKUP control register, for waking up ADC g_aMemRegions ARRAY [0..(gc_iNrOfMemRegions - 1)] OF MemRegion [STRUCT(pPhysical := 16#44E00000, dwSize := 16#4000), STRUCT(pPhysical := 16#44E07000, dwSize := 16#1000), STRUCT(pPhysical := 16#4804C000, dwSize := 16#1000), STRUCT(pPhysical := 16#481AC000, dwSize := 16#1000), STRUCT(pPhysical := 16#481AE000, dwSize := 16#1000), STRUCT(pPhysical := 16#44E10000, dwSize := 16#2000), STRUCT(pPhysical := 16#44E0D000, dwSize := 16#2000), STRUCT(pPhysical := 16#0, dwSize := 16#10)]
IoDrvGPIOBBB (FB) ¶ FUNCTION_BLOCK IoDrvGPIOBBB EXTENDS IoDrvGPIOBase Methods: ConfigurePinAI ConfigurePinDI ConfigurePinDO IsChannelEnabled ReadPin GetRegisterOffset , inherited from IoDrvGPIOBase IoDrvGetConnector , inherited from IoDrvGPIOBase IoDrvGetModuleDiagnosis , inherited from IoDrvGPIOBase IoDrvReadParameter , inherited from IoDrvGPIOBase IoDrvWriteParameter , inherited from IoDrvGPIOBase Phys2Virt , inherited from IoDrvGPIOBase QueryInterface , inherited from IoDrvGPIOBase SetBitOffset , inherited from IoDrvGPIOBase SetRegisterOffset , inherited from IoDrvGPIOBase SetRegisterPointer , inherited from IoDrvGPIOBase WritePin , inherited from IoDrvGPIOBase Structure: ConfigurePinAI (Method) ConfigurePinDI (Method) ConfigurePinDO (Method) IsChannelEnabled (Method) ReadPin (Method)