beautypg.com

4 external event clock/one-shot mode, 5 operation during reset, 6 operation during sleep mode – FUJITSU MB91460 SERIES FR60 User Manual

Page 801: 7 operation during stop mode

background image

785

Chapter 38 Reload Timer

5.Operation

5.4 External Event Clock/One-shot Mode

In external event one-shot mode, external events are counted and a one-shot pulse is output.

(1)

Set reload value to reload register

(2)

Enable reload timer count operation

(3)

TOT pin output

(4)

Generate reload trigger (activation): soft trigger only

(5)

Load reload value

(6)

TOT pin output (during count, output “H”/OUTL=“0”)

(7)

Counter count down (via external events)

(8)

Generate counter underflow

(9)

TOT pin output reversal

(10)

Stop counter, wait for next activation trigger

Note: The first reload will be delayed by a maximum of 1 T (T: count clock).

5.5 Operation during Reset

A reset (reset on INITX signal, watchdog reset, software reset) will cause the registers in the reload timer to be
initialized. The initial value of reload registers is indeterminate.

For detailed information on initial values, see the explanation of registers.

5.6 Operation during Sleep Mode

Even after making the transition to sleep mode, the operation of the reload timer will continue.

5.7 Operation during Stop Mode

When the transition is made to stop mode, the operation of the reload timer stops.

Afterwards, when returning from stop mode, it will return to the state it was in before the transition to stop
mode.

FFFF

-1

0000

FFFF

-1

T = CLKP

When RELD=0

OUTL=0

OUTL=1

TMRLR

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

(5)

(10)

Output only once

External event clock

Reload

data

Reload

data

[Reload register setting value + 1]

Counter

CNTE bit

Count start

Reload data

Count

Activation trigger
(Soft only)

Underflow

Data load

TOT output waveform