Simulated product dispenser
Fork of mbed-cloud-workshop-connect-HTS221 by
event.h
00001 /* 00002 * Copyright (c) 2017 ARM Limited. All rights reserved. 00003 * SPDX-License-Identifier: Apache-2.0 00004 * Licensed under the Apache License, Version 2.0 (the License); you may 00005 * not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an AS IS BASIS, WITHOUT 00012 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 #ifndef NS_EVENT_H_ 00017 #define NS_EVENT_H_ 00018 00019 #ifdef __cplusplus 00020 extern "C" { 00021 #endif 00022 00023 00024 bool event_tasklet_handler_id_valid(uint8_t tasklet_id); 00025 void eventOS_event_send_timer_allocated(arm_event_storage_t *event); 00026 00027 // This requires lock to be held 00028 arm_event_storage_t *eventOS_event_find_by_id_critical(uint8_t tasklet_id, uint8_t event_id); 00029 00030 #ifdef __cplusplus 00031 } 00032 #endif 00033 00034 #endif /*NS_EVENT_H_*/
Generated on Tue Jul 12 2022 19:12:12 by 1.7.2