From 4e1ce86af16307bf7d42657db07600867c7c4bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 17:18:49 +0200 Subject: Add some more progress and split non-core functionality to separate repo More progress to implementation and some changes in project it self. This library will implement only drivers for features on chip but nothing else. Everything connected externally is now in separate repository. --- docs/parts/tasks.md | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 docs/parts/tasks.md (limited to 'docs/parts/tasks.md') diff --git a/docs/parts/tasks.md b/docs/parts/tasks.md deleted file mode 100644 index e4f71df..0000000 --- a/docs/parts/tasks.md +++ /dev/null @@ -1,38 +0,0 @@ -Tasks -===== -Tasks can be used for sharing processor for example during period of waiting for -interrupt. Planing is based on priority. - -## Functions -### tasks_run -```C -int8_t tasks_run(void) -``` -This function starts tasks execution. Should be called after all task slots are -prepared and at least one task is started. This function exits if no task exist or -all existing tasks exited. - -### task_init - -## Structures -### Task -```C -typedef struct { - uint8_t flags; - void (*func) (void); -} Task; -``` - -### TaskSlot -```C -typedef struct { - uint8_t flags; - Task *task; - uint8_t stack_size; - uint8_t stack[]; -} TaskSlot; -``` - -### Mutex - -### Semaphore -- cgit v1.2.3