![CMOSTEK NextGenRF CMT2189B Скачать руководство пользователя страница 49](http://html1.mh-extra.com/html/cmostek/nextgenrf-cmt2189b/nextgenrf-cmt2189b_user-manual_2627491049.webp)
AN201
Rev 1.5 | 49/91
www.cmostek.com
Table 66. OSCCON Bit Function Description
4.1.22 PR2 (Addr:0x92)
Table 67
. PR2 Register
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
PR2
PR2<7:0>
Reset
0xFF
Type
RW
Table 68
. PR2 Bit Function Description
Bit
Name
Function
7
LFMOD
Internal low frequency oscillation mode.
1 = 256 k oscillation frequency mode
0 = 32 k oscillation frequency mode
6:4
IRCF<2:0>
Internal oscillator frequency selection bits.
111 = 16 MHz
110 = 8 MHz
101 = 4 MHz( default )
100 = 2 MHz
011 = 1 MHz
010 = 500 kHz
001 = 250 kHz
000 = 32 kHz (LFINTOSC)
3
OSTS
Oscillator start-up timeout status bit.
1 = device is running from the external system clock defined by the FOSC<2:0>.
0 = device is running from the internal system clock
2
HTS
Internal high frequency clock status bit
1 = HFINTOSC is stable
0 = HFINTOSC is not stable yet
1
LTS
Internal low frequency clock status bit.
1 = LFINTOSC is stable
0 = LFINTOSC is not stable yet
0
SCS
System clock selection bit.
1 = select system clock as internal oscillator
0 = clock source is defined by FOSC<2:0>
Bit
Name
Function
7:0
PR2<7:0>
Timer 2 period (compare) register (see Timer 2 specific sections for details).