Remove unused directories and files in video_in_hal
[staging/basesystem.git] / hal / can_hal / src / inc / can_hal_stm.h
1 /*
2  * @copyright Copyright (c) 2020 TOYOTA MOTOR CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef _CAN_HAL_STM_H_
18 #define _CAN_HAL_STM_H_
19 #include "can_hal.h"
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 bool TypeIsValid(enum CanHalType type);
24 bool IsCanHalOpened(enum CanHalType type);
25 void SetCanHalStateOpen(enum CanHalType type);
26 void SetCanHalStateClose(enum CanHalType type);
27 bool IsDeviceEnabled(enum CanHalType type);
28 void SetDeviceStateEnable(enum CanHalType type);
29 void SetDeviceStateDisable(enum CanHalType type);
30 CANHAL_RET_API InvokeStateCallback(enum CanHalType type);
31 CANHAL_RET_API InvokeErrorCallback(HANDLE h_app, enum CanHalType type);
32 CANHAL_RET_API CanHalInternalSend(enum CanHalType type, 
33                                   const void *msg, ssize_t sz);
34 CANHAL_RET_API CanHalInternalSend_CWORD118_(enum CanHalType type, 
35                                      const void *msg, ssize_t sz);
36 CANHAL_RET_API CanHalSendStatus(enum CanHalType type, HANDLE h_app,
37                                      const void *msg, ssize_t sz);
38 CANHAL_RET_API CanHalReceiveNotify(enum CanHalType type,
39                                      const void *msg, ssize_t sz);
40 CANHAL_RET_API CanHalCreateInternalThread(HANDLE h_app, enum CanHalType type);
41 CANHAL_RET_API CanHalDestroyInternalThread(HANDLE h_app, enum CanHalType type);
42 #ifdef __cplusplus
43 }
44 #endif
45 #endif