eorex
EU1010
Address
04H
bit7
1/0
R/W
#
bit6
1/0
R/W
#
bit5
1/0
R/W
#
bit4
1/0
R/W
#
bit3
1/0
R/W
#
bit2
1/0
R/W
#
bit1
1/0
R/W
#
bit0
1/0
R/W
#
Name
T0BF
Read or Write
Default Value
Address
Name
05H
T0C
bit7
T0EN
R/W
0
bit6
T0F
R/W
#
bit5
T0CK
R/W
#
bit4
#
bit3
#
bit2
bit1
bit0
Timer0 pre-scaler
Read or Write
Default Value
#
#
R/W
R/W
#
R/W
#
#
#
#
Note:
*T0EN : timer0 enable flag
T0EN = 1, load T0BF content (preload buffer data) into timer0 and enable timer0 start to down
count.
T0EN = 0, stop timer0 counting. User can get timer0 data by reading T0BF register. (LDA
T0BF)
* when T0EN=0, write data to T0BF(04H), data will be directly passed to timer0 counter.
T0F : timer0 underflow flag
T0F = 1, timer0 underflow;
T0F = 0, timer0 not underflow.
*T0CK : timer0 clock source option bit, need set to 0 in EU1010.
T0CK = 0, clock source from Fosc.
*There is no default data with T0CK bit, user should preset this bit after power on reset.
bit2
0
bit1
0
bit0
0
Timer0 pre-scaler(FCLK0= )
FSYS/1
FSYS/2
FSYS/4
FSYS/8
FSYS/16
0
0
1
0
1
0
0
1
1
1
#
#
Note:
*Bit2~0 are timer0 clock source selection bits. They must follow the setting listed below. If the
bit2=1, it would be divided by 16 while bit1 and bit0 could be any data. When T0CK=1, don’t care
bit2~0 data.
Feb.2009
www.eorex.com
10/21