Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-os by
eventOS_event_stub.c
00001 /* 00002 * Copyright (c) 2015 ARM Limited. All Rights Reserved. 00003 */ 00004 00005 #include <string.h> 00006 #include "ns_types.h" 00007 #include "eventOS_event.h" 00008 #include "eventOS_event_stub.h" 00009 00010 eventOs_event_stub_def eventOs_event_stub; 00011 00012 int8_t eventOS_event_send(arm_event_s *event) 00013 { 00014 return eventOs_event_stub.int8_value; 00015 } 00016 00017 int8_t eventOS_event_handler_create(void (*handler_func_ptr)(arm_event_s *), uint8_t init_event_type) 00018 { 00019 eventOs_event_stub.event_ptr = handler_func_ptr; 00020 return eventOs_event_stub.int8_value; 00021 }
Generated on Tue Jul 12 2022 13:15:48 by
