]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * (C) Copyright 2014, 2018 Leo C. <erbl259-lmu@yahoo.de> | |
3 | * | |
4 | * SPDX-License-Identifier: GPL-2.0 | |
5 | */ | |
6 | ||
7 | #ifndef PRINT_UTILS_H | |
8 | #define PRINT_UTILS_H | |
9 | ||
10 | #include "common.h" | |
11 | #include <avr/eeprom.h> | |
12 | ||
13 | void print_blanks(uint_fast8_t count); | |
14 | ERRNUM dump_mem(uint32_t address, uint32_t offset, uint32_t len, | |
15 | ERRNUM (*readfkt)(uint8_t *, uint32_t, uint8_t), char *title); | |
16 | ||
17 | void dump_eep(uint32_t addr, unsigned int len, char *title); | |
18 | void dump_ram(uint8_t *addr, size_t offset, unsigned int len, char *title); | |
19 | ||
20 | ERRNUM eeprom_read_buf(uint8_t *buf, uint32_t addr, uint8_t count); | |
21 | ERRNUM ram_read_buf(uint8_t *buf, uint32_t addr, uint8_t count); | |
22 | ERRNUM flash_read_buf(uint8_t *buf, uint32_t addr, uint8_t count); | |
23 | ||
24 | #endif /* PRINT_UTILS_H */ |