NEC V850ES/KE1+ User Manual page 236

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(4) Prescaler mode register 01 (PRM01)
The PRM01 register is the register that sets the TM01 register count clock and TI010 and TI011 pin input valid
edges. The PRM011 and PRM010 bits are set in combination with the SELCNT1.ISEL11 bit. Refer to 7.3 (6)
Count clock setting for 16-bit timer/event counter 01 for details.
Rewriting the PRM01 register is prohibited during operation (when the TMC01.TMC013 and TMC01.TMC012 bits
= other than 00).
This register can be read or written in 8-bit or 1-bit units.
Reset sets this register to 00H.
Cautions 1. Do not apply the following setting when setting the PRM011 and PRM010 bits to 11 (to
specify the valid edge of the TI010 pin as a count clock).
• Clear & start mode entered by the TI010 pin valid edge
• Setting the TI010 pin as a capture trigger
2. If the operation of the 16-bit timer/event counter 01 is enabled when the TI010 or TI011 pin is
at high level and when the valid edge of the TI010 or TI011 pin is specified to be the rising
edge or both edges, the high level of the TI010 or TI011 pin is detected as a rising edge.
Note this when the TI010 or TI011 pin is pulled up. However, the rising edge is not detected
when the timer operation has been once stopped and is then enabled again.
3. When the P35 pin is used as the valid edge of TI010 and the timer output function is used,
set the P32 pin as the timer output pin (TO01).
After reset: 00H
R/W
7
PRM01
ES111
ES111
0
0
1
1
ES101
0
0
1
1
Remark For setting of the PRM011 and PRM010 bits, refer to 7.3 (6)
timer/event counter 01.
236
CHAPTER 7 16-BIT TIMER/EVENT COUNTER 0
Address:
FFFFF617H
6
5
4
ES110
ES101
ES100
ES110
0
Falling edge
1
Rising edge
0
Setting prohibited
1
Both falling and rising edges
ES100
0
Falling edge
1
Rising edge
0
Setting prohibited
1
Both falling and rising edges
User's Manual U16896EJ2V0UD
3
2
0
0
TI011 pin valid edge selection
TI010 pin valid edge selection
Count clock setting for 16-bit
1
0
PRM011
PRM010

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents