NEC V854 UPD703006 User Manual page 172

32/16-bit single-chip microcontroller hardware
Table of Contents

Advertisement

CHAPTER 7 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
(7) Timer output control registers 0 and 1 (TOC0, TOC1)
TOC0, TOC1 control the timer outputs from the TO00, TO01, and TO20 to TO24 pins.
These registers can be read/written in 8- or 1-bit units.
7
6
TOC0
0
0
TOC1
ENTO24
ALV24
Bit Position
Bit Name
7, 5, 3, 1
ENTOn
6, 4, 2, 0
ALVn
Remarks 1. The flip-flops of the TO00 and TO01 outputs is a reset priority.
2. n = 00, 01, 20 to 24
Caution
The TO00, TO01 outputs are not changed by the external interrupt signals (INTP00 to
INTP03). When using the TO00 and TO01 signals, specify the capture/compare registers as
compare registers CMS00 to CMS03 (set CMS00 to CMS03 to "1").
172
5
4
3
ENTO20
ALV20
ENTO01
ENTO23
ALV23
ENTO22
Enable TO pin
Enables corresponding timer output (TOn).
0: Timer output is disabled. The anti-phase levels of ALVn bit (inactive levels) are output
from TOn pins. Even if coincidence signal is generated from corresponding compare
register, levels of TOn pins do not change.
1: Timer output function is enabled. Timer output changes when coincidence signal
is generated from corresponding compare register. After the timer output has been
enabled before the first coincidence signal is generated, the anti-phase levels of
ALVn bit (inactive levels) are output.
Active Level TO pin
Specifies the active level of timer output.
0: Active-low
1: Active-high
User's Manual U11969EJ3V0UM00
2
1
0
ALV01
ENTO00
ALV00
ALV22
ENTO21
ALV21
Function
Address
After reset
FFFFF232H
00H
Address
After reset
FFFFF234H
00H

Advertisement

Table of Contents
loading

Table of Contents