aboutsummaryrefslogtreecommitdiff
path: root/stm-fpgacfg.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm-fpgacfg.h')
-rw-r--r--stm-fpgacfg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stm-fpgacfg.h b/stm-fpgacfg.h
index 74cc683..a8ec9e8 100644
--- a/stm-fpgacfg.h
+++ b/stm-fpgacfg.h
@@ -88,6 +88,7 @@ enum fpgacfg_reset {
extern void fpgacfg_init(void);
extern HAL_StatusTypeDef fpgacfg_check_id(void);
extern HAL_StatusTypeDef fpgacfg_write_data(uint32_t offset, const uint8_t *buf, const uint32_t len);
+extern HAL_StatusTypeDef fpgacfg_read_data(uint32_t offset, uint8_t *buf, const uint32_t len);
extern HAL_StatusTypeDef fpgacfg_erase_sector(uint32_t sector_offset);
extern void fpgacfg_access_control(enum fpgacfg_access_ctrl access);
/* Reset the FPGA */