Panasonic MN101C77C User Manual

Page 425

Advertising
background image

Chapter 12 Serial Interface 3

Operation

XII - 39

(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. [

(17)]

<The transmission is finished.>

<Transaction after IIC communication>

(23) Clear BUSY flag.

SC3CTR (x'3FAA')

bp7 : IICBSY = 0

(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

transmission. [

(17)]

(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.

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.

Setup Procedure

Description

Advertising
This manual is related to the following products: