NEC V850ES/KE1+ User Manual page 164

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(1) External event count mode operation flow
Figure 6-12. Flow of Software Processing in External Event Count Mode
16-bit counter
TP0CE bit
TP0CCR0 register
INTTP0CC0 signal
<1> Count operation start flow
Register initial setting
TP0CTL0 register
(TP0CKS0 to TP0CKS2 bits)
TP0CTL1 register,
TP0IOC0 register,
TP0IOC2 register,
TP0CCR0 register
TP0CE bit = 1
<2> Count operation stop flow
TP0CE bit = 0
164
CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP)
FFFFH
D
0
0000H
<1>
START
Initial setting of these registers
is performed before setting the
TP0CE bit to 1.
The TP0CKS0 to TP0CKS2 bits can
be set at the same time when counting
has been started (TP0CE bit = 1).
The counter is initialized and counting
is stopped by clearing the TP0CE bit to 0.
STOP
User's Manual U16896EJ2V0UD
D
D
0
0
D
0
<2>

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents