2 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
4 * Contact: Jeonghoon Park <jh1979.park@samsung.com>
6 * Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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 __RESOURCE_MOTOR_DRIVER_L298N_INTERNAL_H__
20 #define __RESOURCE_MOTOR_DRIVER_L298N_INTERNAL_H__
22 int resource_set_motor_driver_L298N_configuration(motor_id_e id,
23 unsigned int pin1, unsigned int pin2, unsigned en_ch);
24 void resource_close_motor_driver_L298N(motor_id_e id);
25 void resource_close_motor_driver_L298N_all(void);
27 #endif /* __RESOURCE_MOTOR_DRIVER_L298N_INTERNAL_H__ */