C-21
REGISTERS
EPAx_TIME
EPA
x
_TIME
x
= 0–1 (8XC196MH)
x
= 0–3 (8XC196MC)
x
= 0–5 (8XC196MD)
Address:
Reset State:
Table C-5
The EPA time (EPA
x
_TIME) registers are the event-time registers for the EPA channels. In capture
mode, the value of the reference timer is captured in EPA
x
_TIME when an input transition occurs.
Each event-time register is buffered, allowing the storage of two capture events at once. In compare
mode, the EPA triggers a compare event when the reference timer matches the value in EPA
x
_TIME.
EPA
x
_TIME is not buffered for compare mode.
15 0
EPA Timer Value
Bit
Number
Function
15:0 EPA Timer Value
When an EPA channel is configured for capture mode, this register contains the value of
the reference timer when the specified event occurred.
When an EPA channel is configured for compare mode, write the compare event time to
this register.
Table C-5. EPA
x
_TIME Addresses and Reset Values
Register Address Reset Value
EPA0_TIME (8XC196M
x
) 1F42H XXXXH
EPA1_TIME (8XC196M
x
) 1F46H XXXXH
EPA2_TIME (8XC196MC, MD) 1F4AH XXXXH
EPA3_TIME (8XC196MC, MD) 1F4EH XXXXH
EPA4_TIME (8XC196MD) 1F52H XXXXH
EPA5_TIME (8XC196MD) 1F56H XX00H