#define __STM32F4xx_HAL_I2C_H
Includes
#include "stm32f4xx_hal_def.h"
Exported types
I2C_InitTypeDef
ClockSpeed
DutyCycle
OwnAddress1
AddressingMode
DualAddressMode
OwnAddress2
GeneralCallMode
NoStretchMode
HAL_I2C_StateTypeDef
HAL_I2C_STATE_RESET
HAL_I2C_STATE_READY
HAL_I2C_STATE_BUSY
HAL_I2C_STATE_BUSY_TX
HAL_I2C_STATE_BUSY_RX
HAL_I2C_STATE_LISTEN
HAL_I2C_STATE_BUSY_TX_LISTEN
HAL_I2C_STATE_BUSY_RX_LISTEN
HAL_I2C_STATE_ABORT
HAL_I2C_STATE_TIMEOUT
HAL_I2C_STATE_ERROR
HAL_I2C_ModeTypeDef
HAL_I2C_MODE_NONE
HAL_I2C_MODE_MASTER
HAL_I2C_MODE_SLAVE
HAL_I2C_MODE_MEM
#define HAL_I2C_ERROR_NONE
#define HAL_I2C_ERROR_BERR
#define HAL_I2C_ERROR_ARLO
#define HAL_I2C_ERROR_AF
#define HAL_I2C_ERROR_OVR
#define HAL_I2C_ERROR_DMA
#define HAL_I2C_ERROR_TIMEOUT
#define HAL_I2C_ERROR_SIZE
#define HAL_I2C_ERROR_DMA_PARAM
#define HAL_I2C_WRONG_START
#define HAL_I2C_ERROR_INVALID_CALLBACK
I2C_HandleTypeDef
Instance
Init
pBuffPtr
XferSize
XferCount
XferOptions
PreviousState
hdmatx
hdmarx
Lock
State
Mode
ErrorCode
Devaddress
Memaddress
MemaddSize
EventCount
Exported constants
#define I2C_DUTYCYCLE_2
#define I2C_DUTYCYCLE_16_9
#define I2C_ADDRESSINGMODE_7BIT
#define I2C_ADDRESSINGMODE_10BIT
#define I2C_DUALADDRESS_DISABLE
#define I2C_DUALADDRESS_ENABLE
#define I2C_GENERALCALL_DISABLE
#define I2C_GENERALCALL_ENABLE
#define I2C_NOSTRETCH_DISABLE
#define I2C_NOSTRETCH_ENABLE
#define I2C_MEMADD_SIZE_8BIT
#define I2C_MEMADD_SIZE_16BIT
#define I2C_DIRECTION_RECEIVE
#define I2C_DIRECTION_TRANSMIT
#define I2C_FIRST_FRAME
#define I2C_FIRST_AND_NEXT_FRAME
#define I2C_NEXT_FRAME
#define I2C_FIRST_AND_LAST_FRAME
#define I2C_LAST_FRAME_NO_STOP
#define I2C_LAST_FRAME
#define I2C_OTHER_FRAME
#define I2C_OTHER_AND_LAST_FRAME
#define I2C_IT_BUF
#define I2C_IT_EVT
#define I2C_IT_ERR
#define I2C_FLAG_OVR
#define I2C_FLAG_AF
#define I2C_FLAG_ARLO
#define I2C_FLAG_BERR
#define I2C_FLAG_TXE
#define I2C_FLAG_RXNE
#define I2C_FLAG_STOPF
#define I2C_FLAG_ADD10
#define I2C_FLAG_BTF
#define I2C_FLAG_ADDR
#define I2C_FLAG_SB
#define I2C_FLAG_DUALF
#define I2C_FLAG_GENCALL
#define I2C_FLAG_TRA
#define I2C_FLAG_BUSY
#define I2C_FLAG_MSL
Exported macros
#define __HAL_I2C_RESET_HANDLE_STATE
#define __HAL_I2C_ENABLE_IT
#define __HAL_I2C_DISABLE_IT
#define __HAL_I2C_GET_IT_SOURCE
#define __HAL_I2C_CLEAR_FLAG
#define __HAL_I2C_ENABLE
#define __HAL_I2C_DISABLE
#include "stm32f4xx_hal_i2c_ex.h"
Exported functions
HAL_I2C_Init(I2C_HandleTypeDef *);
HAL_I2C_DeInit(I2C_HandleTypeDef *);
HAL_I2C_MspInit(I2C_HandleTypeDef *);
HAL_I2C_MspDeInit(I2C_HandleTypeDef *);
HAL_I2C_Master_Transmit(I2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_I2C_Master_Receive(I2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_I2C_Slave_Transmit(I2C_HandleTypeDef *, uint8_t *, uint16_t, uint32_t);
HAL_I2C_Slave_Receive(I2C_HandleTypeDef *, uint8_t *, uint16_t, uint32_t);
HAL_I2C_Mem_Write(I2C_HandleTypeDef *, uint16_t, uint16_t, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_I2C_Mem_Read(I2C_HandleTypeDef *, uint16_t, uint16_t, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_I2C_IsDeviceReady(I2C_HandleTypeDef *, uint16_t, uint32_t, uint32_t);
HAL_I2C_Master_Transmit_IT(I2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t);
HAL_I2C_Master_Receive_IT(I2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t);
HAL_I2C_Slave_Transmit_IT(I2C_HandleTypeDef *, uint8_t *, uint16_t);
HAL_I2C_Slave_Receive_IT(I2C_HandleTypeDef *, uint8_t *, uint16_t);
HAL_I2C_Mem_Write_IT(I2C_HandleTypeDef *, uint16_t, uint16_t, uint16_t, uint8_t *, uint16_t);
HAL_I2C_Mem_Read_IT(I2C_HandleTypeDef *, uint16_t, uint16_t, uint16_t, uint8_t *, uint16_t);
HAL_I2C_Master_Seq_Transmit_IT(I2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_I2C_Master_Seq_Receive_IT(I2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_I2C_Slave_Seq_Transmit_IT(I2C_HandleTypeDef *, uint8_t *, uint16_t, uint32_t);
HAL_I2C_Slave_Seq_Receive_IT(I2C_HandleTypeDef *, uint8_t *, uint16_t, uint32_t);
HAL_I2C_EnableListen_IT(I2C_HandleTypeDef *);
HAL_I2C_DisableListen_IT(I2C_HandleTypeDef *);
HAL_I2C_Master_Abort_IT(I2C_HandleTypeDef *, uint16_t);
HAL_I2C_Master_Transmit_DMA(I2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t);
HAL_I2C_Master_Receive_DMA(I2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t);
HAL_I2C_Slave_Transmit_DMA(I2C_HandleTypeDef *, uint8_t *, uint16_t);
HAL_I2C_Slave_Receive_DMA(I2C_HandleTypeDef *, uint8_t *, uint16_t);
HAL_I2C_Mem_Write_DMA(I2C_HandleTypeDef *, uint16_t, uint16_t, uint16_t, uint8_t *, uint16_t);
HAL_I2C_Mem_Read_DMA(I2C_HandleTypeDef *, uint16_t, uint16_t, uint16_t, uint8_t *, uint16_t);
HAL_I2C_Master_Seq_Transmit_DMA(I2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_I2C_Master_Seq_Receive_DMA(I2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_I2C_Slave_Seq_Transmit_DMA(I2C_HandleTypeDef *, uint8_t *, uint16_t, uint32_t);
HAL_I2C_Slave_Seq_Receive_DMA(I2C_HandleTypeDef *, uint8_t *, uint16_t, uint32_t);
HAL_I2C_EV_IRQHandler(I2C_HandleTypeDef *);
HAL_I2C_ER_IRQHandler(I2C_HandleTypeDef *);
HAL_I2C_MasterTxCpltCallback(I2C_HandleTypeDef *);
HAL_I2C_MasterRxCpltCallback(I2C_HandleTypeDef *);
HAL_I2C_SlaveTxCpltCallback(I2C_HandleTypeDef *);
HAL_I2C_SlaveRxCpltCallback(I2C_HandleTypeDef *);
HAL_I2C_AddrCallback(I2C_HandleTypeDef *, uint8_t, uint16_t);
HAL_I2C_ListenCpltCallback(I2C_HandleTypeDef *);
HAL_I2C_MemTxCpltCallback(I2C_HandleTypeDef *);
HAL_I2C_MemRxCpltCallback(I2C_HandleTypeDef *);
HAL_I2C_ErrorCallback(I2C_HandleTypeDef *);
HAL_I2C_AbortCpltCallback(I2C_HandleTypeDef *);
HAL_I2C_GetState(I2C_HandleTypeDef *);
HAL_I2C_GetMode(I2C_HandleTypeDef *);
HAL_I2C_GetError(I2C_HandleTypeDef *);
#define I2C_FLAG_MASK
#define I2C_MIN_PCLK_FREQ_STANDARD
#define I2C_MIN_PCLK_FREQ_FAST
#define I2C_MIN_PCLK_FREQ
#define I2C_CCR_CALCULATION
#define I2C_FREQRANGE
#define I2C_RISE_TIME
#define I2C_SPEED_STANDARD
#define I2C_SPEED_FAST
#define I2C_7BIT_ADD_WRITE
#define I2C_7BIT_ADD_READ
#define I2C_10BIT_ADDRESS
#define I2C_10BIT_HEADER_WRITE
#define I2C_10BIT_HEADER_READ
#define I2C_MEM_ADD_MSB
#define I2C_MEM_ADD_LSB
#define IS_I2C_CLOCK_SPEED
#define IS_I2C_OWN_ADDRESS1
#define IS_I2C_OWN_ADDRESS2
#define I2C_CHECK_FLAG
#define I2C_CHECK_IT_SOURCE