]> rtime.felk.cvut.cz Git - arc.git/blob - include/CanIf_Cbk.h
Merge with 3ecb6845e742978827406b7da6f77dc350e6b55b
[arc.git] / include / CanIf_Cbk.h
1 /* -------------------------------- Arctic Core ------------------------------\r
2  * Arctic Core - the open source AUTOSAR platform http://arccore.com\r
3  *\r
4  * Copyright (C) 2009  ArcCore AB <contact@arccore.com>\r
5  *\r
6  * This source code is free software; you can redistribute it and/or modify it\r
7  * under the terms of the GNU General Public License version 2 as published by the\r
8  * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.\r
9  *\r
10  * This program is distributed in the hope that it will be useful, but\r
11  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
12  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\r
13  * for more details.\r
14  * -------------------------------- Arctic Core ------------------------------*/\r
15 \r
16 \r
17 \r
18 \r
19 \r
20 \r
21 \r
22 \r
23 #ifndef CANIF_CBK_H_\r
24 #define CANIF_CBK_H_\r
25 \r
26 void CanIf_TxConfirmation( PduIdType canTxPduId );\r
27 void CanIf_RxIndication( uint8 Hrh, Can_IdType CanId, uint8 CanDlc, const uint8 *CanSduPtr );\r
28 \r
29 #if ( CANIF_TRANSMIT_CANCELLATION == STD_ON )\r
30 void CanIf_CancelTxConfirmation( const Can_PduType *PduInfoPtr );\r
31 #endif\r
32 \r
33 void CanIf_ControllerBusOff( uint8 Controller );\r
34 void CanIf_SetWakeupEvent( uint8 Controller );\r
35 \r
36 /* ArcCore extensions */\r
37 void CanIf_Arc_Error( uint8 Controller, Can_Arc_ErrorType Error );\r
38 \r
39 #endif /*CANIF_CBK_H_*/\r