Ddc Switch Register (Ddcswr) - Renesas H8S/2633 Series Hardware Manual

Hide thumbs Also See for H8S/2633 Series:
Table of Contents

Advertisement

18.2.8

DDC Switch Register (DDCSWR)

Bit
:
7
Initial value :
0
R/W
:
R/(W)*
Notes: *1 Should always be written with 0.
*2 Always read as 1.
DDCSWR is an 8-bit readable/writable register that is used to initialize the IIC module.
DDCSWR is initialized to H'0F by a reset and in hardware standby mode.
Bits 7 to 4—Reserved: Should always be written with 0.
Bits 3 to 0—IIC Clear 3 to 0 (CLR3 to CLR0): These bits control initialization of the internal
state of IIC0 and IIC1.
These bits can only be written to; if read they will always return a value of 1.
When a write operation is performed on these bits, a clear signal is generated for the internal latch
circuit of the corresponding module(s), and the internal state of the IIC module(s) is initialized.
The write data for these bits is not retained. To perform IIC clearance, bits CLR3 to CLR0 must be
written to simultaneously using an MOV instruction. Do not use a bit manipulation instruction
such as BCLR.
When clearing is required again, all the bits must be written to in accordance with the setting.
Bit 3
Bit 2
CLR3
CLR2
0
0
1
1
6
5
0
0
1
R/(W)*
1
R/(W)*
1
Bit 1
Bit 0
CLR1
CLR0
0
0
1
1
0
1
4
3
CLR3
CLR2
0
1
1
2
R/(W)*
W*
Description
Setting prohibited
Setting prohibited
IIC0 internal latch cleared
IIC1 internal latch cleared
IIC0 and IIC1 internal latches cleared
Invalid setting
2
1
CLR1
CLR0
1
1
2
2
W*
W*
W*
0
1
2
825

Advertisement

Table of Contents
loading

Table of Contents