Maxim-Integrated /max32650 /I2C0 /CTRL0

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 CTRL0

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 (dis)I2CEN 0 (slave_mode)MST 0 (dis)GCEN 0 (dis)IRXM 0 (ack)ACK 0 (low)SCL_OUT 0 (low)SDA_OUT 0 (low)SCL 0 (low)SDA 0 (dis)SWOE 0 (write)READ 0 (en)SCL_STRD 0 (dis)SCL_PPM

SCL_PPM=dis, READ=write, SWOE=dis, IRXM=dis, SCL=low, GCEN=dis, SCL_OUT=low, I2CEN=dis, SDA=low, SCL_STRD=en, SDA_OUT=low, ACK=ack, MST=slave_mode

Description

Control Register 0.

Fields

I2CEN

I2C Enable.

0 (dis): Disable I2C.

1 (en): enable I2C.

MST

Master Mode Enable.

0 (slave_mode): Slave Mode.

1 (master_mode): Master Mode.

GCEN

General Call Address Enable.

0 (dis): Ignore Gneral Call Address.

1 (en): Acknowledge general call address.

IRXM

Interactive Receive Mode.

0 (dis): Disable Interactive Receive Mode.

1 (en): Enable Interactive Receive Mode.

ACK

Data Acknowledge. This bit defines the acknowledge bit returned by the I2C receiver while IRXM = 1 HW forces ACK to 0 when IRXM = 0.

0 (ack): return ACK (pulling SDA LOW).

1 (nack): return NACK (leaving SDA HIGH).

SCL_OUT

SCL Output. This bits control SCL output when SWOE =1.

0 (low): Drive SCL low.

1 (high): Release SCL.

SDA_OUT

SDA Output. This bits control SDA output when SWOE = 1.

0 (low): Drive SDA low.

1 (high): Release SDA.

SCL

SCL status. This bit reflects the logic gate of SCL signal.

0 (low): SCL pin is logic low.

1 (high): SCL pin is logic high.

SDA

SDA status. THis bit reflects the logic gate of SDA signal.

0 (low): SDA pin is logic low.

1 (high): SDA pin is logic high.

SWOE

Software Output Enable.

0 (dis): I2C Outputs SCLO and SDAO disabled.

1 (en): I2C Outputs SCLO and SDAO enabled.

READ

Read. This bit reflects the R/W bit of an address match (AMI = 1) or general call match (GCI = 1). This bit is valid 3 cycles after the relevant interrupt bit is set.

0 (write): Write.

1 (read): Read.

SCL_STRD

This bit will disable slave clock stretching when set.

0 (en): Slave clock stretching enabled.

1 (dis): Slave clock stretching disabled.

SCL_PPM

SCL Push-Pull Mode. This bit controls whether SCL is operated in a the I2C standard open-drain mode, or in a non-standard push-pull mode where the Hi-Z output isreplaced with Drive-1. The non-standard mode should only be used when operating as a master and communicating with slaves that are guaranteed to never drive SCL low.

0 (dis): Standard open-drain operation: drive low for 0, Hi-Z for 1

1 (en): Non-standard push-pull operation: drive low for 0, drive high for 1

Links

()