
237
CHAPTER 9 MULTIFUNCTIONAL TIMER
9.3.3
Registers of Input Capture
The input capture has the following two data registers:
• Input capture data register (IPCP0 to 3)
• Input capture control register (IPCP)
■
Input capture data register (IPCP0 to 3)
The register configuration of the input capture data registers (IPCP0 to 3) is as follows:
The input capture data registers (IPCP0 to 3) are used to store the value of the 16-bit free-run
timer when a significant edge of the corresponding external pin input waveform is detected.
(Access this register in word units. The user cannot write any value to this register.)
■
Input capture control register (ICS01, ICS23)
The register configuration of the input capture control register (ICS01, ICS23) is as follows:
[Bits 15, 14, 7 and 6]: ICP3, ICP2, ICP1, and ICP0
These bits are used as input-capture interrupt flags. When a significant edge of an external
input pin is detected, these bits are set to 1. When the interrupt permission bits (ICE3, ICE2,
ICE1, and ICE0) are also set, an interrupt is generated as soon as the significant edge is
detected. To clear these bits, set them to 0. Setting these bits to 12 has no effect. Read
operations with read modify write instructions always return 1 for these bits.
ICPn: n corresponds to the channel number of the input capture.
(X)
Bit15
CP15
R
(X)
Bit14
CP14
R
(X)
Bit13
CP13
R
(X)
Bit12
CP12
R
(X)
Bit11
CP11
R
(X)
Bit10
CP10
R
(X)
Bit9
CP09
R
(X)
Bit8
CP08
R
(X)
Bit7
CP07
R
(X)
Bit6
CP06
R
(X)
Bit5
CP05
R
(X)
Bit4
CP04
R
(X)
Bit3
CP03
R
(X)
Bit2
CP02
R
(X)
Bit1
CP01
R
(X)
Bit0
CP00
R
Upper 8 bits of input
capture data register
Lower 8 bits of input
capture data register
Bit7
ICP3
R/W
(0)
Bit6
ICP2
R/W
(0)
Bit5
ICE3
R/W
(0)
Bit4
ICE2
R/W
(0)
Bit3
EG31
R/W
(0)
Bit2
EG30
R/W
(0)
Bit1
EG21
R/W
(0)
Bit0
EG20
R/W
(0)
Bit7
ICP1
R/W
(0)
Bit6
ICP0
R/W
(0)
Bit5
ICE1
R/W
(0)
Bit4
ICE0
R/W
(0)
Bit3
EG11
R/W
(0)
Bit2
EG10
R/W
(0)
Bit1
EG01
R/W
(0)
Bit0
EG00
R/W
(0)
Upper 8 bits of capture
control register (ICS23)
Upper 8 bits of capture
control register (ICS01)
0
No significant edge is detected. (initial value)
1
A significant edge is detected.
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......