I'm currently programming a pic16f18323. I'm using MPLAB X. And XC8 as the compiler. I just want to ask if pragma configurations can be shown as ('110' is the binary representation of 3 bit RSTOSC configuration in Oscillator configuration register. Page 50 in 'PIC16(L)F18313/18323' datasheet) :
#pragma config RSTOSC = 0b110
#pragma config RSTOSC = HFINT1
I tried using the first expression instead of the regular(second) one. It didn't give me any compiler error, but it didn't work properly neither. When I program the pic with simple blink code, with 'HFINT1' configuration it works well. But when I use the binary number, the frequency of the blink increases largely.
It makes me think that it is probably about the syntax, but still I'm not perfectly sure. It doesn't affect my work directly, I encountered this problem by coincidence and I just became curious. If someone knows about this I would be glad.