Technical information
APPLICATION
2.2 Timer
2-13
3800 GROUP USER’S MANUAL
Fig. 2.2.11 Setting of related registers [Clock function]
255
PREX
Prescaler X (Address : 24
16)
255
TX
Timer X (Address:25
16)
Set “division ratio – 1”
Timer X interrupt enable bit : Interrupt enabled
ICON1
Interrupt control register 1 (Address : 3E
16)
Timer X interrupt request bit
(becomes “1” every 250 ms)
IREQ1
Interrupt request register 1 (Address : 3C
16)
0
Timer X operating mode bits : Timer mode
TM
Timer XY mode register (Address : 23
16)
00
1
Timer X count stop bit : Count stop
Set to “0” at starting to count.
1
b7 b0
b7 b0
b7 b0
b7 b0
b7 b0