Registers; Input Capture Register 1 (Icr1); Prescalar Unit Control/Status Register (Pcsr) - Hitachi H8S/2199 Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

21.2

Registers

21.2.1

Input Capture Register 1 (ICR1)

Bit :
ICR17
Initial value :
R/W :
Input capture register 1 (ICR1) captures 8-bit data of 2
the ,& pin.
ICR1 is an 8-bit read-only register. The write operation becomes invalid. The ICR1 values are
undefined until the first capture is generated after the mode has been set to the standby mode,
watch mode, subactive mode, and subsleeve mode. When reset, ICR1 is initialized to H'00.
21.2.2

Prescalar Unit Control/Status Register (PCSR)

Bit :
ICIF
Initial value :
R/W :
R/(W)*
Note: * Only 0 can be written to clear the flag.
The prescalar unit control/status register (PCSR) controls the input capture function and selects the
frequency division clock that is output from the TMOW pin.
PCSR is an 8-bit read/write enable register. When reset, PCSR is initialized to H'08.
Bit 7    Input Capture Interrupt Flag (ICIF): Input capture interrupt request flag. This indicates
that the input capture was performed according to the edge of the ,& pin.
Bit 7
ICIF
Description
0
[Clear condition]
When 0 is written after 1 has been read
1
[Set condition]
When the input capture was performed according to the edge of the ,& pin
Rev. 1.0, 02/00, page 390 of 1141
7
6
ICR16
ICR15
0
0
R
R
7
6
ICIE
ICEG
0
0
R/W
R/W
5
4
ICR14
ICR13
0
0
R
R
15
to 2
5
4
NCon/off
0
0
R/W
3
2
ICR12
ICR11
0
0
R
R
8
of the FRC according to the edge of
3
2
DCS2
DCS1
1
0
R/W
R/W
1
0
ICR10
0
0
R
R
1
0
DCS0
0
0
R/W
(Initial value)

Advertisement

Table of Contents
loading

Table of Contents