Example

Dependencies:   FXAS21002 FXOS8700Q

Committer:
maygup01
Date:
Tue Nov 19 09:49:38 2019 +0000
Revision:
0:11cc2b7889af
Example

Who changed what in which revision?

UserRevisionLine numberNew contents of line
maygup01 0:11cc2b7889af 1 /*
maygup01 0:11cc2b7889af 2 * Copyright (c) 2014-2015 ARM Limited. All rights reserved.
maygup01 0:11cc2b7889af 3 * SPDX-License-Identifier: Apache-2.0
maygup01 0:11cc2b7889af 4 * Licensed under the Apache License, Version 2.0 (the License); you may
maygup01 0:11cc2b7889af 5 * not use this file except in compliance with the License.
maygup01 0:11cc2b7889af 6 * You may obtain a copy of the License at
maygup01 0:11cc2b7889af 7 *
maygup01 0:11cc2b7889af 8 * http://www.apache.org/licenses/LICENSE-2.0
maygup01 0:11cc2b7889af 9 *
maygup01 0:11cc2b7889af 10 * Unless required by applicable law or agreed to in writing, software
maygup01 0:11cc2b7889af 11 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
maygup01 0:11cc2b7889af 12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
maygup01 0:11cc2b7889af 13 * See the License for the specific language governing permissions and
maygup01 0:11cc2b7889af 14 * limitations under the License.
maygup01 0:11cc2b7889af 15 */
maygup01 0:11cc2b7889af 16 #ifndef NS_TIMER_H_
maygup01 0:11cc2b7889af 17 #define NS_TIMER_H_
maygup01 0:11cc2b7889af 18
maygup01 0:11cc2b7889af 19 #include "platform/eventloop_config.h"
maygup01 0:11cc2b7889af 20
maygup01 0:11cc2b7889af 21 #ifdef __cplusplus
maygup01 0:11cc2b7889af 22 extern "C" {
maygup01 0:11cc2b7889af 23 #endif
maygup01 0:11cc2b7889af 24
maygup01 0:11cc2b7889af 25 #ifndef NS_EXCLUDE_HIGHRES_TIMER
maygup01 0:11cc2b7889af 26 extern int8_t ns_timer_sleep(void);
maygup01 0:11cc2b7889af 27 #else
maygup01 0:11cc2b7889af 28 #define ns_timer_sleep() ((int8_t) 0)
maygup01 0:11cc2b7889af 29 #endif
maygup01 0:11cc2b7889af 30
maygup01 0:11cc2b7889af 31 #ifdef __cplusplus
maygup01 0:11cc2b7889af 32 }
maygup01 0:11cc2b7889af 33 #endif
maygup01 0:11cc2b7889af 34
maygup01 0:11cc2b7889af 35 #endif /*NS_TIMER_H_*/