Committer:
leothedragon
Date:
Sun Apr 18 15:20:23 2021 +0000
Revision:
0:25fa8795676b
DS

Who changed what in which revision?

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