#ifndef Semaphore_h
#define Semaphore_h

#include <xdc/std.h>  					// Mandatory - have to include first, for BIOS types
#include <xdc/runtime/System.h>
#include <xdc/runtime/Error.h>                          // Errors are our specialty.
#include <xdc/runtime/Log.h>				// Needed for any Log_info() call

#include <ti/sysbios/BIOS.h> 				// Mandatory - for BIOS_start() and friends.
#include <xdc/cfg/global.h> 				// Header file for statically defined objects/handles
#include <ti/sysbios/knl/Semaphore.h>                   // Synchronization between EDMA-ISRs and other things.

extern Semaphore_Handle os_sem,
                        wait_for_completion_sem;

extern void init_semaphores( void );

#endif // Semaphore_h
