Renesas Hitachi H8S/2194 Series Hardware Manual page 352

16-bit single-chip microcomputer
Table of Contents

Advertisement

(1) When Controlled to the Up-counting Function
• When any other values than H'00 are input to the RCR, the LTC will be cleared to H'00
before starting counting up. When the LTC value and the RCR value match, the LTC
will be cleared to H'00. Also, interrupt requests will be issued by the match signal.
(Compare patch clear function)
• When H'00 is set to the RCR, the counter makes 8-bit interval timer operation to issue a
interrupt request when overflowing occurs. (Interval timer function)
(2) When Controlled to the Down-counting Function
• When a value is set to the RCR, the set value is reloaded to the LTC and counting down
starts from that value. When the LTC underflows, the value of the RCR will be reloaded
to the LTC. Also, when the LTC underflows, a interrupt request will be issued. (Auto
reload timer function)
Bit 3
LMR3
Description
0
Controlling to the up-counting function
1
Controlling to the up-counting function
Bits 2 to 0: Clock Selection (LMR2 to LMR0)
The bits LMR2 to LMR0 work to select the clock to input to the Timer L. Selection of the
leading edge or the trailing edge is workable for counting by the PB and the REC-CTL.
Bit 2
Bit 1
R2
LMR1
0
0
1
1
0
1
Note:
Don't care.
*
Bit 0
LMR0
Description
0
Counts at the rising edge of the PB and REC-CTL
1
Counts at the falling edge of the PB and REC-CTL
Counts the DVCFG2
*
Counts at φ/128 of the internal clock
*
Counts at φ/64 of the internal clock
*
(Initial value)
(Initial value)
Rev. 2.0, 11/00, page 325 of 1037

Advertisement

Table of Contents
loading

Table of Contents