c6f76ca660a6d0d5796c16fea172a4c2305f89ce
[staging/basesystem.git] / video_in_hal / stub / memory_gpio_access_library / client / src / el_gpio.c
1 /*
2  * @copyright Copyright (c) 2019-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 /*
18  * Information.
19  * This source code is a sample source code .
20  * Implementation of the function must be performed by the vendor.
21  */
22
23 #include "stub/el_gpio.h"
24
25 int EL_Gpio_write(int symbol , bool value) {
26   /*
27    *  Note.
28    *  This feature needs to be implemented by the vendor.
29    */
30   return 0;
31 }
32
33 int EL_Gpio_read(int symbol , bool *value) {
34   /*
35    *  Note.
36    *  This feature needs to be implemented by the vendor.
37    */
38   return 0;
39 }
40
41 int EL_Gpio_attachInterruptControl(int symbol , unsigned long irq_flags) {
42   /*
43    *  Note.
44    *  This feature needs to be implemented by the vendor.
45    */
46   return 0;
47 }
48
49 int EL_Gpio_detachInterruptControl(int symbol) {
50   /*
51    *  Note.
52    *  This feature needs to be implemented by the vendor.
53    */
54   return 0;
55 }
56
57 int EL_Gpio_waitInterrupt(int symbol) {
58   /*
59    *  Note.
60    *  This feature needs to be implemented by the vendor.
61    */
62   return 0;
63 }
64
65 int EL_Gpio_waitInterrupt_timeout(int symbol, int timeout) {
66   /*
67    *  Note.
68    *  This feature needs to be implemented by the vendor.
69    */
70   return 0;
71 }
72
73 int EL_Gpio_finalize(void) {
74   /*
75    *  Note.
76    *  This feature needs to be implemented by the vendor.
77    */
78   return 0;
79 }