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

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
Rev. 1.00, 05/04, page 318 of 544
Figure 13.14 Sample Flowchart for Operations in Master Receive Mode
No
No
Clear IRIC flag in ICCR
Read IRIC flag in ICCR
Clear IRIC flag in ICCR
Read IRIC flag in ICCR
Clear IRIC flag in ICCR
Set ACKB = 0 in ICSR
Set HNDS = 0 in ICXR
Set ACKB = 1 in ICSR
Set WAIT = 0 in ICMR
Set WAIT = 0 in ICMR
Set TRS = 0 in ICCR
Set TRS = 1 in ICCR
Slave receive mode
Set BBSY = 0 and
SCP = 0 in ICCR
Read ICDR
Read ICDR
IRIC = 1?
IRIC = 1?
End
(receiving a single byte) (WAIT = 1)
Yes
Yes
[1] Select receive mode.
[2] Start receiving. The first read
[3] Wait for a receive wait
[7] Set acknowledge data for
[9] Set TRS for stop condition issuance
[11] Clear IRIC flag.
[12] Wait for 1 byte to be received.
[15] Clear wait mode.
[16] Read the last receive data
[17] Generate stop condition
(Set IRIC at the fall of the 8th clock)
is a dummy read.
(to end the wait insertion)
the last reception.
(IRIC flag should be cleared to 0
(Set IRIC at the rise of the 9th clock)
after setting WAIT = 0.)
Clear IRIC flag.

Related parts for h8s-2111b