Hi, where is the source or definition of the type tileref as used in xs1.h (for read_periph_32..., etc)?
Where is the typedef of tileref? Topic is solved
-
- Experienced Member
- Posts: 82
- Joined: Thu Apr 04, 2013 10:14 pm
-
Verified
- XCore Legend
- Posts: 1163
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
Please see here: https://www.xmos.com/en/xn-specification?secure=1
Specifically:
A Declaration element provides a symbolic name for one or more xCORE Tiles. A single name or an array of names is supported with the form:
tileref identifier
tileref identifier [ constant-expression ]
An equivalent declaration is exported to the header file <platform.h> for use in XC programs. A tileref declaration is associated with physical xCORE tiles by the reference attribute of a Tile element .
Specifically:
A Declaration element provides a symbolic name for one or more xCORE Tiles. A single name or an array of names is supported with the form:
tileref identifier
tileref identifier [ constant-expression ]
An equivalent declaration is exported to the header file <platform.h> for use in XC programs. A tileref declaration is associated with physical xCORE tiles by the reference attribute of a Tile element .
Technical Director @ XMOS. Opinions expressed are my own