avr-libc  2.0.0
Standard C library for AVR-GCC

AVR Libc Home Page

AVRs

AVR Libc Development Pages

Main Page

User Manual

Library Reference

FAQ

Example Projects

Macros
boot.h File Reference

Go to the source code of this file.

Macros

#define BOOTLOADER_SECTION   __attribute__ ((section (".bootloader")))
 
#define boot_spm_interrupt_enable()    (__SPM_REG |= (uint8_t)_BV(SPMIE))
 
#define boot_spm_interrupt_disable()   (__SPM_REG &= (uint8_t)~_BV(SPMIE))
 
#define boot_is_spm_interrupt()    (__SPM_REG & (uint8_t)_BV(SPMIE))
 
#define boot_rww_busy()    (__SPM_REG & (uint8_t)_BV(__COMMON_ASB))
 
#define boot_spm_busy()    (__SPM_REG & (uint8_t)_BV(__SPM_ENABLE))
 
#define boot_spm_busy_wait()    do{}while(boot_spm_busy())
 
#define GET_LOW_FUSE_BITS   (0x0000)
 
#define GET_LOCK_BITS   (0x0001)
 
#define GET_EXTENDED_FUSE_BITS   (0x0002)
 
#define GET_HIGH_FUSE_BITS   (0x0003)
 
#define boot_lock_fuse_bits_get(address)
 
#define boot_signature_byte_get(addr)
 
#define boot_page_fill(address, data)   __boot_page_fill_normal(address, data)
 
#define boot_page_erase(address)    __boot_page_erase_normal(address)
 
#define boot_page_write(address)    __boot_page_write_normal(address)
 
#define boot_rww_enable()    __boot_rww_enable()
 
#define boot_lock_bits_set(lock_bits)   __boot_lock_bits_set(lock_bits)
 
#define boot_page_fill_safe(address, data)
 
#define boot_page_erase_safe(address)
 
#define boot_page_write_safe(address)
 
#define boot_rww_enable_safe()
 
#define boot_lock_bits_set_safe(lock_bits)