Fujitsu DevKit16 User Manual page 71

Table of Contents

Advertisement

[Bit 4] MS: Master Transfer Start
2
This bit controls I
C data transfer.
0: The stop condition is generated and address data transfer terminated.
1: The start condition is generated and address data transfer started.
[Bit 3] ACK: Acknowledge
This bit enables acknowledge generation when data is received.
• Write
0: Acknowledge is not generated.
1: Acknowledge is generated.
[Bit 1] INTE: INTEnable
This bit enables the INT3 interrupt generation after a transfer is terminated.
0: the interrupt is disabled (initial value), the INT3 pin stays in the high
impedance state with 47k pullup.
1: the interrupt is enabled - when the INT bit goes to '1', the INT3 interrupt
is generated
[Bit 0] INT: INTerrupt
This is a transfer end interrupt request flag.
• Write
0: To clear the flag, write '0' to this bit until reading it will return '0'. In
the interrupt handler routine, this must be done prior to any other
operation of the I2C interface. Otherwise, the next Transfer End
condition will be lost.
1: Not applicable (the flag is set, and if the INTE bit is '1', the INT3
interrupt is generated)
• Read
0: The transfer is not terminated
1: This bit is set when an one-byte transfer (including the acknowledge
bit) is terminated.
(3) Clock control register
ICCR
7
Address: CB
---
H
Read/Write
(---)
Initial Value
(---)
The value of CS3-CS0 bits of this register form a divider of the base I
clock - 384 kHz. The resulting SCL clock frequency can be then computed
as:
6
5
4
---
---
---
(---)
(---)
(---)
(---)
(---)
(---)
69
69
69
69
3
2
1
CS3
CS2
CS1
(R/W)
(R/W)
(R/W)
(X)
(X)
(X)
0
CS0
(R/W)
(X)
2
C

Advertisement

Table of Contents
loading

Table of Contents