Specifications

mikroElektronika | Free Online Book | PIC Microcontrollers | Chapter 8: Other MCU's Circuits
HTS - HFINTOSC Status bit (8 MHz - 125 kHz) indicates whether high-frequency internal oscillator operates in a stable way.
1 - HFINTOSC is stable; and
0 - HFINTOSC is not stable.
LTS - LFINTOSC Stable bit (31 kHz) indicates whether low-frequency internal oscillator operates in a stable way.
1 - LFINTOSC is stable; and
0 - LFINTOSC is not stable.
SCS - System Clock Select bit determines which oscillator is to be used as a clock source.
1 - Internal oscillator is used for system clock;
0 - External oscillator is used for system clock; and
The oscillator mode is set by bits in Config Word which are written to the microcontroller memory during
programming.
External Clock Modes
In order to enable the external oscillator to operate at different speeds and use different components for frequency
stabilization, it can be configured to operate in one of several modes. Mode selection is performed after the program
writing and compiling. First of all, it is necessary to activate the program on PC used for programming. In this case,
PICflash. Click on the oscillator combox and select one option from the drop-down list. After that, the appropriate bits
will be set becoming in that way a part of several bytes which together form Config Word.
During programming, the bytes of Config Word are written to the microcontroller’s ROM memory and stored in special
registers which are not available to the user. On the basis of these bits, the microcontroller “knows” what to do, although
it is not explicitly specified in the (written) program.
http://www.mikroe.com/en/books/picmcubook/ch8/ (3 of 15)5/3/2009 11:34:45 AM