Panasonic F77G User Manual page 425

Microcomputer mn101c series
Table of Contents

Advertisement

Setup Procedure
(19) Judge the ACK bit level.
SC3CTR (x'3FAA')
bp0 : SC3ACKO
(20) Select the transfer bit count.
SC3MD0 (x'3FA8')
bp2-0 : SC3LNG2-0 = 0
(21) Select the start condition.
SC3MD0 (x'3FA8')
bp3 : SC3STE = 0
<The next data transmission is started.>
(22) Serial transmission is started. [
<The transmission is finished.>
<Transaction after IIC communication>
(23) Clear BUSY flag.
SC3CTR (x'3FAA')
bp7 : IICBSY = 0
Note : In the above (5) to (8), (9) to (12), (13) to (14), (15) to (16), (18) to (19) and (20) to (21), settings can
be set at once.
(19) Confirm the level of the ACK bit, received by the
SC3ACKS flag of the serial 3 control register
(SC3CTR). When SC3ACKO = 0, the transmission
is continued. When SC3ACKO = 1, the reception at
slave may be impossible, finish the communication.
(20) If the transfer bit count is changed, set the
transfer count bit by the SC3LNG2-0 flag of the
serial 3 mode register (SC3MD0).
(21) Set the SC3STE flag of the SC3MD0 register to "0"
to disable start condition.
(22) Set the transmission data to SC3TRB to start the
(17)]
transmission. [
(23) Clear the IICBSY flag of the serial 3 control
register (SC3CTR) to "0". Then, the stop condition
is automatically generated to finish the
communication.
Chapter 12
Description
(17)]
Operation
Serial Interface 3
XII - 39

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Panaxseries mn101c77cPanaxseries mn101f77g

Table of Contents