\n

I2C

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x400 byte (0x0)
mem_usage : registers
protection : not protected

Registers

CR1

DR

SR1

SR2

CCR

TRISE

CR2

OAR1

OAR2


CR1

CR1
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CR1 CR1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PE SMBUS SMBTYPE ENARP ENPEC ENGC NOSTRETCH START STOP ACK POS PEC ALERT SWRST

PE : Peripheral enable
bits : 0 - 0 (1 bit)

SMBUS : SMBus mode
bits : 1 - 1 (1 bit)

SMBTYPE : SMBus type
bits : 3 - 3 (1 bit)

ENARP : ARP enable
bits : 4 - 4 (1 bit)

ENPEC : PEC enable
bits : 5 - 5 (1 bit)

ENGC : General call enable
bits : 6 - 6 (1 bit)

NOSTRETCH : Clock stretching disable (Slave mode)
bits : 7 - 7 (1 bit)

START : Start generation
bits : 8 - 8 (1 bit)

STOP : Stop generation
bits : 9 - 9 (1 bit)

ACK : Acknowledge enable
bits : 10 - 10 (1 bit)

POS : Acknowledge/PEC Position (for data reception)
bits : 11 - 11 (1 bit)

PEC : Packet error checking
bits : 12 - 12 (1 bit)

ALERT : SMBus alert
bits : 13 - 13 (1 bit)

SWRST : Software reset
bits : 15 - 15 (1 bit)


DR

DR
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DR DR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DR

DR : -bit data register
bits : 0 - 7 (8 bit)


SR1

SR1
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

SR1 SR1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SB ADDR BTF ADD10 STOPF RxNE TxE BERR ARLO AF OVR PECERR TIMEOUT SMBALERT

SB : Start bit (Master mode)
bits : 0 - 0 (1 bit)
access : read-only

ADDR : Address sent (master mode)/matched (slave mode)
bits : 1 - 1 (1 bit)
access : read-only

BTF : Byte transfer finished
bits : 2 - 2 (1 bit)
access : read-only

ADD10 : 10-bit header sent (Master mode)
bits : 3 - 3 (1 bit)
access : read-only

STOPF : Stop detection (slave mode)
bits : 4 - 4 (1 bit)
access : read-only

RxNE : Data register not empty (receivers)
bits : 6 - 6 (1 bit)
access : read-only

TxE : Data register empty (transmitters)
bits : 7 - 7 (1 bit)
access : read-only

BERR : Bus error
bits : 8 - 8 (1 bit)
access : read-write

ARLO : Arbitration lost (master mode)
bits : 9 - 9 (1 bit)
access : read-write

AF : Acknowledge failure
bits : 10 - 10 (1 bit)
access : read-write

OVR : Overrun/Underrun
bits : 11 - 11 (1 bit)
access : read-write

PECERR : PEC Error in reception
bits : 12 - 12 (1 bit)
access : read-write

TIMEOUT : Timeout or Tlow error
bits : 14 - 14 (1 bit)
access : read-write

SMBALERT : SMBus alert
bits : 15 - 15 (1 bit)
access : read-write


SR2

SR2
address_offset : 0x18 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

SR2 SR2 read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MSL BUSY TRA GENCALL SMBDEFAULT SMBHOST DUALF PEC

MSL : Master/slave
bits : 0 - 0 (1 bit)

BUSY : Bus busy
bits : 1 - 1 (1 bit)

TRA : Transmitter/receiver
bits : 2 - 2 (1 bit)

GENCALL : General call address (Slave mode)
bits : 4 - 4 (1 bit)

SMBDEFAULT : SMBus device default address (Slave mode)
bits : 5 - 5 (1 bit)

SMBHOST : SMBus host header (Slave mode)
bits : 6 - 6 (1 bit)

DUALF : Dual flag (Slave mode)
bits : 7 - 7 (1 bit)

PEC : acket error checking register
bits : 8 - 15 (8 bit)


CCR

CCR
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CCR CCR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CCR DUTY F_S

CCR : Clock control register in Fast/Standard mode (Master mode)
bits : 0 - 11 (12 bit)

DUTY : Fast mode duty cycle
bits : 14 - 14 (1 bit)

F_S : I2C master mode selection
bits : 15 - 15 (1 bit)


TRISE

TRISE
address_offset : 0x20 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TRISE TRISE read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TRISE

TRISE : Maximum rise time in Fast/Standard mode (Master mode)
bits : 0 - 5 (6 bit)


CR2

CR2
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CR2 CR2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FREQ ITERREN ITEVTEN ITBUFEN DMAEN LAST

FREQ : Peripheral clock frequency
bits : 0 - 5 (6 bit)

ITERREN : Error interrupt enable
bits : 8 - 8 (1 bit)

ITEVTEN : Event interrupt enable
bits : 9 - 9 (1 bit)

ITBUFEN : Buffer interrupt enable
bits : 10 - 10 (1 bit)

DMAEN : DMA requests enable
bits : 11 - 11 (1 bit)

LAST : DMA last transfer
bits : 12 - 12 (1 bit)


OAR1

OAR1
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

OAR1 OAR1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ADD_0 ADD_1_7 ADD_8_9 ADDMODE

ADD_0 : Interface address
bits : 0 - 0 (1 bit)

ADD_1_7 : Interface address
bits : 1 - 7 (7 bit)

ADD_8_9 : Interface address
bits : 8 - 9 (2 bit)

ADDMODE : ADDMODE
bits : 15 - 15 (1 bit)


OAR2

OAR2
address_offset : 0xC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

OAR2 OAR2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ENDUAL ADD2

ENDUAL : Dual addressing mode enable
bits : 0 - 0 (1 bit)

ADD2 : Interface address
bits : 1 - 7 (7 bit)



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.