diff --git a/src/updi_nvm_v0.h b/src/updi_nvm_v0.h index cda8a6f3..c6cdd09c 100644 --- a/src/updi_nvm_v0.h +++ b/src/updi_nvm_v0.h @@ -31,20 +31,26 @@ extern "C" { #endif -int updi_nvm_chip_erase_V0(const PROGRAMMER *pgm, const AVRPART *p); -int updi_nvm_erase_flash_page_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address); -int updi_nvm_erase_eeprom_V0(const PROGRAMMER *pgm, const AVRPART *p); -int updi_nvm_erase_user_row_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, uint16_t size); -int updi_nvm_write_flash_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, unsigned char *buffer, uint16_t size); -int updi_nvm_write_user_row_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, unsigned char *buffer, uint16_t size); -int updi_nvm_write_boot_row_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, unsigned char *buffer, uint16_t size); -int updi_nvm_write_eeprom_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, unsigned char *buffer, uint16_t size); -int updi_nvm_write_fuse_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, uint8_t value); -int updi_nvm_wait_ready_V0(const PROGRAMMER *pgm, const AVRPART *p); -int updi_nvm_command_V0(const PROGRAMMER *pgm, const AVRPART *p, uint8_t command); + int updi_nvm_chip_erase_V0(const PROGRAMMER *pgm, const AVRPART *p); + int updi_nvm_erase_flash_page_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address); + int updi_nvm_erase_eeprom_V0(const PROGRAMMER *pgm, const AVRPART *p); + int updi_nvm_erase_user_row_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, + uint16_t size); + int updi_nvm_write_flash_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, + unsigned char *buffer, uint16_t size); + int updi_nvm_write_user_row_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, + unsigned char *buffer, uint16_t size); + int updi_nvm_write_boot_row_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, + unsigned char *buffer, uint16_t size); + int updi_nvm_write_eeprom_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, + unsigned char *buffer, uint16_t size); + int updi_nvm_write_fuse_V0(const PROGRAMMER *pgm, const AVRPART *p, uint32_t address, + uint8_t value); + int updi_nvm_wait_ready_V0(const PROGRAMMER *pgm, const AVRPART *p); + int updi_nvm_command_V0(const PROGRAMMER *pgm, const AVRPART *p, uint8_t command); #ifdef __cplusplus } #endif -#endif /* updi_nvm_v0_h */ +#endif