C-21
REGISTERS
EPAx_CON
5:4
M1:0
EPA Mode Select
In capture mode, specifies the type of event that triggers an input capture.
In compare mode, specifies the action that the EPA executes when the
reference timer matches the event time.
M1
M0
Capture Mode Event
0
0
no capture
0
1
capture on falling edge
1
0
capture on rising edge
1
1
capture on either edge
M1
M0
Compare Mode Action
0
0
no output
0
1
clear output pin
1
0
set output pin
1
1
toggle output pin
3
RE
Re-enable
Re-enable applies to the compare mode only. It allows a compare event
to continue to execute each time the event-time register (EPA
x
_TIME)
matches the reference timer rather than only upon the first time match.
0 = compare function is disabled after a single event
1 = compare function always enabled
2
—
Reserved; always write as zero.
EPA
x
_CON (Continued)
x
= 0–3
Address:
Reset State:
Table C-8
The EPA control (EPA
x
_CON) registers control the functions of their assigned capture/compare
channels. The registers for EPA0 andEPA2 are identical. The registers for EPA1 and EPA3 have an
additional bit, the remap bit. This added bit (bit 8) requires an additional byte, so EPA1_CON and
EPA3_CON must be addressed as words, while the others can be addressed as bytes.
15
8
x
= 1, 3
—
—
—
—
—
—
—
RM
7
0
TB
CE
M1
M0
RE
—
ROT
ON/RT
7
0
x
= 0, 2
TB
CE
M1
M0
RE
—
ROT
ON/RT
Bit
Number
Bit
Mnemonic
Function
†
These bits apply to the EPA1_CON and EPA3_CON registers only.
Содержание 80C196NU
Страница 1: ...8XC196NP 80C196NU Microcontroller User s Manual...
Страница 2: ...8XC196NP 80C196NU Microcontroller User s Manual August 1995 Order Number 272479 002...
Страница 18: ...1 Guide to This Manual...
Страница 19: ......
Страница 31: ......
Страница 32: ...2 Architectural Overview...
Страница 33: ......
Страница 48: ...3 Advanced Math Features...
Страница 49: ......
Страница 56: ...4 Programming Considerations...
Страница 57: ......
Страница 72: ...5 Memory Partitions...
Страница 73: ......
Страница 106: ...6 Standard and PTS Interrupts...
Страница 107: ......
Страница 144: ...7 I O Ports...
Страница 145: ......
Страница 165: ......
Страница 166: ...8 Serial I O SIO Port...
Страница 167: ......
Страница 183: ......
Страница 184: ...9 Pulse width Modulator...
Страница 185: ......
Страница 196: ...10 Event Processor Array EPA...
Страница 197: ......
Страница 225: ......
Страница 226: ...11 Minimum Hardware Considerations...
Страница 227: ......
Страница 239: ......
Страница 240: ...12 Special Operating Modes...
Страница 241: ......
Страница 255: ......
Страница 256: ...13 Interfacing with External Memory...
Страница 257: ......
Страница 303: ......
Страница 304: ...A Instruction Set Reference...
Страница 305: ......
Страница 373: ......
Страница 374: ...B Signal Descriptions...
Страница 375: ......
Страница 390: ...C Registers...
Страница 391: ......
Страница 447: ......
Страница 448: ...Glossary...
Страница 449: ......
Страница 458: ...Index...
Страница 459: ......