This program collects raw time series data from the ADC using the NXP board that will later be post processed by PFP Cyber-security cloud base machine learning engine to determine the state of the device.
Dependencies: FXAS21002 FXOS8700Q
simple-mbed-cloud-client/mbed-cloud-client/sal-stack-nanostack-eventloop/source/ns_timer.h@2:990c985a69ae, 2020-03-20 (annotated)
- Committer:
- vithyat
- Date:
- Fri Mar 20 20:15:18 2020 +0000
- Revision:
- 2:990c985a69ae
- Parent:
- 0:977e87915078
Update to work with P2Scan runtime
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vithyat | 0:977e87915078 | 1 | /* |
vithyat | 0:977e87915078 | 2 | * Copyright (c) 2014-2015 ARM Limited. All rights reserved. |
vithyat | 0:977e87915078 | 3 | * SPDX-License-Identifier: Apache-2.0 |
vithyat | 0:977e87915078 | 4 | * Licensed under the Apache License, Version 2.0 (the License); you may |
vithyat | 0:977e87915078 | 5 | * not use this file except in compliance with the License. |
vithyat | 0:977e87915078 | 6 | * You may obtain a copy of the License at |
vithyat | 0:977e87915078 | 7 | * |
vithyat | 0:977e87915078 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
vithyat | 0:977e87915078 | 9 | * |
vithyat | 0:977e87915078 | 10 | * Unless required by applicable law or agreed to in writing, software |
vithyat | 0:977e87915078 | 11 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT |
vithyat | 0:977e87915078 | 12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
vithyat | 0:977e87915078 | 13 | * See the License for the specific language governing permissions and |
vithyat | 0:977e87915078 | 14 | * limitations under the License. |
vithyat | 0:977e87915078 | 15 | */ |
vithyat | 0:977e87915078 | 16 | #ifndef NS_TIMER_H_ |
vithyat | 0:977e87915078 | 17 | #define NS_TIMER_H_ |
vithyat | 0:977e87915078 | 18 | |
vithyat | 0:977e87915078 | 19 | #include "platform/eventloop_config.h" |
vithyat | 0:977e87915078 | 20 | |
vithyat | 0:977e87915078 | 21 | #ifdef __cplusplus |
vithyat | 0:977e87915078 | 22 | extern "C" { |
vithyat | 0:977e87915078 | 23 | #endif |
vithyat | 0:977e87915078 | 24 | |
vithyat | 0:977e87915078 | 25 | #ifndef NS_EXCLUDE_HIGHRES_TIMER |
vithyat | 0:977e87915078 | 26 | extern int8_t ns_timer_sleep(void); |
vithyat | 0:977e87915078 | 27 | #else |
vithyat | 0:977e87915078 | 28 | #define ns_timer_sleep() ((int8_t) 0) |
vithyat | 0:977e87915078 | 29 | #endif |
vithyat | 0:977e87915078 | 30 | |
vithyat | 0:977e87915078 | 31 | #ifdef __cplusplus |
vithyat | 0:977e87915078 | 32 | } |
vithyat | 0:977e87915078 | 33 | #endif |
vithyat | 0:977e87915078 | 34 | |
vithyat | 0:977e87915078 | 35 | #endif /*NS_TIMER_H_*/ |