diff options
author | Leo C | 2014-08-13 21:00:21 +0200 |
---|---|---|
committer | Leo C | 2014-08-13 21:00:21 +0200 |
commit | 72f5882239bb88b8a68f305802e0dde37a975604 (patch) | |
tree | a932ba22f7174de0fd773cf31d4d914dd548dfdd /avr/background.h | |
parent | d684c21619905153eff68c43927207248925f6c2 (diff) | |
download | z180-stamp-72f5882239bb88b8a68f305802e0dde37a975604.zip |
Add memory commands (cmp, cp, md, mm, mw, nm)
Add kind of scheduler for background tasks
Diffstat (limited to 'avr/background.h')
-rw-r--r-- | avr/background.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/avr/background.h b/avr/background.h new file mode 100644 index 0000000..a624dbb --- /dev/null +++ b/avr/background.h @@ -0,0 +1,10 @@ +#ifndef BACKGROUND_H +#define BACKGROUND_H + +typedef int (*bg_func)(int); + +int bg_register(bg_func f); +void bg_shed(void); + +#endif /* BACKGROUND_H */ + |