RSS YouTube LinkedIn Twitter XCore IRC

Search

Projects Tutorials Forum

Personal tools

Programming in C

From XCore Exchange

Jump to: navigation, search

Programming in C for an XMOS device is very much like programming for any other platform. The main difference is that access to ports, channels and such like is not via the memory map. Accessing these resources requires calling custom XC functions or implementing custom inline assembly.

C/C++ and XC can be mixed. This can be useful when porting existing code or when you want to utilise pointers or such like.

For more information see:

Using channels and ports in C/C++

Calling functions that have pointer arguments