AN03000 : XCORE Input and Output

VERSION RELEASED COMMENTS DOCUMENTATION SOFTWARE
1.0.0 2025-03-12 Basic input and output operaions using XCORE ports, including example code VIEW HTML VIEW PDF ZIP
INFO

Overview#

This app note presents simple examples on how pins can be sampled on an XCORE, and how pins can be driven. It shows a number of short C programs that each demonstrate a simple function, and ends with a function that simultaneously inputs and outputs from and to a UART.

Key Features#

  • Examples of sampling electrical signals through port_in()

  • Examples of driving electrical signals through port_out()

  • Examples of waiting for electrical signals to change through port triggers.

  • Examples of use of hardware timers.

Known Issues#

  • None

Required Tools#

  • XMOS XTC Tools: 15.3.0

Required Libraries (Dependencies)#

  • None

Support#

This package is supported by XMOS Ltd. Issues can be raised against the software at: http://www.xmos.com/support

Scroll to Top
Privacy 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.

3rd Party 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.