clang-format changes
This commit is contained in:
parent
61af76a10d
commit
b624f32f94
502 changed files with 32259 additions and 39062 deletions
|
@ -2,22 +2,22 @@
|
|||
#define TMK_CORE_COMMON_EEPROM_H_
|
||||
|
||||
#if defined(__AVR__)
|
||||
#include <avr/eeprom.h>
|
||||
# include <avr/eeprom.h>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
# include <stdint.h>
|
||||
|
||||
uint8_t eeprom_read_byte (const uint8_t *__p);
|
||||
uint16_t eeprom_read_word (const uint16_t *__p);
|
||||
uint32_t eeprom_read_dword (const uint32_t *__p);
|
||||
void eeprom_read_block (void *__dst, const void *__src, uint32_t __n);
|
||||
void eeprom_write_byte (uint8_t *__p, uint8_t __value);
|
||||
void eeprom_write_word (uint16_t *__p, uint16_t __value);
|
||||
void eeprom_write_dword (uint32_t *__p, uint32_t __value);
|
||||
void eeprom_write_block (const void *__src, void *__dst, uint32_t __n);
|
||||
void eeprom_update_byte (uint8_t *__p, uint8_t __value);
|
||||
void eeprom_update_word (uint16_t *__p, uint16_t __value);
|
||||
void eeprom_update_dword (uint32_t *__p, uint32_t __value);
|
||||
void eeprom_update_block (const void *__src, void *__dst, uint32_t __n);
|
||||
uint8_t eeprom_read_byte(const uint8_t *__p);
|
||||
uint16_t eeprom_read_word(const uint16_t *__p);
|
||||
uint32_t eeprom_read_dword(const uint32_t *__p);
|
||||
void eeprom_read_block(void *__dst, const void *__src, uint32_t __n);
|
||||
void eeprom_write_byte(uint8_t *__p, uint8_t __value);
|
||||
void eeprom_write_word(uint16_t *__p, uint16_t __value);
|
||||
void eeprom_write_dword(uint32_t *__p, uint32_t __value);
|
||||
void eeprom_write_block(const void *__src, void *__dst, uint32_t __n);
|
||||
void eeprom_update_byte(uint8_t *__p, uint8_t __value);
|
||||
void eeprom_update_word(uint16_t *__p, uint16_t __value);
|
||||
void eeprom_update_dword(uint32_t *__p, uint32_t __value);
|
||||
void eeprom_update_block(const void *__src, void *__dst, uint32_t __n);
|
||||
#endif
|
||||
|
||||
#endif /* TMK_CORE_COMMON_EEPROM_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue