2 * @copyright Copyright (c) 2019-2020 TOYOTA MOTOR CORPORATION.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 * This source code is a sample source code .
20 * Implementation of the function must be performed by the vendor.
23 #include "stub/el_gpio.h"
25 int EL_Gpio_write(int symbol , bool value) {
28 * This feature needs to be implemented by the vendor.
33 int EL_Gpio_read(int symbol , bool *value) {
36 * This feature needs to be implemented by the vendor.
41 int EL_Gpio_attachInterruptControl(int symbol , unsigned long irq_flags) {
44 * This feature needs to be implemented by the vendor.
49 int EL_Gpio_detachInterruptControl(int symbol) {
52 * This feature needs to be implemented by the vendor.
57 int EL_Gpio_waitInterrupt(int symbol) {
60 * This feature needs to be implemented by the vendor.
65 int EL_Gpio_waitInterrupt_timeout(int symbol, int timeout) {
68 * This feature needs to be implemented by the vendor.
73 int EL_Gpio_finalize(void) {
76 * This feature needs to be implemented by the vendor.