![CMOSTEK CMT2189C Скачать руководство пользователя страница 36](http://html1.mh-extra.com/html/cmostek/cmt2189c/cmt2189c_user-manualline_2627489036.webp)
AN202
V1.0 | Page 36/73
www.cmostek.com
UCFG1 address is 0x2001in PROM
Table 4-57. UCFG1 Configuration Register
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
UCFG1
-
-
TSEL
FCMEN
IESO
RD_CTRL
LVREN<1:0>
Table 4-58. UCFG1Bit Function Description
UCFG2 address is 0x2002in PROM
Table 4-59. UCFG2 Configuration Register
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
UCFG2
-
-
-
-
LVDS<3:0>
3
WDTE
1 = Enable WDT, the program cannot disable it.
0 = Disable WDT, but the program can enable WDT by setting the SWDTEN bit of the
WDTCON
2:0
FOSC<2:0>
000 = 32K crystal oscillator mode, PA6/PA7 connects the low frequency crystal
oscillator.
001 = 20MHz crystal oscillator mode, PA6/PA7 connects the high speed crystal
oscillator.
010 = External clock mode, PA6 is the IO pin, PA7 is connected to the clock input.
011 = INTOSC mode, PA6 output the 2 frequency division of the system clock, PA7 is
the IO pin;
1xx = INTOSCIO mode, both PA6 and PA7 are the IO pins
Bit
Name
Function
5
TSEL
Instruction PeriodSelect bit
1 = The instruction period is 2T.
0 = The instruction period is 4T.
4
FCMEN
Clock Fault Monitoring Enable bit
1 = Enable the clock fault monitoring
0 = Disable the clock fault monitoring
3
IESO
Two Speed Clock Enable bit
1 = Enable
0 = Disable
2
RD_CTRL
Read Port Control bit in output mode
1 = Read the value of the PAD returned from the data port.
0 = Read the value of the Latch returned from the data port.
1:0
LVREN[1:0]
Low Voltage Reset Select bit
00 = Enable the low voltage reset.
Others= Disable the low voltage reset.
Содержание CMT2189C
Страница 32: ...AN202 V1 0 Page 32 73 www cmostek com...