lib_gpio

VERSION RELEASED COMMENTS DOCUMENTATION SOFTWARE
2.2.1 2025-08-27 Minor update to improve documentation VIEW HTML VIEW PDF ZIP
View older versions
2.2.0 2025-06-24 GPIO examples updated to run on xcore.ai and support new tools and build system DOWNLOAD ZIP ZIP
INFO

Summary

lib_gpio provides access to xcore ports as low-speed GPIO.

While xcore ports can be accessed directly using the xC programming language, this library offers more flexibility. In particular, it supports splitting a multi-pin input/output port so that the individual pins can be used independently. It also enables accessing ports across separate xcore tiles or even across different xcore devices.

Features

  • Abstract interface to GPIO functionality of xcore ports

  • Allow control of individual bits of multi-bit ports

  • Allow access to ports across tiles

Known issues

  • None

Development repo

Required tools

  • XMOS XTC Tools: 15.3.1

Required libraries (dependencies)

Support

This package is supported by XMOS Ltd. Issues can be raised against the software at www.xmos.com/support or using GitHub issues.

Scroll to Top
Cookie Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

Analytics Cookies

This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.