This app note descibes input and output from and to ports.
VERSION | RELEASED | COMMENTS | ||
---|---|---|---|---|
1.0.0 | 2025-03-10 | Basic input and output operaions using XCORE ports, including example code | VIEW HTML VIEW PDF | ZIP |
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