NEC V850ES/KE1+ User Manual page 254

32-bit single-chip microcontrollers
Table of Contents

Advertisement

Figure 7-18. Timing Example of Clear & Start Mode Entered by TI010 Pin Valid Edge Input
(CR010 Register: Capture Register, CR011 Register: Compare Register) (1/2)
(a) TOC01 = 13H, PRM01 = 10H, CRC01 = 03H, TMC01 = 08H, CR011 = 0000H
TM01 register
0000H
Operable bits
(TMC013, TMC012)
Capture & count clear input
(TI010 pin input)
Capture register
(CR010)
Capture interrupt
(INTTM010)
Compare register
(CR011)
Compare match interrupt
(INTTM011)
TO01 pin output
This is an application example where the output level of the TO01 pin is to be inverted when the count value
has been captured & cleared.
The TM01 register is cleared at the rising edge detection of the TI010 pin and it is captured to the CR010
register at the falling edge detection of the TI010 pin.
When the CRC01.CRC011 bit is set to 1, the count value of the TM01 register is captured to CR010 in the
phase reverse to that of the signal input to the TI010 pin, but the capture interrupt signal (INTTM010) is not
generated. However, the INTTM010 signal is generated when the valid edge of the TI011 pin is detected.
Mask the INTTM010 signal when it is not used.
254
CHAPTER 7 16-BIT TIMER/EVENT COUNTER 0
M
00
10
0000H
L
0000H
User's Manual U16896EJ2V0UD
S
N
M
N
S
P
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents