CHAPTER 14 MULTI-FUNCTIONAL TIMER
14.4.7
Input Capture Control Status Registers (ICS23, PICS01)
Input capture control status registers (ICS23, PICS01) are used to control edge
selection, interrupt request enable, interrupt request flag and to indicate valid edge
detected for input capture 0 to 3.
■ Input Capture Control Status Register, Upper Byte (ICSH23)
Figure 14.4-15 Input Capture Control Status Register (ICSH23)
Address bit15
00006B
H
R
: Read-only
-
: Not used
: Initial value
Table 14.4-5 Input Capture Control Status Register (ICSH23)
Bit name
bit15
to
Unused bit
bit10
IEI3:
bit9
Valid edge
indication bit
IEI2:
bit8
Valid edge
indication bit
306
14
13
12
11
• The read value is indeterminate.
• Writing to this bit has no effect on the operation.
• This bit is an valid edge indication bit for capture register 3, to indicate a rising or falling edge
is detected.
• "0" is written to this bit when falling edge is detected.
• "1" is written to this bit when rising edge is detected.
• This bit is read-only.
(Note)
The read value is meaningless when EG31, EG30 = 00.
• This bit is an valid edge indication bit for capture register 2, to indicate a rising or falling
edge is detected.
• "0" is written to this bit when falling edge is detected.
• "1" is written to this bit when rising edge is detected.
• This bit is read-only.
(Note)
The read value is meaningless when EG21, EG20 = 00.
10
9
8
Initial value
IEI3
IEI2
------00
R
R
IEI2
Valid edge indication bit (input capture 2)
0
1
IEI3
Valid edge indication bit (input capture 3)
0
1
Function
B
Falling edge detected
Rising edge detected
Falling edge detected
Rising edge detected