Macros
Collaboration diagram for I2C Private Macros:

Macros

#define I2C_CHECK_FLAG(__ISR__, __FLAG__)   ((((__ISR__) & ((__FLAG__) & I2C_FLAG_MASK)) == ((__FLAG__) & I2C_FLAG_MASK)) ? SET : RESET)
 
#define I2C_CHECK_FLAG(__ISR__, __FLAG__)   ((((__ISR__) & ((__FLAG__) & I2C_FLAG_MASK)) == ((__FLAG__) & I2C_FLAG_MASK)) ? SET : RESET)
 
#define I2C_CHECK_FLAG(__ISR__, __FLAG__)
 
#define I2C_CHECK_IT_SOURCE(__CR1__, __IT__)   ((((__CR1__) & (__IT__)) == (__IT__)) ? SET : RESET)
 
#define I2C_CHECK_IT_SOURCE(__CR1__, __IT__)   ((((__CR1__) & (__IT__)) == (__IT__)) ? SET : RESET)
 
#define I2C_CHECK_IT_SOURCE(__CR1__, __IT__)   ((((__CR1__) & (__IT__)) == (__IT__)) ? SET : RESET)
 
#define I2C_GENERATE_START(__ADDMODE__, __ADDRESS__)
 
#define I2C_GENERATE_START(__ADDMODE__, __ADDRESS__)
 
#define I2C_GENERATE_START(__ADDMODE__, __ADDRESS__)
 
#define I2C_GET_ADDR_MATCH(__HANDLE__)   ((uint16_t)(((__HANDLE__)->Instance->ISR & I2C_ISR_ADDCODE) >> 16U))
 
#define I2C_GET_ADDR_MATCH(__HANDLE__)   ((uint16_t)(((__HANDLE__)->Instance->ISR & I2C_ISR_ADDCODE) >> 16U))
 
#define I2C_GET_ADDR_MATCH(__HANDLE__)   ((uint16_t)(((__HANDLE__)->Instance->ISR & I2C_ISR_ADDCODE) >> 16U))
 
#define I2C_GET_DIR(__HANDLE__)   ((uint8_t)(((__HANDLE__)->Instance->ISR & I2C_ISR_DIR) >> 16U))
 
#define I2C_GET_DIR(__HANDLE__)   ((uint8_t)(((__HANDLE__)->Instance->ISR & I2C_ISR_DIR) >> 16U))
 
#define I2C_GET_DIR(__HANDLE__)   ((uint8_t)(((__HANDLE__)->Instance->ISR & I2C_ISR_DIR) >> 16U))
 
#define I2C_GET_OWN_ADDRESS1(__HANDLE__)   ((uint16_t)((__HANDLE__)->Instance->OAR1 & I2C_OAR1_OA1))
 
#define I2C_GET_OWN_ADDRESS1(__HANDLE__)   ((uint16_t)((__HANDLE__)->Instance->OAR1 & I2C_OAR1_OA1))
 
#define I2C_GET_OWN_ADDRESS1(__HANDLE__)   ((uint16_t)((__HANDLE__)->Instance->OAR1 & I2C_OAR1_OA1))
 
#define I2C_GET_OWN_ADDRESS2(__HANDLE__)   ((uint16_t)((__HANDLE__)->Instance->OAR2 & I2C_OAR2_OA2))
 
#define I2C_GET_OWN_ADDRESS2(__HANDLE__)   ((uint16_t)((__HANDLE__)->Instance->OAR2 & I2C_OAR2_OA2))
 
#define I2C_GET_OWN_ADDRESS2(__HANDLE__)   ((uint16_t)((__HANDLE__)->Instance->OAR2 & I2C_OAR2_OA2))
 
#define I2C_GET_STOP_MODE(__HANDLE__)   ((__HANDLE__)->Instance->CR2 & I2C_CR2_AUTOEND)
 
#define I2C_GET_STOP_MODE(__HANDLE__)   ((__HANDLE__)->Instance->CR2 & I2C_CR2_AUTOEND)
 
#define I2C_GET_STOP_MODE(__HANDLE__)   ((__HANDLE__)->Instance->CR2 & I2C_CR2_AUTOEND)
 
#define I2C_MEM_ADD_LSB(__ADDRESS__)   ((uint8_t)((uint16_t)((__ADDRESS__) & (uint16_t)(0x00FFU))))
 
#define I2C_MEM_ADD_LSB(__ADDRESS__)   ((uint8_t)((uint16_t)((__ADDRESS__) & (uint16_t)(0x00FFU))))
 
#define I2C_MEM_ADD_LSB(__ADDRESS__)   ((uint8_t)((uint16_t)((__ADDRESS__) & (uint16_t)(0x00FFU))))
 
#define I2C_MEM_ADD_MSB(__ADDRESS__)   ((uint8_t)((uint16_t)(((uint16_t)((__ADDRESS__) & (uint16_t)(0xFF00U))) >> 8U)))
 
#define I2C_MEM_ADD_MSB(__ADDRESS__)   ((uint8_t)((uint16_t)(((uint16_t)((__ADDRESS__) & (uint16_t)(0xFF00U))) >> 8U)))
 
#define I2C_MEM_ADD_MSB(__ADDRESS__)
 
#define I2C_RESET_CR2(__HANDLE__)   ((__HANDLE__)->Instance->CR2 &= (uint32_t)~((uint32_t)(I2C_CR2_SADD | I2C_CR2_HEAD10R | I2C_CR2_NBYTES | I2C_CR2_RELOAD | I2C_CR2_RD_WRN)))
 
#define I2C_RESET_CR2(__HANDLE__)   ((__HANDLE__)->Instance->CR2 &= (uint32_t)~((uint32_t)(I2C_CR2_SADD | I2C_CR2_HEAD10R | I2C_CR2_NBYTES | I2C_CR2_RELOAD | I2C_CR2_RD_WRN)))
 
#define I2C_RESET_CR2(__HANDLE__)
 
#define IS_I2C_ADDRESSING_MODE(MODE)
 
#define IS_I2C_ADDRESSING_MODE(MODE)
 
#define IS_I2C_ADDRESSING_MODE(MODE)
 
#define IS_I2C_DUAL_ADDRESS(ADDRESS)
 
#define IS_I2C_DUAL_ADDRESS(ADDRESS)
 
#define IS_I2C_DUAL_ADDRESS(ADDRESS)
 
#define IS_I2C_GENERAL_CALL(CALL)
 
#define IS_I2C_GENERAL_CALL(CALL)
 
#define IS_I2C_GENERAL_CALL(CALL)
 
#define IS_I2C_MEMADD_SIZE(SIZE)
 
#define IS_I2C_MEMADD_SIZE(SIZE)
 
#define IS_I2C_MEMADD_SIZE(SIZE)
 
#define IS_I2C_NO_STRETCH(STRETCH)
 
#define IS_I2C_NO_STRETCH(STRETCH)
 
#define IS_I2C_NO_STRETCH(STRETCH)
 
#define IS_I2C_OWN_ADDRESS1(ADDRESS1)   ((ADDRESS1) <= 0x000003FFU)
 
#define IS_I2C_OWN_ADDRESS1(ADDRESS1)   ((ADDRESS1) <= 0x000003FFU)
 
#define IS_I2C_OWN_ADDRESS1(ADDRESS1)   ((ADDRESS1) <= 0x000003FFU)
 
#define IS_I2C_OWN_ADDRESS2(ADDRESS2)   ((ADDRESS2) <= (uint16_t)0x00FFU)
 
#define IS_I2C_OWN_ADDRESS2(ADDRESS2)   ((ADDRESS2) <= (uint16_t)0x00FFU)
 
#define IS_I2C_OWN_ADDRESS2(ADDRESS2)   ((ADDRESS2) <= (uint16_t)0x00FFU)
 
#define IS_I2C_OWN_ADDRESS2_MASK(MASK)
 
#define IS_I2C_OWN_ADDRESS2_MASK(MASK)
 
#define IS_I2C_OWN_ADDRESS2_MASK(MASK)
 
#define IS_I2C_TRANSFER_OPTIONS_REQUEST(REQUEST)
 
#define IS_I2C_TRANSFER_OPTIONS_REQUEST(REQUEST)
 
#define IS_I2C_TRANSFER_OPTIONS_REQUEST(REQUEST)
 
#define IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(REQUEST)
 
#define IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(REQUEST)
 
#define IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(REQUEST)
 
#define IS_TRANSFER_MODE(MODE)
 
#define IS_TRANSFER_MODE(MODE)
 
#define IS_TRANSFER_MODE(MODE)
 
#define IS_TRANSFER_REQUEST(REQUEST)
 
#define IS_TRANSFER_REQUEST(REQUEST)
 
#define IS_TRANSFER_REQUEST(REQUEST)
 

Detailed Description

Macro Definition Documentation

◆ I2C_CHECK_FLAG [1/3]

#define I2C_CHECK_FLAG (   __ISR__,
  __FLAG__ 
)    ((((__ISR__) & ((__FLAG__) & I2C_FLAG_MASK)) == ((__FLAG__) & I2C_FLAG_MASK)) ? SET : RESET)

Definition at line 752 of file stm32f7xx_hal_i2c.h.

◆ I2C_CHECK_FLAG [2/3]

#define I2C_CHECK_FLAG (   __ISR__,
  __FLAG__ 
)    ((((__ISR__) & ((__FLAG__) & I2C_FLAG_MASK)) == ((__FLAG__) & I2C_FLAG_MASK)) ? SET : RESET)

◆ I2C_CHECK_FLAG [3/3]

#define I2C_CHECK_FLAG (   __ISR__,
  __FLAG__ 
)
Value:
((((__ISR__) & ((__FLAG__) & I2C_FLAG_MASK)) == \
((__FLAG__) & I2C_FLAG_MASK)) ? SET : RESET)

Definition at line 778 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h.

◆ I2C_CHECK_IT_SOURCE [1/3]

#define I2C_CHECK_IT_SOURCE (   __CR1__,
  __IT__ 
)    ((((__CR1__) & (__IT__)) == (__IT__)) ? SET : RESET)

◆ I2C_CHECK_IT_SOURCE [2/3]

#define I2C_CHECK_IT_SOURCE (   __CR1__,
  __IT__ 
)    ((((__CR1__) & (__IT__)) == (__IT__)) ? SET : RESET)

Definition at line 753 of file stm32f7xx_hal_i2c.h.

◆ I2C_CHECK_IT_SOURCE [3/3]

#define I2C_CHECK_IT_SOURCE (   __CR1__,
  __IT__ 
)    ((((__CR1__) & (__IT__)) == (__IT__)) ? SET : RESET)

◆ I2C_GENERATE_START [1/3]

#define I2C_GENERATE_START (   __ADDMODE__,
  __ADDRESS__ 
)
Value:
(((__ADDMODE__) == I2C_ADDRESSINGMODE_7BIT) ? (uint32_t)((((uint32_t)(__ADDRESS__) & (I2C_CR2_SADD)) | (I2C_CR2_START) | (I2C_CR2_AUTOEND)) & (~I2C_CR2_RD_WRN)) : \
(uint32_t)((((uint32_t)(__ADDRESS__) & (I2C_CR2_SADD)) | (I2C_CR2_ADD10) | (I2C_CR2_START)) & (~I2C_CR2_RD_WRN)))

Definition at line 749 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h.

◆ I2C_GENERATE_START [2/3]

#define I2C_GENERATE_START (   __ADDMODE__,
  __ADDRESS__ 
)
Value:
(((__ADDMODE__) == I2C_ADDRESSINGMODE_7BIT) ? (uint32_t)((((uint32_t)(__ADDRESS__) & (I2C_CR2_SADD)) | (I2C_CR2_START) | (I2C_CR2_AUTOEND)) & (~I2C_CR2_RD_WRN)) : \
(uint32_t)((((uint32_t)(__ADDRESS__) & (I2C_CR2_SADD)) | (I2C_CR2_ADD10) | (I2C_CR2_START)) & (~I2C_CR2_RD_WRN)))

Definition at line 749 of file stm32f7xx_hal_i2c.h.

◆ I2C_GENERATE_START [3/3]

#define I2C_GENERATE_START (   __ADDMODE__,
  __ADDRESS__ 
)
Value:
(((__ADDMODE__) == I2C_ADDRESSINGMODE_7BIT) ? (uint32_t)((((uint32_t)(__ADDRESS__) & (I2C_CR2_SADD)) | (I2C_CR2_START) | (I2C_CR2_AUTOEND)) & (~I2C_CR2_RD_WRN)) : \
(uint32_t)((((uint32_t)(__ADDRESS__) & (I2C_CR2_SADD)) | (I2C_CR2_ADD10) | (I2C_CR2_START)) & (~I2C_CR2_RD_WRN)))

Definition at line 775 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h.

◆ I2C_GET_ADDR_MATCH [1/3]

#define I2C_GET_ADDR_MATCH (   __HANDLE__)    ((uint16_t)(((__HANDLE__)->Instance->ISR & I2C_ISR_ADDCODE) >> 16U))

Definition at line 737 of file stm32f7xx_hal_i2c.h.

◆ I2C_GET_ADDR_MATCH [2/3]

#define I2C_GET_ADDR_MATCH (   __HANDLE__)    ((uint16_t)(((__HANDLE__)->Instance->ISR & I2C_ISR_ADDCODE) >> 16U))

◆ I2C_GET_ADDR_MATCH [3/3]

#define I2C_GET_ADDR_MATCH (   __HANDLE__)    ((uint16_t)(((__HANDLE__)->Instance->ISR & I2C_ISR_ADDCODE) >> 16U))

◆ I2C_GET_DIR [1/3]

#define I2C_GET_DIR (   __HANDLE__)    ((uint8_t)(((__HANDLE__)->Instance->ISR & I2C_ISR_DIR) >> 16U))

Definition at line 738 of file stm32f7xx_hal_i2c.h.

◆ I2C_GET_DIR [2/3]

#define I2C_GET_DIR (   __HANDLE__)    ((uint8_t)(((__HANDLE__)->Instance->ISR & I2C_ISR_DIR) >> 16U))

◆ I2C_GET_DIR [3/3]

#define I2C_GET_DIR (   __HANDLE__)    ((uint8_t)(((__HANDLE__)->Instance->ISR & I2C_ISR_DIR) >> 16U))

◆ I2C_GET_OWN_ADDRESS1 [1/3]

#define I2C_GET_OWN_ADDRESS1 (   __HANDLE__)    ((uint16_t)((__HANDLE__)->Instance->OAR1 & I2C_OAR1_OA1))

Definition at line 740 of file stm32f7xx_hal_i2c.h.

◆ I2C_GET_OWN_ADDRESS1 [2/3]

#define I2C_GET_OWN_ADDRESS1 (   __HANDLE__)    ((uint16_t)((__HANDLE__)->Instance->OAR1 & I2C_OAR1_OA1))

◆ I2C_GET_OWN_ADDRESS1 [3/3]

#define I2C_GET_OWN_ADDRESS1 (   __HANDLE__)    ((uint16_t)((__HANDLE__)->Instance->OAR1 & I2C_OAR1_OA1))

◆ I2C_GET_OWN_ADDRESS2 [1/3]

#define I2C_GET_OWN_ADDRESS2 (   __HANDLE__)    ((uint16_t)((__HANDLE__)->Instance->OAR2 & I2C_OAR2_OA2))

Definition at line 741 of file stm32f7xx_hal_i2c.h.

◆ I2C_GET_OWN_ADDRESS2 [2/3]

#define I2C_GET_OWN_ADDRESS2 (   __HANDLE__)    ((uint16_t)((__HANDLE__)->Instance->OAR2 & I2C_OAR2_OA2))

◆ I2C_GET_OWN_ADDRESS2 [3/3]

#define I2C_GET_OWN_ADDRESS2 (   __HANDLE__)    ((uint16_t)((__HANDLE__)->Instance->OAR2 & I2C_OAR2_OA2))

◆ I2C_GET_STOP_MODE [1/3]

#define I2C_GET_STOP_MODE (   __HANDLE__)    ((__HANDLE__)->Instance->CR2 & I2C_CR2_AUTOEND)

◆ I2C_GET_STOP_MODE [2/3]

#define I2C_GET_STOP_MODE (   __HANDLE__)    ((__HANDLE__)->Instance->CR2 & I2C_CR2_AUTOEND)

Definition at line 739 of file stm32f7xx_hal_i2c.h.

◆ I2C_GET_STOP_MODE [3/3]

#define I2C_GET_STOP_MODE (   __HANDLE__)    ((__HANDLE__)->Instance->CR2 & I2C_CR2_AUTOEND)

◆ I2C_MEM_ADD_LSB [1/3]

#define I2C_MEM_ADD_LSB (   __ADDRESS__)    ((uint8_t)((uint16_t)((__ADDRESS__) & (uint16_t)(0x00FFU))))

◆ I2C_MEM_ADD_LSB [2/3]

#define I2C_MEM_ADD_LSB (   __ADDRESS__)    ((uint8_t)((uint16_t)((__ADDRESS__) & (uint16_t)(0x00FFU))))

Definition at line 747 of file stm32f7xx_hal_i2c.h.

◆ I2C_MEM_ADD_LSB [3/3]

#define I2C_MEM_ADD_LSB (   __ADDRESS__)    ((uint8_t)((uint16_t)((__ADDRESS__) & (uint16_t)(0x00FFU))))

◆ I2C_MEM_ADD_MSB [1/3]

#define I2C_MEM_ADD_MSB (   __ADDRESS__)    ((uint8_t)((uint16_t)(((uint16_t)((__ADDRESS__) & (uint16_t)(0xFF00U))) >> 8U)))

Definition at line 746 of file stm32f7xx_hal_i2c.h.

◆ I2C_MEM_ADD_MSB [2/3]

#define I2C_MEM_ADD_MSB (   __ADDRESS__)    ((uint8_t)((uint16_t)(((uint16_t)((__ADDRESS__) & (uint16_t)(0xFF00U))) >> 8U)))

◆ I2C_MEM_ADD_MSB [3/3]

#define I2C_MEM_ADD_MSB (   __ADDRESS__)
Value:
((uint8_t)((uint16_t)(((uint16_t)((__ADDRESS__) & \
(uint16_t)(0xFF00U))) >> 8U)))

Definition at line 771 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h.

◆ I2C_RESET_CR2 [1/3]

#define I2C_RESET_CR2 (   __HANDLE__)    ((__HANDLE__)->Instance->CR2 &= (uint32_t)~((uint32_t)(I2C_CR2_SADD | I2C_CR2_HEAD10R | I2C_CR2_NBYTES | I2C_CR2_RELOAD | I2C_CR2_RD_WRN)))

Definition at line 735 of file stm32f7xx_hal_i2c.h.

◆ I2C_RESET_CR2 [2/3]

#define I2C_RESET_CR2 (   __HANDLE__)    ((__HANDLE__)->Instance->CR2 &= (uint32_t)~((uint32_t)(I2C_CR2_SADD | I2C_CR2_HEAD10R | I2C_CR2_NBYTES | I2C_CR2_RELOAD | I2C_CR2_RD_WRN)))

◆ I2C_RESET_CR2 [3/3]

#define I2C_RESET_CR2 (   __HANDLE__)
Value:
((__HANDLE__)->Instance->CR2 &= \

Definition at line 759 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h.

◆ IS_I2C_ADDRESSING_MODE [1/3]

#define IS_I2C_ADDRESSING_MODE (   MODE)
Value:
(((MODE) == I2C_ADDRESSINGMODE_7BIT) || \

Definition at line 691 of file stm32f7xx_hal_i2c.h.

◆ IS_I2C_ADDRESSING_MODE [2/3]

#define IS_I2C_ADDRESSING_MODE (   MODE)

◆ IS_I2C_ADDRESSING_MODE [3/3]

#define IS_I2C_ADDRESSING_MODE (   MODE)

◆ IS_I2C_DUAL_ADDRESS [1/3]

#define IS_I2C_DUAL_ADDRESS (   ADDRESS)
Value:
(((ADDRESS) == I2C_DUALADDRESS_DISABLE) || \
((ADDRESS) == I2C_DUALADDRESS_ENABLE))

Definition at line 694 of file stm32f7xx_hal_i2c.h.

◆ IS_I2C_DUAL_ADDRESS [2/3]

#define IS_I2C_DUAL_ADDRESS (   ADDRESS)

◆ IS_I2C_DUAL_ADDRESS [3/3]

#define IS_I2C_DUAL_ADDRESS (   ADDRESS)

◆ IS_I2C_GENERAL_CALL [1/3]

#define IS_I2C_GENERAL_CALL (   CALL)
Value:
(((CALL) == I2C_GENERALCALL_DISABLE) || \

Definition at line 706 of file stm32f7xx_hal_i2c.h.

◆ IS_I2C_GENERAL_CALL [2/3]

#define IS_I2C_GENERAL_CALL (   CALL)

◆ IS_I2C_GENERAL_CALL [3/3]

#define IS_I2C_GENERAL_CALL (   CALL)

◆ IS_I2C_MEMADD_SIZE [1/3]

#define IS_I2C_MEMADD_SIZE (   SIZE)

◆ IS_I2C_MEMADD_SIZE [2/3]

#define IS_I2C_MEMADD_SIZE (   SIZE)
Value:
(((SIZE) == I2C_MEMADD_SIZE_8BIT) || \
((SIZE) == I2C_MEMADD_SIZE_16BIT))

Definition at line 712 of file stm32f7xx_hal_i2c.h.

◆ IS_I2C_MEMADD_SIZE [3/3]

#define IS_I2C_MEMADD_SIZE (   SIZE)

◆ IS_I2C_NO_STRETCH [1/3]

#define IS_I2C_NO_STRETCH (   STRETCH)
Value:
(((STRETCH) == I2C_NOSTRETCH_DISABLE) || \
((STRETCH) == I2C_NOSTRETCH_ENABLE))

Definition at line 709 of file stm32f7xx_hal_i2c.h.

◆ IS_I2C_NO_STRETCH [2/3]

#define IS_I2C_NO_STRETCH (   STRETCH)

◆ IS_I2C_NO_STRETCH [3/3]

#define IS_I2C_NO_STRETCH (   STRETCH)

◆ IS_I2C_OWN_ADDRESS1 [1/3]

#define IS_I2C_OWN_ADDRESS1 (   ADDRESS1)    ((ADDRESS1) <= 0x000003FFU)

Definition at line 743 of file stm32f7xx_hal_i2c.h.

◆ IS_I2C_OWN_ADDRESS1 [2/3]

#define IS_I2C_OWN_ADDRESS1 (   ADDRESS1)    ((ADDRESS1) <= 0x000003FFU)

◆ IS_I2C_OWN_ADDRESS1 [3/3]

#define IS_I2C_OWN_ADDRESS1 (   ADDRESS1)    ((ADDRESS1) <= 0x000003FFU)

◆ IS_I2C_OWN_ADDRESS2 [1/3]

#define IS_I2C_OWN_ADDRESS2 (   ADDRESS2)    ((ADDRESS2) <= (uint16_t)0x00FFU)

◆ IS_I2C_OWN_ADDRESS2 [2/3]

#define IS_I2C_OWN_ADDRESS2 (   ADDRESS2)    ((ADDRESS2) <= (uint16_t)0x00FFU)

Definition at line 744 of file stm32f7xx_hal_i2c.h.

◆ IS_I2C_OWN_ADDRESS2 [3/3]

#define IS_I2C_OWN_ADDRESS2 (   ADDRESS2)    ((ADDRESS2) <= (uint16_t)0x00FFU)

◆ IS_I2C_OWN_ADDRESS2_MASK [1/3]

#define IS_I2C_OWN_ADDRESS2_MASK (   MASK)
Value:
(((MASK) == I2C_OA2_NOMASK) || \
((MASK) == I2C_OA2_MASK01) || \
((MASK) == I2C_OA2_MASK02) || \
((MASK) == I2C_OA2_MASK03) || \
((MASK) == I2C_OA2_MASK04) || \
((MASK) == I2C_OA2_MASK05) || \
((MASK) == I2C_OA2_MASK06) || \
((MASK) == I2C_OA2_MASK07))

Definition at line 697 of file stm32f7xx_hal_i2c.h.

◆ IS_I2C_OWN_ADDRESS2_MASK [2/3]

#define IS_I2C_OWN_ADDRESS2_MASK (   MASK)
Value:
(((MASK) == I2C_OA2_NOMASK) || \
((MASK) == I2C_OA2_MASK01) || \
((MASK) == I2C_OA2_MASK02) || \
((MASK) == I2C_OA2_MASK03) || \
((MASK) == I2C_OA2_MASK04) || \
((MASK) == I2C_OA2_MASK05) || \
((MASK) == I2C_OA2_MASK06) || \
((MASK) == I2C_OA2_MASK07))

Definition at line 697 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h.

◆ IS_I2C_OWN_ADDRESS2_MASK [3/3]

#define IS_I2C_OWN_ADDRESS2_MASK (   MASK)
Value:
(((MASK) == I2C_OA2_NOMASK) || \
((MASK) == I2C_OA2_MASK01) || \
((MASK) == I2C_OA2_MASK02) || \
((MASK) == I2C_OA2_MASK03) || \
((MASK) == I2C_OA2_MASK04) || \
((MASK) == I2C_OA2_MASK05) || \
((MASK) == I2C_OA2_MASK06) || \
((MASK) == I2C_OA2_MASK07))

Definition at line 721 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h.

◆ IS_I2C_TRANSFER_OPTIONS_REQUEST [1/3]

#define IS_I2C_TRANSFER_OPTIONS_REQUEST (   REQUEST)
Value:
(((REQUEST) == I2C_FIRST_FRAME) || \
((REQUEST) == I2C_FIRST_AND_NEXT_FRAME) || \
((REQUEST) == I2C_NEXT_FRAME) || \
((REQUEST) == I2C_FIRST_AND_LAST_FRAME) || \
((REQUEST) == I2C_LAST_FRAME) || \
((REQUEST) == I2C_LAST_FRAME_NO_STOP) || \
IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(REQUEST))

Definition at line 724 of file stm32f7xx_hal_i2c.h.

◆ IS_I2C_TRANSFER_OPTIONS_REQUEST [2/3]

#define IS_I2C_TRANSFER_OPTIONS_REQUEST (   REQUEST)
Value:
(((REQUEST) == I2C_FIRST_FRAME) || \
((REQUEST) == I2C_FIRST_AND_NEXT_FRAME) || \
((REQUEST) == I2C_NEXT_FRAME) || \
((REQUEST) == I2C_FIRST_AND_LAST_FRAME) || \
((REQUEST) == I2C_LAST_FRAME) || \
((REQUEST) == I2C_LAST_FRAME_NO_STOP) || \
IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(REQUEST))

Definition at line 724 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h.

◆ IS_I2C_TRANSFER_OPTIONS_REQUEST [3/3]

#define IS_I2C_TRANSFER_OPTIONS_REQUEST (   REQUEST)
Value:
(((REQUEST) == I2C_FIRST_FRAME) || \
((REQUEST) == I2C_FIRST_AND_NEXT_FRAME) || \
((REQUEST) == I2C_NEXT_FRAME) || \
((REQUEST) == I2C_FIRST_AND_LAST_FRAME) || \
((REQUEST) == I2C_LAST_FRAME) || \
((REQUEST) == I2C_LAST_FRAME_NO_STOP) || \
IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(REQUEST))

Definition at line 748 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h.

◆ IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST [1/3]

#define IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST (   REQUEST)

◆ IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST [2/3]

#define IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST (   REQUEST)
Value:
(((REQUEST) == I2C_OTHER_FRAME) || \
((REQUEST) == I2C_OTHER_AND_LAST_FRAME))

Definition at line 732 of file stm32f7xx_hal_i2c.h.

◆ IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST [3/3]

#define IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST (   REQUEST)

◆ IS_TRANSFER_MODE [1/3]

#define IS_TRANSFER_MODE (   MODE)
Value:
(((MODE) == I2C_RELOAD_MODE) || \
((MODE) == I2C_AUTOEND_MODE) || \
((MODE) == I2C_SOFTEND_MODE))

Definition at line 715 of file stm32f7xx_hal_i2c.h.

◆ IS_TRANSFER_MODE [2/3]

#define IS_TRANSFER_MODE (   MODE)
Value:
(((MODE) == I2C_RELOAD_MODE) || \
((MODE) == I2C_AUTOEND_MODE) || \
((MODE) == I2C_SOFTEND_MODE))

Definition at line 715 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h.

◆ IS_TRANSFER_MODE [3/3]

#define IS_TRANSFER_MODE (   MODE)
Value:
(((MODE) == I2C_RELOAD_MODE) || \
((MODE) == I2C_AUTOEND_MODE) || \
((MODE) == I2C_SOFTEND_MODE))

Definition at line 739 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h.

◆ IS_TRANSFER_REQUEST [1/3]

#define IS_TRANSFER_REQUEST (   REQUEST)
Value:
(((REQUEST) == I2C_GENERATE_STOP) || \
((REQUEST) == I2C_GENERATE_START_READ) || \
((REQUEST) == I2C_GENERATE_START_WRITE) || \
((REQUEST) == I2C_NO_STARTSTOP))

Definition at line 719 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h.

◆ IS_TRANSFER_REQUEST [2/3]

#define IS_TRANSFER_REQUEST (   REQUEST)
Value:
(((REQUEST) == I2C_GENERATE_STOP) || \
((REQUEST) == I2C_GENERATE_START_READ) || \
((REQUEST) == I2C_GENERATE_START_WRITE) || \
((REQUEST) == I2C_NO_STARTSTOP))

Definition at line 719 of file stm32f7xx_hal_i2c.h.

◆ IS_TRANSFER_REQUEST [3/3]

#define IS_TRANSFER_REQUEST (   REQUEST)
Value:
(((REQUEST) == I2C_GENERATE_STOP) || \
((REQUEST) == I2C_GENERATE_START_READ) || \
((REQUEST) == I2C_GENERATE_START_WRITE) || \
((REQUEST) == I2C_NO_STARTSTOP))

Definition at line 743 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h.

I2C_NOSTRETCH_DISABLE
#define I2C_NOSTRETCH_DISABLE
Definition: stm32f7xx_hal_i2c.h:343
I2C_GENERATE_START_READ
#define I2C_GENERATE_START_READ
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h:382
I2C_OA2_MASK01
#define I2C_OA2_MASK01
Definition: stm32f7xx_hal_i2c.h:320
I2C_OA2_NOMASK
#define I2C_OA2_NOMASK
Definition: stm32f7xx_hal_i2c.h:319
I2C_CR2_RD_WRN
#define I2C_CR2_RD_WRN
Definition: stm32f769xx.h:9896
I2C_FLAG_MASK
#define I2C_FLAG_MASK
Check whether the specified I2C flag is set or not.
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h:524
I2C_CR2_NBYTES
#define I2C_CR2_NBYTES
Definition: stm32f769xx.h:9914
I2C_ADDRESSINGMODE_7BIT
#define I2C_ADDRESSINGMODE_7BIT
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h:301
I2C_NO_STARTSTOP
#define I2C_NO_STARTSTOP
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h:380
I2C_CR2_HEAD10R
#define I2C_CR2_HEAD10R
Definition: stm32f769xx.h:9902
I2C_DUALADDRESS_ENABLE
#define I2C_DUALADDRESS_ENABLE
Definition: stm32f7xx_hal_i2c.h:311
I2C_OA2_MASK05
#define I2C_OA2_MASK05
Definition: stm32f7xx_hal_i2c.h:324
I2C_GENERATE_START_WRITE
#define I2C_GENERATE_START_WRITE
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h:383
I2C_AUTOEND_MODE
#define I2C_AUTOEND_MODE
Definition: stm32f7xx_hal_i2c.h:371
I2C_MEMADD_SIZE_8BIT
#define I2C_MEMADD_SIZE_8BIT
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h:352
I2C_OA2_MASK03
#define I2C_OA2_MASK03
Definition: stm32f7xx_hal_i2c.h:322
I2C_FIRST_FRAME
#define I2C_FIRST_FRAME
Definition: stm32f7xx_hal_i2c.h:282
I2C_GENERALCALL_ENABLE
#define I2C_GENERALCALL_ENABLE
Definition: stm32f7xx_hal_i2c.h:335
I2C_NEXT_FRAME
#define I2C_NEXT_FRAME
Definition: stm32f7xx_hal_i2c.h:284
I2C_OTHER_FRAME
#define I2C_OTHER_FRAME
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h:292
I2C_OA2_MASK02
#define I2C_OA2_MASK02
Definition: stm32f7xx_hal_i2c.h:321
I2C_OA2_MASK06
#define I2C_OA2_MASK06
Definition: stm32f7xx_hal_i2c.h:325
I2C_OA2_MASK04
#define I2C_OA2_MASK04
Definition: stm32f7xx_hal_i2c.h:323
I2C_GENERATE_STOP
#define I2C_GENERATE_STOP
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h:381
I2C_LAST_FRAME
#define I2C_LAST_FRAME
Definition: stm32f7xx_hal_i2c.h:286
RESET
@ RESET
Definition: stm32f407/stm32f407g-disc1/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:187
I2C_RELOAD_MODE
#define I2C_RELOAD_MODE
Definition: stm32f7xx_hal_i2c.h:370
I2C_CR2_ADD10
#define I2C_CR2_ADD10
Definition: stm32f769xx.h:9899
I2C_CR2_SADD
#define I2C_CR2_SADD
Definition: stm32f769xx.h:9893
I2C_SOFTEND_MODE
#define I2C_SOFTEND_MODE
Definition: stm32f7xx_hal_i2c.h:372
I2C_MEMADD_SIZE_16BIT
#define I2C_MEMADD_SIZE_16BIT
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h:353
I2C_FIRST_AND_LAST_FRAME
#define I2C_FIRST_AND_LAST_FRAME
Definition: stm32f7xx_hal_i2c.h:285
I2C_NOSTRETCH_ENABLE
#define I2C_NOSTRETCH_ENABLE
Definition: stm32f7xx_hal_i2c.h:344
SET
@ SET
Definition: stm32f407/stm32f407g-disc1/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:188
I2C_CR2_START
#define I2C_CR2_START
Definition: stm32f769xx.h:9905
I2C_CR2_RELOAD
#define I2C_CR2_RELOAD
Definition: stm32f769xx.h:9917
I2C_DUALADDRESS_DISABLE
#define I2C_DUALADDRESS_DISABLE
Definition: stm32f7xx_hal_i2c.h:310
I2C_FIRST_AND_NEXT_FRAME
#define I2C_FIRST_AND_NEXT_FRAME
Definition: stm32f7xx_hal_i2c.h:283
I2C_CR2_AUTOEND
#define I2C_CR2_AUTOEND
Definition: stm32f769xx.h:9920
I2C_GENERALCALL_DISABLE
#define I2C_GENERALCALL_DISABLE
Definition: stm32f7xx_hal_i2c.h:334
I2C_LAST_FRAME_NO_STOP
#define I2C_LAST_FRAME_NO_STOP
Definition: stm32f7xx_hal_i2c.h:287
I2C_OA2_MASK07
#define I2C_OA2_MASK07
Definition: stm32f7xx_hal_i2c.h:326
I2C_OTHER_AND_LAST_FRAME
#define I2C_OTHER_AND_LAST_FRAME
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_i2c.h:293
I2C_ADDRESSINGMODE_10BIT
#define I2C_ADDRESSINGMODE_10BIT
Definition: stm32f7xx_hal_i2c.h:302


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:08