stm32 /stm32h5 /STM32H523 /I2C /I2C_CR1

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as I2C_CR1

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 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 (B_0x0)PE 0 (B_0x0)TXIE 0 (B_0x0)RXIE 0 (B_0x0)ADDRIE 0 (B_0x0)NACKIE 0 (B_0x0)STOPIE 0 (B_0x0)TCIE 0 (B_0x0)ERRIE 0 (B_0x0)DNF0 (B_0x0)ANFOFF 0 (B_0x0)TXDMAEN 0 (B_0x0)RXDMAEN 0 (B_0x0)SBC 0 (B_0x0)NOSTRETCH 0 (B_0x0)WUPEN 0 (B_0x0)GCEN 0 (B_0x0)SMBHEN 0 (B_0x0)SMBDEN 0 (B_0x0)ALERTEN 0 (B_0x0)PECEN 0 (B_0x0)FMP 0 (B_0x0)ADDRACLR 0 (B_0x0)STOPFACLR

TXIE=B_0x0, PECEN=B_0x0, TCIE=B_0x0, ADDRACLR=B_0x0, SMBHEN=B_0x0, ERRIE=B_0x0, ALERTEN=B_0x0, PE=B_0x0, FMP=B_0x0, RXIE=B_0x0, STOPFACLR=B_0x0, SMBDEN=B_0x0, ANFOFF=B_0x0, WUPEN=B_0x0, DNF=B_0x0, SBC=B_0x0, STOPIE=B_0x0, TXDMAEN=B_0x0, GCEN=B_0x0, NACKIE=B_0x0, ADDRIE=B_0x0, RXDMAEN=B_0x0, NOSTRETCH=B_0x0

Description

I2C control register 1

Fields

PE

Peripheral enable

0 (B_0x0): Peripheral disabled

1 (B_0x1): Peripheral enabled

TXIE

TX interrupt enable

0 (B_0x0): Transmit (TXIS) interrupt disabled

1 (B_0x1): Transmit (TXIS) interrupt enabled

RXIE

RX interrupt enable

0 (B_0x0): Receive (RXNE) interrupt disabled

1 (B_0x1): Receive (RXNE) interrupt enabled

ADDRIE

Address match interrupt enable (slave only)

0 (B_0x0): Address match (ADDR) interrupts disabled

1 (B_0x1): Address match (ADDR) interrupts enabled

NACKIE

Not acknowledge received interrupt enable

0 (B_0x0): Not acknowledge (NACKF) received interrupts disabled

1 (B_0x1): Not acknowledge (NACKF) received interrupts enabled

STOPIE

Stop detection interrupt enable

0 (B_0x0): Stop detection (STOPF) interrupt disabled

1 (B_0x1): Stop detection (STOPF) interrupt enabled

TCIE

Transfer complete interrupt enable

0 (B_0x0): Transfer complete interrupt disabled

1 (B_0x1): Transfer complete interrupt enabled

ERRIE

Error interrupts enable

0 (B_0x0): Error detection interrupts disabled

1 (B_0x1): Error detection interrupts enabled

DNF

Digital noise filter

0 (B_0x0): Digital filter disabled

1 (B_0x1): Digital filter enabled and filtering capability up to one tless thansub>I2CCLKless than/sub>

15 (B_0xF): digital filter enabled and filtering capability up to fifteen tless thansub>I2CCLKless than/sub>

ANFOFF

Analog noise filter OFF

0 (B_0x0): Analog noise filter enabled

1 (B_0x1): Analog noise filter disabled

TXDMAEN

DMA transmission requests enable

0 (B_0x0): DMA mode disabled for transmission

1 (B_0x1): DMA mode enabled for transmission

RXDMAEN

DMA reception requests enable

0 (B_0x0): DMA mode disabled for reception

1 (B_0x1): DMA mode enabled for reception

SBC

Slave byte control

0 (B_0x0): Slave byte control disabled

1 (B_0x1): Slave byte control enabled

NOSTRETCH

Clock stretching disable

0 (B_0x0): Clock stretching enabled

1 (B_0x1): Clock stretching disabled

WUPEN

Wake-up from Stop mode enable

0 (B_0x0): Wake-up from Stop mode disabled.

1 (B_0x1): Wake-up from Stop mode enabled.

GCEN

General call enable

0 (B_0x0): General call disabled.

1 (B_0x1): General call enabled.

SMBHEN

SMBus host address enable

0 (B_0x0): Host address disabled.

1 (B_0x1): Host address enabled.

SMBDEN

SMBus device default address enable

0 (B_0x0): Device default address disabled.

1 (B_0x1): Device default address enabled.

ALERTEN

SMBus alert enable

0 (B_0x0): The SMBus alert pin (SMBA) is not supported in host mode (SMBHEN = 1).

1 (B_0x1): The SMBus alert pin is supported in host mode (SMBHEN = 1).

PECEN

PEC enable

0 (B_0x0): PEC calculation disabled

1 (B_0x1): PEC calculation enabled

FMP

Fast-mode Plus 20 mA drive enable

0 (B_0x0): 20 mA I/O drive disabled

1 (B_0x1): 20 mA I/O drive enabled

ADDRACLR

Address match flag (ADDR) automatic clear

0 (B_0x0): ADDR flag is set by hardware, cleared by software by setting ADDRCF bit.

1 (B_0x1): ADDR flag remains cleared by hardware.

STOPFACLR

STOP detection flag (STOPF) automatic clear

0 (B_0x0): STOPF flag is set by hardware, cleared by software by setting STOPCF bit.

1 (B_0x1): STOPF flag remains cleared by hardware.

Links

()