8XC196MC, MD, MH USER’S MANUAL

EPAx_CON

EPAx_CON (Continued)

Address:

Table C-4

x = 0–1 (8XC196MH)

Reset State:

 

x = 0–3 (8XC196MC)

 

 

x = 0–5 (8XC196MD)

 

 

The EPA control (EPAx_CON) registers control the functions of their assigned capture/compare channels.

x = 0, 2, 4

x = 1, 3, 5

7

 

 

 

 

 

 

 

0

TB

CE

M1

M0

 

RE

WGR

ROT

ON/RT

7

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

TB

CE

M1

M0

 

RE

AD

ROT

ON/RT

 

 

 

 

 

 

 

 

 

Bit

Bit

 

Function

Number

Mnemonic

 

 

 

 

 

 

0

ON/RT

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 (EPAx_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

 

 

 

 

Table C-4. EPAx_CON Addresses and Reset Values

Register

Address

Reset Value

 

 

 

EPA0_CON (8XC196Mx)

1F40H

00H

 

 

 

EPA1_CON (8XC196Mx)

1F44H

00H

 

 

 

EPA2_CON (8XC196MC, MD)

1F48H

00H

 

 

 

EPA3_CON (8XC196MC, MD)

1F4CH

00H

 

 

 

EPA4_CON (8XC196MD)

1F50H

00H

 

 

 

EPA5_CON (8XC196MD)

1F54H

00H

 

 

 

C-20

Page 497
Image 497
Intel 8XC196MH manual Table C-4. EPAxCON Addresses and Reset Values, = 0-3 8XC196MC = 0-5 8XC196MD