2.1.18 boot_lock_bits_set
boot_lock_bits_set(lock_bits)
Set the bootloader lock bits.
Note:
For example, to disallow the SPM instruction from writing to the Boot Loader memory section of flash, you would use this macro as such:In this context, a 'set bit' will be written to a zero value. Note also that only BLBxx bits can be programmed by this command.
Note:
Like any lock bits, the Boot Loader Lock Bits, once set, cannot be cleared again except by a chip erase which will in turn also erase the boot loader itself.