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.
signal_wrapper.cpp
00001 #include "mbed.h" 00002 #include <cctype> 00003 00004 EventFlags event_flags; 00005 00006 uint32_t send_signal( uint32_t flags ) 00007 { 00008 return event_flags.set( flags ); 00009 } 00010 00011 uint32_t wait_for_signal( uint32_t flags ) 00012 { 00013 return event_flags.wait_any( flags ); 00014 }
Generated on Thu Jul 14 2022 17:18:57 by
1.7.2