NEC V850E/RS1 User Manual page 264

32-/16-bit single-chip microcontroller with can interface
Table of Contents

Advertisement

(3)
TMPn dedicated I/O control register 0 (TPnIOC0)
The TPnIOC0 register is an 8-bit register that controls the timer output.
This register can be read and written in 8-bit or 1-bit units.
RESET input clears this register to 00H.
Symbol
TPnIOC0
TPnOLm
This bit can be used to invert the timer output
TPnOEm
Cautions: 1. Rewrite bits TPnOLm and TPnOEm when TPnCE = 0 (the same value can be
Remark:
264
Downloaded from
Elcodis.com
electronic components distributor
Chapter 7 16-Bit Timer/Event Counter P
Figure 7-7: TMPn Dedicated I/O Control Register 0 (TPnIOC0) Format
Address: TP0IOC0: FFFFF592H, TP1IOC0: FFFFF5A2H
TP2IOC0: FFFFF5B2H, TP3IOC0: FFFFF5C2H
7
6
5
0
0
0
0
Normal output
1
Inverted output
Timer output is disabled (Low level and high level are output from TOPn1
0
pin when TPnOL = 0 and TPnOL = 1, respectively.)
1
Timer output is enabled (TOPnm pin outputs pulses.)
written when TPnCE = 1.). If rewriting was mistakenly performed, clear TPnCE to 0
and then set the bits again.
2. To enable the timer output, be sure to set the corresponding alternate-function
pins TPnIS3 to TPnIS0 of the TPnIOC1 register to "No edge detection" and
invalidate the capture operation. Then set the corresponding alternate-function
port to output mode.
n = 0 to 3
m = 0, 1
User's Manual U16702EE3V2UD00
4
3
2
1
0
TPnOL1 TPnOE1 TPnOL0 TPnOE0
Timer output level setting
Timer output setting
After
0
Address
R/W
reset
FFFFF592H
to
R/W 00H
FFFFF5C2H

Advertisement

Table of Contents
loading

Table of Contents