STM32G474xx HAL用户手册
定义
IT定义
I2C导出常量

可与LL_I2C_ReadReg和LL_I2C_WriteReg函数配合使用的IT定义。 更多...

定义

#define LL_I2C_CR1_TXIE   I2C_CR1_TXIE
#define LL_I2C_CR1_RXIE   I2C_CR1_RXIE
#define LL_I2C_CR1_ADDRIE   I2C_CR1_ADDRIE
#define LL_I2C_CR1_NACKIE   I2C_CR1_NACKIE
#define LL_I2C_CR1_STOPIE   I2C_CR1_STOPIE
#define LL_I2C_CR1_TCIE   I2C_CR1_TCIE
#define LL_I2C_CR1_ERRIE   I2C_CR1_ERRIE

详细说明

可与LL_I2C_ReadReg和LL_I2C_WriteReg函数配合使用的IT定义。


定义说明

#define LL_I2C_CR1_ADDRIE   I2C_CR1_ADDRIE

地址匹配中断使能(仅从机)

Definition at line 168 of file stm32g4xx_ll_i2c.h.

#define LL_I2C_CR1_ERRIE   I2C_CR1_ERRIE

错误中断使能

Definition at line 172 of file stm32g4xx_ll_i2c.h.

#define LL_I2C_CR1_NACKIE   I2C_CR1_NACKIE

未应答接收中断使能

Definition at line 169 of file stm32g4xx_ll_i2c.h.

#define LL_I2C_CR1_RXIE   I2C_CR1_RXIE

RX中断使能

Definition at line 167 of file stm32g4xx_ll_i2c.h.

#define LL_I2C_CR1_STOPIE   I2C_CR1_STOPIE

停止检测中断使能

Definition at line 170 of file stm32g4xx_ll_i2c.h.

#define LL_I2C_CR1_TCIE   I2C_CR1_TCIE

传输完成中断使能

Definition at line 171 of file stm32g4xx_ll_i2c.h.

#define LL_I2C_CR1_TXIE   I2C_CR1_TXIE

TX中断使能

Definition at line 166 of file stm32g4xx_ll_i2c.h.