Intel 8XC196MC User Manual page 260

Table of Contents

Advertisement

EPA x _CON (Continued)
x = 0–1 (8XC196MH)
x = 0–3 (8XC196MC)
x = 0–5 (8XC196MD)
The EPA control (EPA x _CON) registers control the functions of their assigned capture/compare
channels.
7
x = 0, 2, 4
TB
7
x = 1, 3, 5
TB
Bit
Bit
Number
Mnemonic
1
ROT
0
ON/RT
Figure 11-10. EPA Control (EPA x _CON) Registers (Continued)
CE
M1
M0
CE
M1
M0
Reset Opposite Timer
Controls different functions for capture and compare modes.
In Capture Mode:
0 = causes no action
1 = resets the opposite timer
In Compare Mode:
Selects the timer that is to be reset if the RT bit is set.
0 = selects the reference timer for possible reset
1 = selects the opposite timer for possible reset
The TB bit (bit 7) selects which is the reference timer and which is the
opposite timer.
Overwrite New/Reset Timer
The ON/RT bit functions as overwrite new in capture mode and reset
timer in compare mode.
In Capture Mode (ON):
An overrun error is generated when an input capture occurs while the
event-time register (EPA x _TIME) and its buffer are both full. When an
overrun occurs, the ON bit determines whether old data is overwritten or
new data is ignored:
0 = ignores new data
1 = overwrites old data in the buffer
In Compare Mode (RT):
0 = disables the reset function
1 = resets the ROT-selected timer
Get other manuals https://www.bkmanuals.com
EVENT PROCESSOR ARRAY (EPA)
Address:
See Table 11-3 on page 11-3
Reset State:
RE
WGR
RE
AD
Function
00H
0
ROT
ON/RT
0
ROT
ON/RT
11-21

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents