Update Iot.js
[platform/upstream/iotjs.git] / src / platform / arm-nuttx / iotjs_module_gpio-arm-nuttx-general.inl.h
1 /* Copyright 2016-present Samsung Electronics Co., Ltd. and other contributors
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15
16 #ifndef IOTJS_MODULE_GPIO_ARM_NUTTX_GENERAL_INL_H
17 #define IOTJS_MODULE_GPIO_ARM_NUTTX_GENERAL_INL_H
18
19 #include "module/iotjs_module_gpio.h"
20
21
22 void iotjs_gpio_open_worker(uv_work_t* work_req) {
23   IOTJS_ASSERT(!"Not implemented");
24 }
25
26 void iotjs_gpio_write_worker(uv_work_t* work_req) {
27   IOTJS_ASSERT(!"Not implemented");
28 }
29
30 void iotjs_gpio_read_worker(uv_work_t* work_req) {
31   IOTJS_ASSERT(!"Not implemented");
32 }
33
34 void iotjs_gpio_close_worker(uv_work_t* work_req) {
35   IOTJS_ASSERT(!"Not implemented");
36 }
37
38 bool iotjs_gpio_write(uv_work_t* work_req) {
39   IOTJS_ASSERT(!"Not implemented");
40   return false;
41 }
42
43 int iotjs_gpio_read(uv_work_t* work_req) {
44   IOTJS_ASSERT(!"Not implemented");
45   return -1;
46 }
47
48 #endif /* IOTJS_MODULE_GPIO_ARM_NUTTX_GENERAL_INL_H */