NEC V850ES/KE1+ User Manual page 141

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(3) TMP0 I/O control register 0 (TP0IOC0)
The TP0IOC0 register is an 8-bit register that controls the timer output (TOP00, TOP01 pins).
This register can be read or written in 8-bit or 1-bit units.
Reset sets this register to 00H.
After reset: 00H
TP0IOC0
TP0OL1
TP0OE1
TP0OL0
TP0OE0
Note The output level of the timer output pin (TOP0n) specified by the
• When TP0OLn bit = 0
TOP0n output pin
Cautions 1. Rewrite the TP0OL1, TP0OE1, TP0OL0, and TP0OE0 bits
CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP)
R/W
Address: FFFFF5A2H
6
5
7
0
0
0
TOP01 pin output level setting
0
TOP01 pin starts output at high level.
1
TOP01 pin starts output at low level.
0
Timer output disabled
• When TP0OL1 bit = 0: Low level is output from the TOP01 pin
• When TP0OL1 bit = 1: High level is output from the TOP01 pin
1
Timer output enabled (a square wave is output from the TOP01 pin).
TOP00 pin output level setting
0
TOP00 pin starts output at high level.
1
TOP00 pin starts output at low level.
0
Timer output disabled
• When TP0OL0 bit = 0: Low level is output from the TOP00 pin
• When TP0OL0 bit = 1: High level is output from the TOP00 pin
1
Timer output enabled (a square wave is output from the TOP00 pin).
TP0OLn bit is shown below (n = 0, 1).
16-bit counter
TP0CE bit
when the TP0CTL0.TP0CE bit = 0. (The same value can be
written when the TP0CE bit = 1.)
mistakenly performed, clear the TP0CE bit to 0 and then
set the bits again.
2. Even if the TP0OLa bit is manipulated when the TP0CE
and TP0OEa bits are 0, the TOP0a pin output level varies (a
= 0, 1).
User's Manual U16896EJ2V0UD
4
3
<2>
0
TP0OL1 TP0OE1 TP0OL0
Note
TOP01 pin output setting
Note
TOP00 pin output setting
• When TP0OLn bit = 1
16-bit counter
TP0CE bit
TOP0n output pin
If rewriting was
1
<0>
TP0OE0
141

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents