English
Language : 

MDT10P257 Datasheet, PDF (5/18 Pages) Micon Design Technology Corporation – 8-bit micro-controlle
(9) TMR (Time Mode Register)
MDT10P257
Bit
2—0
3
4
5
6
7
Symbol
Function
Prescaler Value
RTCC rate
WDT rate
000
1:2
1:1
001
1:4
1:2
010
1:8
1:4
011
1 : 16
1:8
PS2—0
100
1 : 32
1 : 16
101
1 : 64
1 : 32
110
1 : 128
1 : 64
PSC
TCE
TCS
PHEN
WDTEN
111
1 : 256
1 : 128
Prescaler assignment bit :
0 — RTCC
1 — Watchdog Timer
RTCC signal Edge :
0 — Increment on low-to-high transition on RTCC pin
1 — Increment on high-to-low transition on RTCC pin
RTCC signal set :
0 — Internal instruction cycle clock
1 — Transition on RTCC pin
Global Pull High Enable set :
0 — Enable weak internal Pull High
1 — Disable weak internal Pull High
This bit will be ignored if the “I/O pull-hi” is disable in user
option.
Watchdog timer Enable set :
0 — Enable WDT 1 — Disable WDT
(10) CPIO A, CPIO B, CPIO C (Control Port I/O Mode Register)
The CPIO register is “write-only”
=“0”, I/O pin in output mode;
=“1”, I/O pin in input mode.
(11) Set Pull hi mode
The Pull hi register is “write-only”
=“0”, Disable I/O pin Pull hi
=“1”, Enable I/O pin Pull hi
Do the CPIO instructions twice within three instructions on the same I/O port, then
the second CPIO instruction will set the corresponding pull-hi of I/O pins to enable
when global pull high Enable.
Correct instruction sequence to enable pull-high
Ex1:
LDWI 0FFH
CPIO 06H ←First:set PortB I/O
LDWI 0FH ←Second
This specification are subject to be changed without notice. Any latest information please visit our web site
(http;//www.mdtic.com.tw) for detail
P. 5
2011/02 VER 1.1