Fujitsu MB91460 SERIES FR60 User Manual page 766

32-bit microcontroller
Table of Contents

Advertisement

Chapter 36 Input Capture
4.Register
4.2 ICS: Input Capture Control Register
A register for controlling input capture
• ICS01 (Input capture 0-1): Address 0181h (Access:
• ICS23 (Input capture 2-3): Address 0183h (Access:
• ICS45 (Input capture 4-5): Address 02D1h (Access:
• ICS67 (Input capture 6-7): Address 02D3h (Access:
7
ICP1
0
R(RM1),W
R(RM1),W
(For information on attributes, see
• bit7: Input capture 1 interrupt request flag
ICP1
0
No interrupt request
1
Interrupt request present (edge detection present)
• When the signal change (edge) selected by the active capture edge selection bit (EG[11:10]) is detected
on the input from an external pin, the flag becomes "1".
• To activate the interrupt request it is necessary to set the interrupt enable bit (ICE1="1").
• If the timing of the interrupt request flag becoming "1" and the writing of "0" occur simultaneously, the
interrupt request flag will become "1".
• bit6: Input capture 0 interrupt request flag
ICP0
0
No interrupt request
1
Interrupt request present
• When the signal change selected by the active capture edge selection bit (EG[01:00]) is detected on the
input from an external pin (CS0), the flag becomes "1".
• To activate the interrupt request, the interrupt request permission setting (ICE1="1") is necessary.
• If the timing of the interrupt request flag becoming "1" and the writing of "0"occur simultaneously, the
interrupt request flag will become "1".
• bit5: Input capture 1 interrupt request permission
ICE1
0
1
• If input capture 1 interrupt request permission bit is set to "1", input capture 1 interrupt request ICP1 will
be enabled.
• bit4: Input capture 0 interrupt request permission
ICE0
0
Interrupt disabled
1
Interrupt enabled
• If input capture 0 interrupt request permission bit is set to "1", input capture 0 interrupt request ICP0 will
be enabled.
750
6
5
ICP0
ICE1
ICE0
0
0
R/W
R/W
"Meaning of Bit Attribute Symbols (Page
Read
Read
)
Byte
)
Byte
)
Byte
)
Byte
4
3
2
EG11
EG10
0
0
0
R/W
R/W
Status
Clear flag
No effect on operation
Status
Clear flag
No effect on operation
Operation
Interrupt disabled
Interrupt enabled
Operation
1
0
bit
EG01
EG00
0
0
Initial value
R/W
R/W
Attribute
No.10)".)
Write
Write

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents