XCORE SDK
XCORE Software Development Kit
modules
io
modules
mic_array
lib_mic_array
api
mic_array
etc
xcore_compat.h
1
// Copyright 2022 XMOS LIMITED.
2
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
3
4
#pragma once
5
13
#ifdef __XC__
14
15
extern
"C"
{
16
17
typedef
unsigned
xclock_t;
18
typedef
unsigned
port_t;
19
typedef
unsigned
chanend_t;
20
21
typedef
struct
{
22
unsigned
end_a;
23
unsigned
end_b;
24
} streaming_channel_t;
25
26
typedef
struct
{
27
unsigned
end_a;
28
unsigned
end_b;
29
} channel_t;
30
31
}
32
33
#else
//__XC__
34
35
#include <xs1_user.h>
36
#include <xcore/channel_streaming.h>
37
#include <xcore/channel.h>
38
#include <xcore/clock.h>
39
#include <xcore/port.h>
40
41
#endif
//__XC__
42
Generated by
1.9.1