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