
Rev. 2.0, 11/00, page 324 of 1037
15.2
Descriptions of Respective Registers
15.2.1
Timer L Mode Register (LMR)
0
0
1
0
R/W
2
0
R/W
3
0
4
1
5
—
—
—
—
1
6
0
7
R/W
R/W
R/W
LMIE
0
R /(W)
*
LMIF
IMR3
IMR2
IMR1
IMR0
Note:
*
Only 0 can be written to clear the flag.
Bit :
Initial value :
R/W :
The timer L mode register (LMR) is an 8-bit read/write register which works to control the
interrupts, to select between up-counting and down-counting and to select the clock source.
When reset, the LMR is initialized to H'30.
Bit 7: Timer L Interrupt Requesting Flag (LMIF)
This is the Timer L interrupt requesting flag. It indicates occurrence of overflow or underflow
of the LTC or occurrence of compare match clear.
Bit 7
LMIF
Description
0
[Clearing conditions]
(Initial value)
When 0 is written after reading 1
1
[Setting conditions]
When the LTC overflows, underflows or when compare match clear has occurred
Bit 6: Enabling Interrupt of the Timer L (LMIE)
This bit works to permit/prohibit occurrence of interrupt of the Timer L when the LTC
overflows, underflows or when compare match clear has occurred.
Bit 6
LMIE
Description
0
Prohibits occurrence of interrupt of the Timer L
(Initial value)
1
Permits occurrence of interrupt of the Timer L
Bits 5 and 4: Reserved
When they are read, 1 will always be readout. Writes are disabled.
Bit 3: Up-count/Down-count Control (LMR3)
This bit is for selection if the Timer L is to be controlled to the up-counting function or down-
counting function.
Summary of Contents for Hitachi H8S/2191
Page 123: ...Rev 2 0 11 00 page 96 of 1037...
Page 149: ...Rev 2 0 11 00 page 122 of 1037...
Page 197: ...Rev 2 0 11 00 page 170 of 1037...
Page 247: ...Rev 2 0 11 00 page 220 of 1037...
Page 249: ...Rev 2 0 11 00 page 222 of 1037...
Page 347: ...Rev 2 0 11 00 page 320 of 1037...
Page 357: ...Rev 2 0 11 00 page 330 of 1037...
Page 417: ...Rev 2 0 11 00 page 390 of 1037...
Page 431: ...Rev 2 0 11 00 page 404 of 1037...
Page 439: ...Rev 2 0 11 00 page 412 of 1037...
Page 457: ...Rev 2 0 11 00 page 430 of 1037...
Page 525: ...Rev 2 0 11 00 page 498 of 1037...
Page 543: ...Rev 2 0 11 00 page 516 of 1037...
Page 845: ...Rev 2 0 11 00 page 818 of 1037...