diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-03-07 15:25:55 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-03-07 15:25:55 -0500 |
commit | a774e33ceff6c3eef02aad4f58a11c7e23ff62bb (patch) | |
tree | 36555d06322d4bea7ffe4bf572cf282db2989fcd /include | |
parent | 77338a6b34d6a164fc2f70e6d736eca8a5b7d251 (diff) |
basic graphing
Diffstat (limited to 'include')
-rw-r--r-- | include/display_draw.h | 1 | ||||
-rw-r--r-- | include/flash.h | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/display_draw.h b/include/display_draw.h index 5ed4224..823c697 100644 --- a/include/display_draw.h +++ b/include/display_draw.h @@ -5,6 +5,7 @@ void dsp_cursoron(void); +void dsp_pixel(int x, int y, uint16_t color); void dsp_line(int x, int y, int i, int j, uint16_t color); void dsp_rect(int x, int y, int w, int h, uint16_t color); diff --git a/include/flash.h b/include/flash.h new file mode 100644 index 0000000..26fffd3 --- /dev/null +++ b/include/flash.h @@ -0,0 +1,11 @@ +#ifndef FLASH_H_ +#define FLASH_H_ + +#include <stdint.h> + +void flash_init(void); + +void flash_read(char *buf, uint32_t addr, unsigned int count); +void flash_write(const char *buf, uint32_t addr, unsigned int count); + +#endif // FLASH_H_ |