forked from xtuml/mc
-
Notifications
You must be signed in to change notification settings - Fork 2
/
t.component.port.isr.c
23 lines (23 loc) · 1.05 KB
/
t.component.port.isr.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.//============================================================================
.// Notice:
.// (C) Copyright 1998-2013 Mentor Graphics Corporation
.// All rights reserved.
.//
.// This document contains confidential and proprietary information and
.// property of Mentor Graphics Corp. No part of this document may be
.// reproduced without the express written permission of Mentor Graphics Corp.
.//============================================================================
.//
if ( 0 != ( ${te_mact.ComponentName}_status && ${te_mact.InterfaceName}_${te_mact.MessageName}_order ) ) {
.if ( "" != te_aba.ParameterInvocation )
/* = ${te_mact.ComponentName}_${te_mact.PortName}_${te_mact.MessageName}_<parameter.here>_REG_OFFSET for parameter registers. */
${te_aba.ParameterStructure}\
.end if
.if ( "void" != te_aba.ReturnDataType )
${te_aba.ReturnDataType} r = \
.else
\
.end if
${te_aba.GeneratedName}(${te_aba.ParameterInvocation} );
${te_mact.ComponentName}_ack = ${te_mact.InterfaceName}_${te_mact.MessageName}_order; /* ACK/clear */
}