271
Chapter 9
Timer / Counter (Real Time Pulse Unit)
Preliminary User’s Manual U14913EE1V0UM00
(5)
Timer E output control registers 0 to 2 (OCTLE0 to OCTLE2)
The OCTLEn register controls timer output from the TOExn pin (x = 1 to 4, n = 0 to 2).
This register can be read/written in 16-, 8-, or 1-bit units.
Figure 9-18: Timer E Output Control Registers 0 to 2 (OCTLE0 to OCTLE2)
Remark:
x = 1 to 4
n = 0 to 2
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Address
Initial
value
OCTLE0 SWFE4 ALVE4 OTME41 OTME40 SWFE3 ALVE3 OTME31 OTME30 SWFE2 ALVE2 OTME21 OTME20 SWFE1 ALVE1 OTME11 OTME10 FFFFF648H 0000H
OCTLE1 SWFE4 ALVE4 OTME41 OTME40 SWFE3 ALVE3 OTME31 OTME30 SWFE2 ALVE2 OTME21 OTME20 SWFE1 ALVE1 OTME11 OTME10 FFFFF688H 0000H
OCTLE2 SWFE4 ALVE4 OTME41 OTME40 SWFE3 ALVE3 OTME31 OTME30 SWFE2 ALVE2 OTME21 OTME20 SWFE1 ALVE1 OTME11 OTME10 FFFFF6C8H 0000H
Bit Position
Bit Name
Function
15, 11, 7, 3
SWFEx
Fixes the TOExn pin output level according to the setting of ALVEx bit.
0: Don’t fix output level.
1: When ALVE x = 0, fix output level to low level.
When ALVEx = 1, fix output level to high level.
14, 10, 6, 2
ALVEx
Specifies the active level of the TOExn pin output.
0: Active level is high level
1: Active level is low level
13, 12, 9, 8,
5, 4, 1, 0
OTMEx1,
OTMEx0
Specifies toggle mode.
OTMEx1
OTMEx0
Toggle Mode
0
0
Toggle mode 0:
Reverse output level of TOExn output every time a sub-
channel x compare match occurs.
0
1
Toggle mode 1:
Upon sub-channel x compare match, set TOExn output to
active level, and when TBASE0n is cleared (0), set TOExn
output to inactive level.
1
0
Toggle mode 2:
Upon sub-channel x compare match, set TOExn output to
active level, and when TBASE1n is cleared (0), set TOExn
output to inactive level.
1
1
Toggle mode 3:
Upon sub-channel x compare match, set TOExn output to
active level, and upon sub-channel [x + 1] compare match,
set TOxn output to inactive level (when x = 4, [x + 1]
becomes 1).
Cautions: 1. When the OTMEx1, OTMEx0 bits = 11B (toggle mode 3), and if the
same output delay operation settings are made by setting bits
ODLEx2 to ODLEx0 of the ODELEn register, two outputs change
simultaneously upon 1 sub-channel x compare match.
2. If two or more signals are input simultaneously to the same out-
put circuit, S/T signal input has a higher priority than RA, RB, and
RN signal inputs.
Summary of Contents for V850E/CA1 ATOMIC
Page 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...