12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #ifndef _BOOTLOADER_API_H_
- #define _BOOTLOADER_API_H_
-
- #include <avr/io.h>
- #include <avr/boot.h>
- #include <stdbool.h>
- #include <LUFA/Common/Common.h>
- #include "Config/AppConfig.h"
-
- void BootloaderAPI_ErasePage(const uint32_t Address);
- void BootloaderAPI_WritePage(const uint32_t Address);
- void BootloaderAPI_FillWord(const uint32_t Address, const uint16_t Word);
- uint8_t BootloaderAPI_ReadSignature(const uint16_t Address);
- uint8_t BootloaderAPI_ReadFuse(const uint16_t Address);
- uint8_t BootloaderAPI_ReadLock(void);
- void BootloaderAPI_WriteLock(const uint8_t LockBits);
- #endif
|