upd70f3422gj-gae-qs-ax Renesas Electronics Corporation., upd70f3422gj-gae-qs-ax Datasheet - Page 409

no-image

upd70f3422gj-gae-qs-ax

Manufacturer Part Number
upd70f3422gj-gae-qs-ax
Description
32-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet
16-bit Timer/Event Counter P (TMP)
Figure 11-29
Software processing flow in free-running timer mode (compare function)
(2/2)
Preliminary User’s Manual U17566EE1V2UM00
<3> Count operation stop flow
<1> Count operation start flow
<2> Overflow flag clear flow
(TPnCKS0 to TPnCKS2 bits)
TPnOVF bit (CLR TPnOVF).
Execute instruction to clear
Read TPnOPT0 register
Register initial setting
(check overflow flag).
TPnOVF bit = 1
TPnCE bit = 1
TPnCE bit = 0
TPnCCR0,
TPnOPT0,
TPnCTL1,
TPnIOC0,
TPnIOC2,
TPnCCR1
TPnCTL0
START
STOP
YES
NO
Counter is initialized and
counting is stopped by
clearing TPnCE bit to 0.
Initial setting of these registers
is performed before setting the
TPnCE bit to 1.
The TPnCKS0 to TPnCKS2 bits
can be set at the same time
when counting has been started
(TPnCE bit = 1).
Chapter 11
409

Related parts for upd70f3422gj-gae-qs-ax