Template project for running EEZ Flow firmware project using STM32F469I-DISCO development board
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
736 B

#pragma once
#include <eez/core/os.h>
namespace eez {
enum HighPriorityThreadMessage {
HIGH_PRIORITY_THREAD_MESSAGE_DUMMY
};
void initHighPriorityMessageQueue();
void startHighPriorityThread();
bool isHighPriorityThread();
void sendMessageToHighPriorityThread(HighPriorityThreadMessage messageType, uint32_t messageParam = 0, uint32_t timeoutMillisec = osWaitForever);
enum LowPriorityThreadMessage {
LOW_PRIORITY_THREAD_MESSAGE_DUMMY
};
void initLowPriorityMessageQueue();
void startLowPriorityThread();
bool isLowPriorityThread();
void sendMessageToLowPriorityThread(LowPriorityThreadMessage messageType, uint32_t messageParam = 0, uint32_t timeoutMillisec = osWaitForever);
} // namespace eez