h8s-2111b Renesas Electronics Corporation., h8s-2111b Datasheet - Page 370

no-image

h8s-2111b

Manufacturer Part Number
h8s-2111b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
The value of the BBSY bit cannot be modified directly by this module clear function, but since the
stop condition pin waveform is generated according to the state and release timing of the SCL and
SDA pins, the BBSY bit may be cleared as a result. Similarly, state switching of other bits and
flags may also have an effect.
To prevent problems caused by these factors, the following procedure should be used when
initializing the IIC state.
1. Execute initialization of the internal state according to the setting of bits CLR3 to CLR0 or
2. Execute a stop condition issuance instruction (write 0 to BBSY and SCP) to clear the BBSY
3. Re-execute initialization of the internal state according to the setting of bits CLR3 to CLR0 or
4. Initialize (re-set) the IIC registers.
13.5
The IIC has interrupt source IICI. Table 13.7 shows the interrupt sources and priority. Individual
interrupt sources can be enabled or disabled using the enable bits in ICCR, and are sent to the
interrupt controller independently.
Table 13.7 IIC Interrupt Sources
Rev. 1.00, 05/04, page 336 of 544
Channel
0
1
ICE bit clearing.
bit to 0, and wait for two transfer rate clock cycles.
ICE bit clearing.
Interrupt Sources
Name
IICI0
IICI1
Enable Bit
IEIC
IEIC
Interrupt Source
I
interrupt request
I
interrupt request
2
2
C bus interface
C bus interface
Interrupt Flag
IRIC
IRIC
Priority
High
Low

Related parts for h8s-2111b