internetuser2k13
Member level 3
what are the role of configuration bits.
i download for pic18f458. it contain the 2 pages for configuration bits.
is it good to write all config bit?
i see on some one blog.
he config bit in such a manners as it given below,
can anyone explain these.??
__CONFIG(NUMBER, --- &----);
IN SIMPLE WORDS.
i download for pic18f458. it contain the 2 pages for configuration bits.
is it good to write all config bit?
i see on some one blog.
he config bit in such a manners as it given below,
Code:
__CONFIG(1, OSCSDIS & XT);
__CONFIG(2, BOREN & BORV42 & PWRTEN & WDTDIS);
__CONFIG(3, CCP2RC1);
__CONFIG(4, DEBUGDIS & LVPDIS & STVRDIS);
__CONFIG(5, UNPROTECT); // Chnage to CPA
__CONFIG(6, WPB);
__CONFIG(7, TRU);
can anyone explain these.??
__CONFIG(NUMBER, --- &----);
IN SIMPLE WORDS.