blob: cb9813fe6b18549043787af1106898fc4bc92079 [file] [view]
<!--
Copyright 2017, Data61, CSIRO (ABN 41 687 119 230)
SPDX-License-Identifier: CC-BY-SA-4.0
-->
This application demonstrates how to use a binary semaphore to turn an
asynchronous interface (ie. where a callback is invoked by an interrupt handler)
into a synchronous camkes interface. A periodic event is used to simulate an
interrupt.