2 * Copyright (c) 2018 Samsung Electronics Co., Ltd.
4 * Contact: Jin Yoon <jinny.yoon@samsung.com>
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an AS IS BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
19 #ifndef __POSITION_FINDER_RESOURCE_INTERNAL_H__
20 #define __POSITION_FINDER_RESOURCE_INTERNAL_H__
22 #include <peripheral_io.h>
24 #include "resource/resource_illuminance_sensor_internal.h"
30 peripheral_gpio_h sensor_h;
33 typedef struct _resource_s resource_s;
35 typedef void (*resource_read_cb)(double value, void *data);
37 struct _resource_read_cb_s {
42 typedef struct _resource_read_cb_s resource_read_s;
44 extern resource_s *resource_get_info(int pin_num);
45 extern void resource_close_all(void);
47 #endif /* __POSITION_FINDER_RESOURCE_INTERNAL_H__ */