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/event.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) 2017 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_EVENT_H_ |
vithyat | 0:977e87915078 | 17 | #define NS_EVENT_H_ |
vithyat | 0:977e87915078 | 18 | |
vithyat | 0:977e87915078 | 19 | #ifdef __cplusplus |
vithyat | 0:977e87915078 | 20 | extern "C" { |
vithyat | 0:977e87915078 | 21 | #endif |
vithyat | 0:977e87915078 | 22 | |
vithyat | 0:977e87915078 | 23 | |
vithyat | 0:977e87915078 | 24 | bool event_tasklet_handler_id_valid(uint8_t tasklet_id); |
vithyat | 0:977e87915078 | 25 | void eventOS_event_send_timer_allocated(arm_event_storage_t *event); |
vithyat | 0:977e87915078 | 26 | |
vithyat | 0:977e87915078 | 27 | // This requires lock to be held |
vithyat | 0:977e87915078 | 28 | arm_event_storage_t *eventOS_event_find_by_id_critical(uint8_t tasklet_id, uint8_t event_id); |
vithyat | 0:977e87915078 | 29 | |
vithyat | 0:977e87915078 | 30 | #ifdef __cplusplus |
vithyat | 0:977e87915078 | 31 | } |
vithyat | 0:977e87915078 | 32 | #endif |
vithyat | 0:977e87915078 | 33 | |
vithyat | 0:977e87915078 | 34 | #endif /*NS_EVENT_H_*/ |