\n
address_offset : 0x0 Bytes (0x0)
size : 0x12 byte (0x0)
mem_usage : registers
protection : not protected
I2C Address Register
address_offset : 0x0 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADR : no description available
bits : 1 - 7 (7 bit)
access : read-write
I2C Data I/O Register
address_offset : 0x10 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DATA : no description available
bits : 0 - 7 (8 bit)
access : read-write
I2C Frequency Divider Register
address_offset : 0x4 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
IC : no description available
bits : 0 - 5 (6 bit)
access : read-write
I2C Control Register
address_offset : 0x8 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RSTA : no description available
bits : 2 - 2 (1 bit)
access : write-only
Enumeration:
#0 : 0
No repeat start
#1 : 1
Generates a Repeated Start condition
End of enumeration elements list.
TXAK : no description available
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
An acknowledge signal is sent to the bus at the ninth clock bit after receiving one byte of data.
#1 : 1
No acknowledge signal response is sent (that is, the acknowledge bit = 1).
End of enumeration elements list.
MTX : no description available
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
Receive.When a slave is addressed, the software should set MTX according to the slave read/write bit in the I2C status register (I2C_I2SR[SRW]).
#1 : 1
Transmit.In Master mode, MTX should be set according to the type of transfer required. Therefore, for address cycles, MTX is always 1.
End of enumeration elements list.
MSTA : no description available
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
Slave mode. Changing MSTA from 1 to 0 generates a Stop and selects Slave mode.
#1 : 1
Master mode. Changing MSTA from 0 to 1 signals a Start on the bus and selects Master mode.
End of enumeration elements list.
IIEN : no description available
bits : 6 - 6 (1 bit)
access : read-write
Enumeration:
#0 : 0
I2C interrupts are disabled, but the status flag I2C_I2SR[IIF] continues to be set when an Interrupt condition occurs.
#1 : 1
I2C interrupts are enabled. An I2C interrupt occurs if I2C_I2SR[IIF] is also set.
End of enumeration elements list.
IEN : no description available
bits : 7 - 7 (1 bit)
access : read-write
Enumeration:
#0 : 0
The block is disabled, but registers can still be accessed.
#1 : 1
The I2C is enabled. This bit must be set before any other I2C_I2CR bits have an effect.
End of enumeration elements list.
I2C Status Register
address_offset : 0xC Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RXAK : no description available
bits : 0 - 0 (1 bit)
access : read-only
Enumeration:
#0 : 0
An "acknowledge" signal was received after the completion of an 8-bit data transmission on the bus.
#1 : 1
A "No acknowledge" signal was detected at the ninth clock.
End of enumeration elements list.
IIF : no description available
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
No I2C interrupt pending.
#1 : 1
An interrupt is pending.This causes a processor interrupt request (if the interrupt enable is asserted [IIEN = 1]). The interrupt is set when one of the following occurs: One byte transfer is completed (the interrupt is set at the falling edge of the ninth clock). An address is received that matches its own specific address in Slave Receive mode. Arbitration is lost.
End of enumeration elements list.
SRW : no description available
bits : 2 - 2 (1 bit)
access : read-only
Enumeration:
#0 : 0
Slave receive, master writing to slave
#1 : 1
Slave transmit, master reading from slave
End of enumeration elements list.
IAL : no description available
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
No arbitration lost.
#1 : 1
Arbitration is lost.
End of enumeration elements list.
IBB : no description available
bits : 5 - 5 (1 bit)
access : read-only
Enumeration:
#0 : 0
Bus is idle. If a Stop signal is detected, IBB is cleared.
#1 : 1
Bus is busy. When Start is detected, IBB is set.
End of enumeration elements list.
IAAS : no description available
bits : 6 - 6 (1 bit)
access : read-only
Enumeration:
#0 : 0
Not addressed
#1 : 1
Addressed as a slave. Set when its own address (I2C_IADR) matches the calling address.
End of enumeration elements list.
ICF : no description available
bits : 7 - 7 (1 bit)
access : read-only
Enumeration:
#0 : 0
Transfer is in progress.
#1 : 1
Transfer is complete. This bit is set by the falling edge of the ninth clock of the last byte transfer.
End of enumeration elements list.
Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !
This website is sponsored by Embeetle, an IDE designed from scratch for embedded software developers.