Go to the documentation of this file.
36 #define _AVR_LOCK_H_ 1
187 #ifndef __ASSEMBLER__
190 #define LOCKMEM __attribute__((section (".lock")))
194 #define LOCKBITS unsigned char __lock LOCKMEM
201 #if defined(__LOCK_BITS_EXIST)
202 #define LB_MODE_1 (0xFF)
203 #define LB_MODE_2 (0xFE)
204 #define LB_MODE_3 (0xFC)
207 #if defined(__BOOT_LOCK_BITS_0_EXIST)
208 #define BLB0_MODE_1 (0xFF)
209 #define BLB0_MODE_2 (0xFB)
210 #define BLB0_MODE_3 (0xF3)
211 #define BLB0_MODE_4 (0xF7)
214 #if defined(__BOOT_LOCK_BITS_1_EXIST)
215 #define BLB1_MODE_1 (0xFF)
216 #define BLB1_MODE_2 (0xEF)
217 #define BLB1_MODE_3 (0xCF)
218 #define BLB1_MODE_4 (0xDF)
221 #if defined(__BOOT_LOCK_APPLICATION_TABLE_BITS_EXIST)
222 #define BLBAT0 ~_BV(2)
223 #define BLBAT1 ~_BV(3)
226 #if defined(__BOOT_LOCK_APPLICATION_BITS_EXIST)
227 #define BLBA0 ~_BV(4)
228 #define BLBA1 ~_BV(5)
231 #if defined(__BOOT_LOCK_BOOT_BITS_EXIST)
232 #define BLBB0 ~_BV(6)
233 #define BLBB1 ~_BV(7)
237 #define LOCKBITS_DEFAULT (0xFF)
Automatically generated by Doxygen 1.8.7 on Tue Jul 8 2014. Dash Docset conversion by Matt Kane