diff options
Diffstat (limited to 'tmk_core/common/eeprom.h')
-rw-r--r-- | tmk_core/common/eeprom.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tmk_core/common/eeprom.h b/tmk_core/common/eeprom.h index 5ae0f6eeb..fcd1667c0 100644 --- a/tmk_core/common/eeprom.h +++ b/tmk_core/common/eeprom.h | |||
@@ -2,22 +2,22 @@ | |||
2 | #define TMK_CORE_COMMON_EEPROM_H_ | 2 | #define TMK_CORE_COMMON_EEPROM_H_ |
3 | 3 | ||
4 | #if defined(__AVR__) | 4 | #if defined(__AVR__) |
5 | #include <avr/eeprom.h> | 5 | # include <avr/eeprom.h> |
6 | #else | 6 | #else |
7 | #include <stdint.h> | 7 | # include <stdint.h> |
8 | 8 | ||
9 | uint8_t eeprom_read_byte (const uint8_t *__p); | 9 | uint8_t eeprom_read_byte(const uint8_t *__p); |
10 | uint16_t eeprom_read_word (const uint16_t *__p); | 10 | uint16_t eeprom_read_word(const uint16_t *__p); |
11 | uint32_t eeprom_read_dword (const uint32_t *__p); | 11 | uint32_t eeprom_read_dword(const uint32_t *__p); |
12 | void eeprom_read_block (void *__dst, const void *__src, uint32_t __n); | 12 | void eeprom_read_block(void *__dst, const void *__src, uint32_t __n); |
13 | void eeprom_write_byte (uint8_t *__p, uint8_t __value); | 13 | void eeprom_write_byte(uint8_t *__p, uint8_t __value); |
14 | void eeprom_write_word (uint16_t *__p, uint16_t __value); | 14 | void eeprom_write_word(uint16_t *__p, uint16_t __value); |
15 | void eeprom_write_dword (uint32_t *__p, uint32_t __value); | 15 | void eeprom_write_dword(uint32_t *__p, uint32_t __value); |
16 | void eeprom_write_block (const void *__src, void *__dst, uint32_t __n); | 16 | void eeprom_write_block(const void *__src, void *__dst, uint32_t __n); |
17 | void eeprom_update_byte (uint8_t *__p, uint8_t __value); | 17 | void eeprom_update_byte(uint8_t *__p, uint8_t __value); |
18 | void eeprom_update_word (uint16_t *__p, uint16_t __value); | 18 | void eeprom_update_word(uint16_t *__p, uint16_t __value); |
19 | void eeprom_update_dword (uint32_t *__p, uint32_t __value); | 19 | void eeprom_update_dword(uint32_t *__p, uint32_t __value); |
20 | void eeprom_update_block (const void *__src, void *__dst, uint32_t __n); | 20 | void eeprom_update_block(const void *__src, void *__dst, uint32_t __n); |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | #endif /* TMK_CORE_COMMON_EEPROM_H_ */ | 23 | #endif /* TMK_CORE_COMMON_EEPROM_H_ */ |