// **** Brown-out Reset configurations **** // BOREN_1 & BORSEN_1 = BOR enabled and always on // BOREN_1 & BORSEN_0 = BOR enabled during operation and disabled during sleep by hardware // BOREN_0 & BORSEN_1 = BOR controlled by software bit SBOREN (PCON,2) // BOREN_0 & BORSEN_0 = BOR disabled to configure "Brown-out Reset" correctly use // BOR enabled and always on pragma cpu_config CFG_BOREN_1 pragma cpu_config CFG_BORSEN_1 // BOR enabled during operation and disabled during sleep by hardware pragma cpu_config CFG_BOREN_1 pragma cpu_config CFG_BORSEN_0 // BOR controlled by software bit SBOREN (PCON,2) pragma cpu_config CFG_BOREN_0 pragma cpu_config CFG_BORSEN_1 // BOR disabled pragma cpu_config CFG_BOREN_0 pragma cpu_config CFG_BORSEN_0