RTEMS 6.1-rc5
|
Macros | |
#define | IS_SMBUS_ANALOG_FILTER(FILTER) |
#define | IS_SMBUS_DIGITAL_FILTER(FILTER) ((FILTER) <= 0x0000000FU) |
#define | IS_SMBUS_ADDRESSING_MODE(MODE) |
#define | IS_SMBUS_DUAL_ADDRESS(ADDRESS) |
#define | IS_SMBUS_OWN_ADDRESS2_MASK(MASK) |
#define | IS_SMBUS_GENERAL_CALL(CALL) |
#define | IS_SMBUS_NO_STRETCH(STRETCH) |
#define | IS_SMBUS_PEC(PEC) |
#define | IS_SMBUS_PERIPHERAL_MODE(MODE) |
#define | IS_SMBUS_TRANSFER_MODE(MODE) |
#define | IS_SMBUS_TRANSFER_REQUEST(REQUEST) |
#define | IS_SMBUS_TRANSFER_OPTIONS_REQUEST(REQUEST) |
#define | IS_SMBUS_TRANSFER_OTHER_OPTIONS_REQUEST(REQUEST) |
#define | SMBUS_RESET_CR1(__HANDLE__) |
#define | SMBUS_RESET_CR2(__HANDLE__) |
#define | SMBUS_GENERATE_START(__ADDMODE__, __ADDRESS__) |
#define | SMBUS_GET_ADDR_MATCH(__HANDLE__) (((__HANDLE__)->Instance->ISR & I2C_ISR_ADDCODE) >> 17U) |
#define | SMBUS_GET_DIR(__HANDLE__) (((__HANDLE__)->Instance->ISR & I2C_ISR_DIR) >> 16U) |
#define | SMBUS_GET_STOP_MODE(__HANDLE__) ((__HANDLE__)->Instance->CR2 & I2C_CR2_AUTOEND) |
#define | SMBUS_GET_PEC_MODE(__HANDLE__) ((__HANDLE__)->Instance->CR2 & I2C_CR2_PECBYTE) |
#define | SMBUS_GET_ALERT_ENABLED(__HANDLE__) ((__HANDLE__)->Instance->CR1 & I2C_CR1_ALERTEN) |
#define | SMBUS_CHECK_FLAG(__ISR__, __FLAG__) |
#define | SMBUS_CHECK_IT_SOURCE(__CR1__, __IT__) ((((__CR1__) & (__IT__)) == (__IT__)) ? SET : RESET) |
#define | IS_SMBUS_OWN_ADDRESS1(ADDRESS1) ((ADDRESS1) <= 0x000003FFU) |
#define | IS_SMBUS_OWN_ADDRESS2(ADDRESS2) ((ADDRESS2) <= (uint16_t)0x00FFU) |
#define IS_SMBUS_ADDRESSING_MODE | ( | MODE | ) |
#define IS_SMBUS_ANALOG_FILTER | ( | FILTER | ) |
#define IS_SMBUS_DUAL_ADDRESS | ( | ADDRESS | ) |
#define IS_SMBUS_GENERAL_CALL | ( | CALL | ) |
#define IS_SMBUS_NO_STRETCH | ( | STRETCH | ) |
#define IS_SMBUS_OWN_ADDRESS2_MASK | ( | MASK | ) |
#define IS_SMBUS_PEC | ( | PEC | ) |
#define IS_SMBUS_PERIPHERAL_MODE | ( | MODE | ) |
#define IS_SMBUS_TRANSFER_MODE | ( | MODE | ) |
#define IS_SMBUS_TRANSFER_OPTIONS_REQUEST | ( | REQUEST | ) |
#define IS_SMBUS_TRANSFER_OTHER_OPTIONS_REQUEST | ( | REQUEST | ) |
#define IS_SMBUS_TRANSFER_REQUEST | ( | REQUEST | ) |
#define SMBUS_CHECK_FLAG | ( | __ISR__, | |
__FLAG__ | |||
) |
#define SMBUS_GENERATE_START | ( | __ADDMODE__, | |
__ADDRESS__ | |||
) |
#define SMBUS_RESET_CR1 | ( | __HANDLE__ | ) |
#define SMBUS_RESET_CR2 | ( | __HANDLE__ | ) |