Rev. 1.00, 09/03, page 404 of 704
14.3.4
Duty Measurement Control Register 2 (TWCR2)
TWCR2 controls enabling or disabling interrupt request signals, status flag indication, and duty
measurement operation.
Bit Bit Name
Initial Value R/W Description
7
ENDIE
0
R/W Duty Measurement End Interrupt Enable
When the ENDF flag in TWCR2 is set to 1, this bit
enables or disables an interrupt request by the ENDF
flag.
0: Disables an interrupt request (TWENDI) by ENDF
1: Enables an interrupt request (TWENDI) by ENDF
6
OVIE
0
R/W Overflow Interrupt Enable
When the OVF flag in TWCR2 is set to 1, this bit enables
or disables an interrupt request by the OVF flag.
0: Disables an interrupt request (TWOVI) by OVF
1: Enables an interrupt request (TWOVI) by OVF
5 ENDF
0
R/(W
)
*
Duty Measurement End
A status flag indicating that duty measurement has
ended.
[Setting condition]
When duty measurement ends
[Clearing condition]
When 0 is written to ENDF after reading ENDF = 1
4 OVF
0
R/(W
)
*
Overflow Flag
A flag indicating that a TWCNT overflow has occurred.
[Setting condition]
When TWCNT overflows from H
′
FF to H
′
00
[Clearing condition]
When 0 is written to OVF after reading OVF = 1
3 to
1
All
0
R/W
Reserved
The initial value should not be changed.
Summary of Contents for H8S/2437
Page 2: ...Rev 1 00 09 03 page ii of xxxviii ...
Page 8: ...Rev 1 00 09 03 page viii of xxxviii ...
Page 32: ...Rev 1 00 09 03 page xxxii of xxxviii ...
Page 38: ...Rev 1 00 09 03 page xxxviii of xxxviii ...
Page 168: ...Rev 1 00 09 03 page 130 of 704 ...
Page 336: ...Rev 1 00 09 03 page 298 of 704 ...
Page 402: ...Rev 1 00 09 03 page 364 of 704 ...
Page 454: ...Rev 1 00 09 03 page 416 of 704 ...
Page 512: ...Rev 1 00 09 03 page 474 of 704 ...
Page 562: ...Rev 1 00 09 03 page 524 of 704 ...
Page 648: ...Rev 1 00 09 03 page 610 of 704 ...
Page 672: ...Rev 1 00 09 03 page 634 of 704 ...
Page 732: ...Rev 1 00 09 03 page 694 of 704 ...
Page 742: ...Rev 1 00 09 03 page 704 of 704 ...
Page 745: ......
Page 746: ...H8S 2437 Group Hardware Manual REJ09B0059 0100Z ...