#include <stdio.h>
#include "RTE_Components.h"
#include CMSIS_device_header
}
}
}
void phaseA (
void *argument) {
for (;;) {
}
}
void phaseB (
void *argument) {
for (;;) {
}
}
void phaseC (
void *argument) {
for (;;) {
}
}
void phaseD (
void *argument) {
for (;;) {
}
}
void clock (
void *argument) {
for (;;) {
}
}
}
#ifndef _STK_STANDALONE_EXAMPLE
#else
int main(
int argc,
char* argv[])
#endif
{
SystemCoreClockUpdate();
}
while(1);
}
void Led_InitAll(bool state)
void Led_Set(LedId led, bool state)
CMSIS RTOS2 interface for SuperTinyKernel RTOS.
#define osFlagsWaitAny
Wait for any flag (default).
osKernelState_t osKernelGetState(void)
osThreadId_t osThreadNew(osThreadFunc_t func, void *argument, const osThreadAttr_t *attr)
uint32_t osThreadFlagsSet(osThreadId_t thread_id, uint32_t flags)
osStatus_t osKernelStart(void)
#define osWaitForever
Wait forever timeout value.
uint32_t osThreadFlagsWait(uint32_t flags, uint32_t options, uint32_t timeout)
osStatus_t osKernelInitialize(void)
osStatus_t osDelay(uint32_t ticks)
void app_main(void *argument)
void phaseD(void *argument)
void phaseA(void *argument)
void Switch_Off(unsigned char led)
void Switch_On(unsigned char led)
void phaseC(void *argument)
void clock(void *argument)
void signal_func(osThreadId_t tid)
void phaseB(void *argument)