beautypg.com

Renesas H8S/2111B User Manual

Page 232

background image

Rev. 1.00, 05/04, page 198 of 544

TCSR_Y

Bit Bit

Name

Initial
Value R/W Description

7 CMFB

0 R/(W)*

1

Compare-Match Flag B

[Setting condition]

When the values of TCNT_Y and TCORB_Y match

[Clearing condition]

Read CMFB when CMFB = 1, then write 0 in CMFB

6 CMFA

0 R/(W)*

1

Compare-Match Flag A

[Setting condition]

When the values of TCNT_Y and TCORA_Y match

[Clearing condition]

Read CMFA when CMFA = 1, then write 0 in CMFA

5 OVF 0 R/(W)*

1

Timer Overflow Flag

[Setting condition]

When TCNT_Y overflows from H'FF to H'00

[Clearing condition]

Read OVF when OVF = 1, then write 0 in OVF

4

ICIE

0

R/W

Input Capture Interrupt Enable

Enables or disables the ICF interrupt request (ICIX)
when the ICF bit in TCSR_X is set to 1.

0: ICF interrupt request (ICIX) is disabled

1: ICF interrupt request (ICIX) is enabled

3

2

OS3

OS2

0

0

R/W

R/W

Output Select 3, 2

These bits specify how the TMOY pin*

2

output level is to

be changed by compare-match B of TCORB_Y and
TCNT_Y.

00: No change

01: 0 is output

10: 1 is output

11: Output is inverted (toggle output)

1

0

OS1

OS0

0

0

R/W

R/W

Output Select 1, 0

These bits specify how the TMOY pin*

2

output level is to

be changed by compare-match A of TCORA_Y and
TCNT_Y.

00: No change

01: 0 is output

10: 1 is output

11: Output is inverted (toggle output)

Notes: 1. Only 0 can be written, for flag clearing.

2. The program development tool (emulator) does not support this pin.

This manual is related to the following products: