mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
mbed OS 5 target is currently missing wrappers around PwmOut and AnalogIn interface, which are part of the standard library of mbed OS. This commit adds them. Tested with mbed CI test shield. I've followed the coding style in jerryscript-mbed, rather than JerryScript coding style. JerryScript-DCO-1.0-Signed-off-by: Jan Jongboom janjongboom@gmail.com
23 lines
823 B
C
23 lines
823 B
C
/* Copyright (c) 2016 ARM Limited
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
#ifndef _JERRYSCRIPT_MBED_DRIVERS_PWMOUT_H
|
|
#define _JERRYSCRIPT_MBED_DRIVERS_PWMOUT_H
|
|
|
|
#include "jerryscript-mbed-library-registry/wrap_tools.h"
|
|
|
|
DECLARE_CLASS_CONSTRUCTOR(PwmOut);
|
|
|
|
#endif // _JERRYSCRIPT_MBED_DRIVERS_PWMOUT_H
|