diff options
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_ |