RTEMS 6.1-rc2
|
Macros | |
#define | IS_I2C_ADDRESSING_MODE(MODE) |
#define | IS_I2C_DUAL_ADDRESS(ADDRESS) |
#define | IS_I2C_OWN_ADDRESS2_MASK(MASK) |
#define | IS_I2C_GENERAL_CALL(CALL) |
#define | IS_I2C_NO_STRETCH(STRETCH) |
#define | IS_I2C_MEMADD_SIZE(SIZE) |
#define | IS_TRANSFER_MODE(MODE) |
#define | IS_TRANSFER_REQUEST(REQUEST) |
#define | IS_I2C_TRANSFER_OPTIONS_REQUEST(REQUEST) |
#define | IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(REQUEST) |
#define | I2C_RESET_CR2(__HANDLE__) |
#define | I2C_GET_ADDR_MATCH(__HANDLE__) |
#define | I2C_GET_DIR(__HANDLE__) |
#define | I2C_GET_STOP_MODE(__HANDLE__) ((__HANDLE__)->Instance->CR2 & I2C_CR2_AUTOEND) |
#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 | IS_I2C_OWN_ADDRESS1(ADDRESS1) ((ADDRESS1) <= 0x000003FFU) |
#define | IS_I2C_OWN_ADDRESS2(ADDRESS2) ((ADDRESS2) <= (uint16_t)0x00FFU) |
#define | I2C_MEM_ADD_MSB(__ADDRESS__) |
#define | I2C_MEM_ADD_LSB(__ADDRESS__) ((uint8_t)((uint16_t)((__ADDRESS__) & (uint16_t)(0x00FFU)))) |
#define | I2C_GENERATE_START(__ADDMODE__, __ADDRESS__) |
#define | I2C_CHECK_FLAG(__ISR__, __FLAG__) |
#define | I2C_CHECK_IT_SOURCE(__CR1__, __IT__) ((((__CR1__) & (__IT__)) == (__IT__)) ? SET : RESET) |
#define I2C_CHECK_FLAG | ( | __ISR__, | |
__FLAG__ | |||
) |
#define I2C_GENERATE_START | ( | __ADDMODE__, | |
__ADDRESS__ | |||
) |
#define I2C_GET_ADDR_MATCH | ( | __HANDLE__ | ) |
#define I2C_GET_DIR | ( | __HANDLE__ | ) |
#define I2C_MEM_ADD_MSB | ( | __ADDRESS__ | ) |
#define I2C_RESET_CR2 | ( | __HANDLE__ | ) |
#define IS_I2C_ADDRESSING_MODE | ( | MODE | ) |
#define IS_I2C_DUAL_ADDRESS | ( | ADDRESS | ) |
#define IS_I2C_GENERAL_CALL | ( | CALL | ) |
#define IS_I2C_MEMADD_SIZE | ( | SIZE | ) |
#define IS_I2C_NO_STRETCH | ( | STRETCH | ) |
#define IS_I2C_OWN_ADDRESS2_MASK | ( | MASK | ) |
#define IS_I2C_TRANSFER_OPTIONS_REQUEST | ( | REQUEST | ) |
#define IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST | ( | REQUEST | ) |
#define IS_TRANSFER_MODE | ( | MODE | ) |
#define IS_TRANSFER_REQUEST | ( | REQUEST | ) |