Skip to content

gpio_out

pierre drezet edited this page Aug 20, 2025 · 2 revisions

General purpose output block. 

Outputs default to TTL (pull up and pull down) or Open Drain (Pull down only).

GPIO inputs are require only their pinID to be defined and the values are polled. There is no support for interrupt/event driven options that some hardware may support.

NXP Kenitis reference Board

0:CONFIG_GPIO_PROCBOARDLED1_RED_PIN

1:CONFIG_GPIO_PROCBOARDLED1_GRN_PIN

2:CONFIG_GPIO_PROCBOARDLED2_RED_PIN

3:CONFIG_GPIO_PROCBOARDLED2_GRN_PIN

4:CONFIG_GPIO_BUTTON_SET_PIN

5:CONFIG_GPIO_BUTTON_MODE_PIN (INX_NXP_KENETIS_BOARD_VARIANT == INX_HR_HRc)

6:CONFIG_GPIO_BUTTON_DOWN_PIN

7:CONFIG_GPIO_BUTTON_UP_PIN

8:CONFIG_GPIO_CONTROL_INTERNAL_RELAY_1

9:CONFIG_GPIO_CONTROL_INTERNAL_RELAY_2

10:CONFIG_GPIO_CONTROL_INTERNAL_RELAY_3

11:CONFIG_GPIO_CONTROL_SSR_EXTERNAL_OUT_1

12:CONFIG_GPIO_CONTROL_SSR_EXTERNAL_OUT_2

13:CONFIG_GPIO_CONTROL_SSR_EXTERNAL_OUT_3

14:CONFIG_GPIO_SENSE_CONRELAY_1

15:CONFIG_GPIO_SENSE_CONRELAY_2 Pine64 A6 Cluster Board Armbian/Android

0:FP LED CH1

1:FP LED CH2

2:FP LED CH3

3:FP LED CH4

4:FP LED CH5

5:FP LED CH6

6:FP LED CH7

Reset#1-CH7_GPIO_ResetCh1 62 gpio226 PH2

Reset#2-CH7_GPIO_ResetCh2 37 gpio227 PH3

Reset#3-CH7_GPIO_ResetCh3 68 gpio229 PH5

Reset#4-CH7_GPIO_ResetCh4 66 gpio230 PH6

Reset#5-CH7_GPIO_ResetCh5 38 gpio232 PH8

Reset#6/7-CH7_GPIO_ResetCh6/CH6_GPIO_ResetCh7 77 gpio233 PH9

Global Mute SLOTn_PB1 75 gpio33 PB1

name type default min. max. description
Pin ID String (Blank) - - ID for PIN
In Ev.
write Write input event.
Data In

Input data.
Data Out
Out Ev.
State Machine Stateless.
Toolbox GUI/Level1. Version v2.1.
Licence Type MPL2.0 Component Supplier inx ltd.
Minumum DCC A0000 Profiles GPIO ID.

Core Components

Events & Triggers

State Management

  • STATE - Represents a State in Lucid
  • state_condition - Event driven state condition --> transition and actions
  • state_debug - To debug state machines this function block is required.
  • state_manager - Each state machine is defined by a State Manager

Array & Data Structures

Buffers & Queues

Primitive Data Constants

Data Converters

Boolean Logic



Mathematics

Alebraic Evaluation

Mathematical Operators

Inequalities

Trigonometry

Other Functions

Data Selection

  • indexed_mux_int - Indexed Mux Int
  • indexed_mux_str - Indexed Mux String
  • map_int - Map Int
  • mux_1b - mux_1b
  • mux_1i - mux_1i
  • mux_1r - mux_1r
  • mux_1s - mux_1s
  • mux_2b - MultiplexTwo Input Bool
  • mux_2i - MultiplexTwo Input Int
  • mux_2r - MultiplexTwo Input Real
  • mux_2s - MultiplexTwo Input String
  • mux_3b - MultiplexThree Input Bool
  • mux_3i - MultiplexThree Input Int
  • mux_3r - MultiplexThree Input Real
  • mux_3s - MultiplexThree Input String
  • mux_4b - MultiplexFour Input Bool
  • mux_4i - MultiplexFour Input Int
  • mux_4r - MultiplexFour Input Real
  • mux_4s - MultiplexFour Input String
  • mux_8b - 8-Input Indexed Boolean Multiplexer Function Block
  • mux_8i - 8-Input Indexed Integer Multiplexer Function Block
  • mux_8r - 8-Input Real Number Multiplexer Function Block
  • mux_8s - Number Multiplexer Function Block
  • num_mux - Numeric Multiplexer Function Block

Data Processing & Parsers

Database & Storage

Demultiplexers

String Functions

File Operations



Basic IO Components

GPIO & Hardware I/O



Graphics and UI Components

GUI & User Interface

User Input

  • keypress - Reads key presses & control keys

Unity & Web Integration

  • inx-unity - Provides media and animation widget interface
  • unity2 - Unity 3D
  • webkit - JavaScript/WebKit Interface (Obsolete)

Language & Localization



Media Components

Audio & Media

Digital TV & Media Control



Communications Components

TCPIP Network & Communication

Wireless & LPWAN Networks

Fieldbus Comms



Digital Signal Processing

  • ADC Polled Analogue to Digital converter.
  • ADC_continuous Advanced ADC supporting clocked ISR modes and advanced signal averaging.
  • FFT8 Fast Fourier Transform of 8 bit binary input data
  • FIR8 Finite Impulse Response filter for 8 bit binary data.
  • IIR8 Infinite Impulse Response filter for 8 bit binary data.
  • [calibrate](ADC calibrate) - Calibrates the ADCs


Control Systems Components

PID Controllers



Machine Learning & Machine Vision

  • mv_camera - Provides access to camera input data image streams
  • mv_idsplay - Renders camera image streams.
  • mv_resize - Resizes an image using given interpolation method
  • mv_crop - Crops and image width and height at a give offset
  • mv_apriltag_reader Plain Old Prgramming AprilTag Reader
  • ml_tflite_inference Machine learning model inference.
  • ml_osvm Online iterative machine learning (training& inference).


Platform Components

System Utilities

  • reboot - Reboot the device
  • rtc - RealTimeClock - provdes date/time from RTC device or OS.
  • rtinfo - RuntimeInfo (e.g. MAC/IP address, memory,... )
  • scheduler - Weekly Scheduler
  • system_exec - Executes linux shell commands
  • rng - Random Number Generator (may use hardware RNG)

Time Components

Application Management

Over the Air Update (OTA)

  • ota - OTA Function Block for updating firmware
  • ota_data_parser - Assembles OTA data files from Devman.


Non-functional Components

Some function blocks that can be used Lucid app are for visual/organisation purposes only and do not translate into any executable ert-components.

Sub System Input/Output Ports

-Note this file is autogenerated from ert-config help files and may not currently be complete or properly categorised!

Clone this wiki locally