Skip to content

GPIO

GPIO in the Industry

General-Purpose Input/Output (GPIO) pins are fundamental components in embedded systems. They provide the capability to interface with various external devices such as sensors, actuators, LEDs, and other peripherals. GPIO pins can be configured as either input or output, allowing them to either read signals from external devices or send signals to control these devices.

GPIO Output

The MikroSDK.Driver.GPIO.Out library provides a convenient and abstracted way to handle GPIO pins configured as outputs. This library is extensively used in various applications within the embedded industry, including:

  • Controlling indicator LEDs

  • Driving relays and other actuators

  • Interfacing with digital displays

  • Sending control signals to other microcontrollers or devices

GPIO Input

The MikroSDK.Driver.GPIO.In library provides a convenient and abstracted way to handle GPIO pins configured as inputs. This library is extensively used in various applications within the embedded industry, including:

  • Reading the state of buttons and switches

  • Receiving data from digital sensors

  • Detecting external interrupt signals

  • Monitoring input signals from other microcontrollers or devices

GPIO Port

The MikroSDK.Driver.GPIO.Port library provides a comprehensive and abstracted way to handle GPIO ports. This library is widely used in various embedded applications, including:

  • Controlling multiple LEDs or relays

  • Reading the state of multiple buttons or switches

  • Interfacing with digital sensors and devices

  • Implementing parallel communication protocols