◆ IS_SMBUS_ADDRESSING_MODE
#define IS_SMBUS_ADDRESSING_MODE |
( |
|
MODE | ) |
|
◆ IS_SMBUS_ANALOG_FILTER
#define IS_SMBUS_ANALOG_FILTER |
( |
|
FILTER | ) |
|
◆ IS_SMBUS_DIGITAL_FILTER
#define IS_SMBUS_DIGITAL_FILTER |
( |
|
FILTER | ) |
((FILTER) <= 0x0000000FU) |
◆ IS_SMBUS_DUAL_ADDRESS
#define IS_SMBUS_DUAL_ADDRESS |
( |
|
ADDRESS | ) |
|
◆ IS_SMBUS_GENERAL_CALL
#define IS_SMBUS_GENERAL_CALL |
( |
|
CALL | ) |
|
◆ IS_SMBUS_NO_STRETCH
#define IS_SMBUS_NO_STRETCH |
( |
|
STRETCH | ) |
|
◆ IS_SMBUS_OWN_ADDRESS1
#define IS_SMBUS_OWN_ADDRESS1 |
( |
|
ADDRESS1 | ) |
((ADDRESS1) <= 0x000003FFU) |
◆ IS_SMBUS_OWN_ADDRESS2
#define IS_SMBUS_OWN_ADDRESS2 |
( |
|
ADDRESS2 | ) |
((ADDRESS2) <= (uint16_t)0x00FFU) |
◆ IS_SMBUS_OWN_ADDRESS2_MASK
#define IS_SMBUS_OWN_ADDRESS2_MASK |
( |
|
MASK | ) |
|
◆ IS_SMBUS_PEC
#define IS_SMBUS_PEC |
( |
|
PEC | ) |
|
◆ IS_SMBUS_PERIPHERAL_MODE
#define IS_SMBUS_PERIPHERAL_MODE |
( |
|
MODE | ) |
|
◆ IS_SMBUS_TRANSFER_MODE
#define IS_SMBUS_TRANSFER_MODE |
( |
|
MODE | ) |
|
◆ IS_SMBUS_TRANSFER_OPTIONS_REQUEST
#define IS_SMBUS_TRANSFER_OPTIONS_REQUEST |
( |
|
REQUEST | ) |
|
◆ IS_SMBUS_TRANSFER_OTHER_OPTIONS_REQUEST
#define IS_SMBUS_TRANSFER_OTHER_OPTIONS_REQUEST |
( |
|
REQUEST | ) |
|
◆ IS_SMBUS_TRANSFER_REQUEST
#define IS_SMBUS_TRANSFER_REQUEST |
( |
|
REQUEST | ) |
|
◆ SMBUS_CHECK_FLAG
◆ SMBUS_CHECK_IT_SOURCE
#define SMBUS_CHECK_IT_SOURCE |
( |
|
__CR1__, |
|
|
|
__IT__ |
|
) |
| ((((__CR1__) & (__IT__)) == (__IT__)) ? SET : RESET) |
◆ SMBUS_GENERATE_START
#define SMBUS_GENERATE_START |
( |
|
__ADDMODE__, |
|
|
|
__ADDRESS__ |
|
) |
| |
◆ SMBUS_GET_ADDR_MATCH
#define SMBUS_GET_ADDR_MATCH |
( |
|
__HANDLE__ | ) |
(((__HANDLE__)->Instance->ISR & I2C_ISR_ADDCODE) >> 17U) |
◆ SMBUS_GET_ALERT_ENABLED
#define SMBUS_GET_ALERT_ENABLED |
( |
|
__HANDLE__ | ) |
((__HANDLE__)->Instance->CR1 & I2C_CR1_ALERTEN) |
◆ SMBUS_GET_DIR
#define SMBUS_GET_DIR |
( |
|
__HANDLE__ | ) |
(((__HANDLE__)->Instance->ISR & I2C_ISR_DIR) >> 16U) |
◆ SMBUS_GET_PEC_MODE
#define SMBUS_GET_PEC_MODE |
( |
|
__HANDLE__ | ) |
((__HANDLE__)->Instance->CR2 & I2C_CR2_PECBYTE) |
◆ SMBUS_GET_STOP_MODE
#define SMBUS_GET_STOP_MODE |
( |
|
__HANDLE__ | ) |
((__HANDLE__)->Instance->CR2 & I2C_CR2_AUTOEND) |
◆ SMBUS_RESET_CR1
◆ SMBUS_RESET_CR2
#define SMBUS_ANALOGFILTER_ENABLE
#define SMBUS_ADDRESSINGMODE_7BIT
#define SMBUS_OTHER_FRAME_WITH_PEC
#define IS_SMBUS_TRANSFER_OTHER_OPTIONS_REQUEST(REQUEST)
#define SMBUS_GENERALCALL_ENABLE
#define SMBUS_OTHER_AND_LAST_FRAME_NO_PEC
#define SMBUS_GENERATE_STOP
#define SMBUS_LAST_FRAME_WITH_PEC
#define SMBUS_ADDRESSINGMODE_10BIT
#define SMBUS_FIRST_AND_LAST_FRAME_NO_PEC
#define SMBUS_FIRST_AND_LAST_FRAME_WITH_PEC
#define SMBUS_FIRST_FRAME
#define SMBUS_GENERATE_START_READ
#define SMBUS_OTHER_AND_LAST_FRAME_WITH_PEC
#define SMBUS_SOFTEND_MODE
#define SMBUS_NO_STARTSTOP
#define SMBUS_PERIPHERAL_MODE_SMBUS_SLAVE_ARP
#define SMBUS_PERIPHERAL_MODE_SMBUS_HOST
#define SMBUS_GENERATE_START_WRITE
#define SMBUS_GENERALCALL_DISABLE
#define SMBUS_SENDPEC_MODE
#define SMBUS_DUALADDRESS_DISABLE
#define SMBUS_DUALADDRESS_ENABLE
#define SMBUS_NOSTRETCH_DISABLE
#define SMBUS_PEC_DISABLE
#define SMBUS_LAST_FRAME_NO_PEC
#define SMBUS_NOSTRETCH_ENABLE
#define SMBUS_ANALOGFILTER_DISABLE
#define SMBUS_OTHER_FRAME_NO_PEC
#define SMBUS_AUTOEND_MODE
#define SMBUS_PERIPHERAL_MODE_SMBUS_SLAVE
#define SMBUS_RELOAD_MODE