#define STM32F4xx_HAL_FMPI2C_H
Includes
#include "stm32f4xx_hal_def.h"
Exported types
FMPI2C_InitTypeDef
Timing
OwnAddress1
AddressingMode
DualAddressMode
OwnAddress2
OwnAddress2Masks
GeneralCallMode
NoStretchMode
HAL_FMPI2C_StateTypeDef
HAL_FMPI2C_STATE_RESET
HAL_FMPI2C_STATE_READY
HAL_FMPI2C_STATE_BUSY
HAL_FMPI2C_STATE_BUSY_TX
HAL_FMPI2C_STATE_BUSY_RX
HAL_FMPI2C_STATE_LISTEN
HAL_FMPI2C_STATE_BUSY_TX_LISTEN
HAL_FMPI2C_STATE_BUSY_RX_LISTEN
HAL_FMPI2C_STATE_ABORT
HAL_FMPI2C_ModeTypeDef
HAL_FMPI2C_MODE_NONE
HAL_FMPI2C_MODE_MASTER
HAL_FMPI2C_MODE_SLAVE
HAL_FMPI2C_MODE_MEM
#define HAL_FMPI2C_ERROR_NONE
#define HAL_FMPI2C_ERROR_BERR
#define HAL_FMPI2C_ERROR_ARLO
#define HAL_FMPI2C_ERROR_AF
#define HAL_FMPI2C_ERROR_OVR
#define HAL_FMPI2C_ERROR_DMA
#define HAL_FMPI2C_ERROR_TIMEOUT
#define HAL_FMPI2C_ERROR_SIZE
#define HAL_FMPI2C_ERROR_DMA_PARAM
#define HAL_FMPI2C_ERROR_INVALID_CALLBACK
#define HAL_FMPI2C_ERROR_INVALID_PARAM
__FMPI2C_HandleTypeDef
Instance
Init
pBuffPtr
XferSize
XferCount
XferOptions
PreviousState
XferISR
hdmatx
hdmarx
Lock
State
Mode
ErrorCode
AddrEventCount
Devaddress
Memaddress
Exported constants
#define FMPI2C_FIRST_FRAME
#define FMPI2C_FIRST_AND_NEXT_FRAME
#define FMPI2C_NEXT_FRAME
#define FMPI2C_FIRST_AND_LAST_FRAME
#define FMPI2C_LAST_FRAME
#define FMPI2C_LAST_FRAME_NO_STOP
#define FMPI2C_OTHER_FRAME
#define FMPI2C_OTHER_AND_LAST_FRAME
#define FMPI2C_ADDRESSINGMODE_7BIT
#define FMPI2C_ADDRESSINGMODE_10BIT
#define FMPI2C_DUALADDRESS_DISABLE
#define FMPI2C_DUALADDRESS_ENABLE
#define FMPI2C_OA2_NOMASK
#define FMPI2C_OA2_MASK01
#define FMPI2C_OA2_MASK02
#define FMPI2C_OA2_MASK03
#define FMPI2C_OA2_MASK04
#define FMPI2C_OA2_MASK05
#define FMPI2C_OA2_MASK06
#define FMPI2C_OA2_MASK07
#define FMPI2C_GENERALCALL_DISABLE
#define FMPI2C_GENERALCALL_ENABLE
#define FMPI2C_NOSTRETCH_DISABLE
#define FMPI2C_NOSTRETCH_ENABLE
#define FMPI2C_MEMADD_SIZE_8BIT
#define FMPI2C_MEMADD_SIZE_16BIT
#define FMPI2C_DIRECTION_TRANSMIT
#define FMPI2C_DIRECTION_RECEIVE
#define FMPI2C_RELOAD_MODE
#define FMPI2C_AUTOEND_MODE
#define FMPI2C_SOFTEND_MODE
#define FMPI2C_NO_STARTSTOP
#define FMPI2C_GENERATE_STOP
#define FMPI2C_GENERATE_START_READ
#define FMPI2C_GENERATE_START_WRITE
#define FMPI2C_IT_ERRI
#define FMPI2C_IT_TCI
#define FMPI2C_IT_STOPI
#define FMPI2C_IT_NACKI
#define FMPI2C_IT_ADDRI
#define FMPI2C_IT_RXI
#define FMPI2C_IT_TXI
#define FMPI2C_FLAG_TXE
#define FMPI2C_FLAG_TXIS
#define FMPI2C_FLAG_RXNE
#define FMPI2C_FLAG_ADDR
#define FMPI2C_FLAG_AF
#define FMPI2C_FLAG_STOPF
#define FMPI2C_FLAG_TC
#define FMPI2C_FLAG_TCR
#define FMPI2C_FLAG_BERR
#define FMPI2C_FLAG_ARLO
#define FMPI2C_FLAG_OVR
#define FMPI2C_FLAG_PECERR
#define FMPI2C_FLAG_TIMEOUT
#define FMPI2C_FLAG_ALERT
#define FMPI2C_FLAG_BUSY
#define FMPI2C_FLAG_DIR
Exported macros
#define __HAL_FMPI2C_RESET_HANDLE_STATE
#define __HAL_FMPI2C_ENABLE_IT
#define __HAL_FMPI2C_DISABLE_IT
#define FMPI2C_FLAG_MASK
#define __HAL_FMPI2C_ENABLE
#define __HAL_FMPI2C_DISABLE
#define __HAL_FMPI2C_GENERATE_NACK
#include "stm32f4xx_hal_fmpi2c_ex.h"
Exported functions
HAL_FMPI2C_Init(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_DeInit(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_MspInit(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_MspDeInit(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_Master_Transmit(FMPI2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_Master_Receive(FMPI2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_Slave_Transmit(FMPI2C_HandleTypeDef *, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_Slave_Receive(FMPI2C_HandleTypeDef *, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_Mem_Write(FMPI2C_HandleTypeDef *, uint16_t, uint16_t, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_Mem_Read(FMPI2C_HandleTypeDef *, uint16_t, uint16_t, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_IsDeviceReady(FMPI2C_HandleTypeDef *, uint16_t, uint32_t, uint32_t);
HAL_FMPI2C_Master_Transmit_IT(FMPI2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t);
HAL_FMPI2C_Master_Receive_IT(FMPI2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t);
HAL_FMPI2C_Slave_Transmit_IT(FMPI2C_HandleTypeDef *, uint8_t *, uint16_t);
HAL_FMPI2C_Slave_Receive_IT(FMPI2C_HandleTypeDef *, uint8_t *, uint16_t);
HAL_FMPI2C_Mem_Write_IT(FMPI2C_HandleTypeDef *, uint16_t, uint16_t, uint16_t, uint8_t *, uint16_t);
HAL_FMPI2C_Mem_Read_IT(FMPI2C_HandleTypeDef *, uint16_t, uint16_t, uint16_t, uint8_t *, uint16_t);
HAL_FMPI2C_Master_Seq_Transmit_IT(FMPI2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_Master_Seq_Receive_IT(FMPI2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_Slave_Seq_Transmit_IT(FMPI2C_HandleTypeDef *, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_Slave_Seq_Receive_IT(FMPI2C_HandleTypeDef *, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_EnableListen_IT(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_DisableListen_IT(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_Master_Abort_IT(FMPI2C_HandleTypeDef *, uint16_t);
HAL_FMPI2C_Master_Transmit_DMA(FMPI2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t);
HAL_FMPI2C_Master_Receive_DMA(FMPI2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t);
HAL_FMPI2C_Slave_Transmit_DMA(FMPI2C_HandleTypeDef *, uint8_t *, uint16_t);
HAL_FMPI2C_Slave_Receive_DMA(FMPI2C_HandleTypeDef *, uint8_t *, uint16_t);
HAL_FMPI2C_Mem_Write_DMA(FMPI2C_HandleTypeDef *, uint16_t, uint16_t, uint16_t, uint8_t *, uint16_t);
HAL_FMPI2C_Mem_Read_DMA(FMPI2C_HandleTypeDef *, uint16_t, uint16_t, uint16_t, uint8_t *, uint16_t);
HAL_FMPI2C_Master_Seq_Transmit_DMA(FMPI2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_Master_Seq_Receive_DMA(FMPI2C_HandleTypeDef *, uint16_t, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_Slave_Seq_Transmit_DMA(FMPI2C_HandleTypeDef *, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_Slave_Seq_Receive_DMA(FMPI2C_HandleTypeDef *, uint8_t *, uint16_t, uint32_t);
HAL_FMPI2C_EV_IRQHandler(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_ER_IRQHandler(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_MasterTxCpltCallback(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_MasterRxCpltCallback(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_SlaveTxCpltCallback(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_SlaveRxCpltCallback(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_AddrCallback(FMPI2C_HandleTypeDef *, uint8_t, uint16_t);
HAL_FMPI2C_ListenCpltCallback(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_MemTxCpltCallback(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_MemRxCpltCallback(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_ErrorCallback(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_AbortCpltCallback(FMPI2C_HandleTypeDef *);
HAL_FMPI2C_GetState(const FMPI2C_HandleTypeDef *);
HAL_FMPI2C_GetMode(const FMPI2C_HandleTypeDef *);
HAL_FMPI2C_GetError(const FMPI2C_HandleTypeDef *);
Private constants
Private macros
#define FMPI2C_GET_STOP_MODE
#define FMPI2C_GET_OWN_ADDRESS1
#define FMPI2C_GET_OWN_ADDRESS2
#define IS_FMPI2C_OWN_ADDRESS1
#define IS_FMPI2C_OWN_ADDRESS2
#define FMPI2C_MEM_ADD_LSB
#define FMPI2C_CHECK_IT_SOURCE