English
Language : 

MDT10P223 Datasheet, PDF (8/21 Pages) Micon Design Technology Corporation – 8-bit micro-controller
(9) TMR (Time Mode Register)
MDT10P223
Bit
2—0
3
4
5
6
7
Symbol
PS2—0
PSC
TCE
TCS
PHEN
WDTEN
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
100
1 : 32
1 : 16
101
1 : 64
1 : 32
110
1 : 128
1 : 64
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 (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, the
second CPIO instruction will enable the corresponding I/O pins pull-hi when global
pull high Enable.
Correct instruction sequence to enable pull-high
Ex1:
LDWI 0FFH
CPIO 06H ←First:set PortB I/O
LDWI 0FFH ←Second
CPIO 06H ←Third:set PortB Pull hi
This specification are subject to be changed without notice. Any latest information
Please visit http;//www.mdtic.com.tw
P.8
2010/06 Ver. 1.0