mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-04-25 09:29:21 -04:00

- Move GPIO functions to gpio.c and gpio.h - Move string handling functions for debug to lib.c and lib.h - Add config.h and move config defines there - Add debug print functionality via FPGA with framing protocol - Add Flash Code and Flash Data functions to flash.c and flash.h
10 lines
186 B
C
10 lines
186 B
C
#ifndef __FLASH_H__
|
|
#define __FLASH_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
uint8_t write_code_flash(uint16_t address, uint16_t data);
|
|
uint8_t write_data_flash(uint8_t address, uint8_t data);
|
|
|
|
#endif
|