OLE Developer Guide
Latest Git
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
app_pipeline.h
Go to the documentation of this file.
1
/*
2
* This library is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU Lesser General Public
4
* License as published by the Free Software Foundation; either
5
* version 2.1 of the License, or (at your option) any later version.
6
*
7
* This library is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10
* Lesser General Public License for more details.
11
*
12
* You should have received a copy of the GNU Lesser General Public
13
* License along with this library; if not, write to the Free Software
14
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
15
*
16
* template/app_pipeline.h
17
* Copyright (C) 2015 Simon Newton
18
*/
19
20
28
#ifndef BOARDCFG_TEMPLATE_APP_PIPELINE_H_
29
#define BOARDCFG_TEMPLATE_APP_PIPELINE_H_
30
31
#define PIPELINE_TRANSPORT_TX(token, command, rc, iov, iov_count) \
32
USBTransport_SendResponse(token, command, rc, iov, iov_count);
33
34
#define PIPELINE_TRANSPORT_RX(data, size) \
35
StreamDecoder_Process(data, size);
36
37
#define PIPELINE_HANDLE_MESSAGE(message) \
38
MessageHandler_HandleMessage(message);
39
40
#define PIPELINE_LOG_WRITE(message) \
41
USBConsole_Log(message);
42
43
#define PIPELINE_TRANSCEIVER_TX_EVENT(event) \
44
MessageHandler_TransceiverEvent(event);
45
46
#define PIPELINE_TRANSCEIVER_RX_EVENT(event) \
47
Responder_Receive(event);
48
49
#define PIPELINE_RDMRESPONDER_SEND(include_break, iov, iov_len) \
50
Transceiver_QueueRDMResponse(include_break, iov, iov_len);
51
52
#endif // BOARDCFG_TEMPLATE_APP_PIPELINE_H_
boardcfg
template
app_pipeline.h
Generated on Wed Aug 1 2018 03:17:48 for OLE Developer Guide by
1.8.8