STM32F4xx_HAL_Driver  1.8.3
FMPI2C handle Structure definition

FMPI2C handle Structure definition. More...

+ Collaboration diagram for FMPI2C handle Structure definition:

Data Structures

struct  __FMPI2C_HandleTypeDef
 

Typedefs

typedef struct __FMPI2C_HandleTypeDef FMPI2C_HandleTypeDef
 
typedef void(* pFMPI2C_CallbackTypeDef) (FMPI2C_HandleTypeDef *hfmpi2c)
 HAL FMPI2C Callback pointer definition. More...
 
typedef void(* pFMPI2C_AddrCallbackTypeDef) (FMPI2C_HandleTypeDef *hfmpi2c, uint8_t TransferDirection, uint16_t AddrMatchCode)
 

Enumerations

enum  HAL_FMPI2C_CallbackIDTypeDef {
  HAL_FMPI2C_MASTER_TX_COMPLETE_CB_ID = 0x00U , HAL_FMPI2C_MASTER_RX_COMPLETE_CB_ID = 0x01U , HAL_FMPI2C_SLAVE_TX_COMPLETE_CB_ID = 0x02U , HAL_FMPI2C_SLAVE_RX_COMPLETE_CB_ID = 0x03U ,
  HAL_FMPI2C_LISTEN_COMPLETE_CB_ID = 0x04U , HAL_FMPI2C_MEM_TX_COMPLETE_CB_ID = 0x05U , HAL_FMPI2C_MEM_RX_COMPLETE_CB_ID = 0x06U , HAL_FMPI2C_ERROR_CB_ID = 0x07U ,
  HAL_FMPI2C_ABORT_CB_ID = 0x08U , HAL_FMPI2C_MSPINIT_CB_ID = 0x09U , HAL_FMPI2C_MSPDEINIT_CB_ID = 0x0AU
}
 HAL FMPI2C Callback ID enumeration definition. More...
 

Detailed Description

FMPI2C handle Structure definition.


Data Structure Documentation

◆ __FMPI2C_HandleTypeDef

struct __FMPI2C_HandleTypeDef

Definition at line 185 of file stm32f4xx_hal_fmpi2c.h.

+ Collaboration diagram for __FMPI2C_HandleTypeDef:

Data Fields

FMPI2C_TypeDef * Instance
 
FMPI2C_InitTypeDef Init
 
uint8_t * pBuffPtr
 
uint16_t XferSize
 
__IO uint16_t XferCount
 
__IO uint32_t XferOptions
 
__IO uint32_t PreviousState
 
HAL_StatusTypeDef(* XferISR )(struct __FMPI2C_HandleTypeDef *hfmpi2c, uint32_t ITFlags, uint32_t ITSources)
 
DMA_HandleTypeDefhdmatx
 
DMA_HandleTypeDefhdmarx
 
HAL_LockTypeDef Lock
 
__IO HAL_FMPI2C_StateTypeDef State
 
__IO HAL_FMPI2C_ModeTypeDef Mode
 
__IO uint32_t ErrorCode
 
__IO uint32_t AddrEventCount
 
__IO uint32_t Devaddress
 
__IO uint32_t Memaddress
 
void(* MasterTxCpltCallback )(struct __FMPI2C_HandleTypeDef *hfmpi2c)
 
void(* MasterRxCpltCallback )(struct __FMPI2C_HandleTypeDef *hfmpi2c)
 
void(* SlaveTxCpltCallback )(struct __FMPI2C_HandleTypeDef *hfmpi2c)
 
void(* SlaveRxCpltCallback )(struct __FMPI2C_HandleTypeDef *hfmpi2c)
 
void(* ListenCpltCallback )(struct __FMPI2C_HandleTypeDef *hfmpi2c)
 
void(* MemTxCpltCallback )(struct __FMPI2C_HandleTypeDef *hfmpi2c)
 
void(* MemRxCpltCallback )(struct __FMPI2C_HandleTypeDef *hfmpi2c)
 
void(* ErrorCallback )(struct __FMPI2C_HandleTypeDef *hfmpi2c)
 
void(* AbortCpltCallback )(struct __FMPI2C_HandleTypeDef *hfmpi2c)
 
void(* AddrCallback )(struct __FMPI2C_HandleTypeDef *hfmpi2c, uint8_t TransferDirection, uint16_t AddrMatchCode)
 
void(* MspInitCallback )(struct __FMPI2C_HandleTypeDef *hfmpi2c)
 
void(* MspDeInitCallback )(struct __FMPI2C_HandleTypeDef *hfmpi2c)
 

Field Documentation

◆ AbortCpltCallback

void(* __FMPI2C_HandleTypeDef::AbortCpltCallback) (struct __FMPI2C_HandleTypeDef *hfmpi2c)

FMPI2C Abort callback

Definition at line 241 of file stm32f4xx_hal_fmpi2c.h.

◆ AddrCallback

void(* __FMPI2C_HandleTypeDef::AddrCallback) (struct __FMPI2C_HandleTypeDef *hfmpi2c, uint8_t TransferDirection, uint16_t AddrMatchCode)

FMPI2C Slave Address Match callback

Definition at line 244 of file stm32f4xx_hal_fmpi2c.h.

◆ AddrEventCount

__IO uint32_t __FMPI2C_HandleTypeDef::AddrEventCount

FMPI2C Address Event counter

Definition at line 218 of file stm32f4xx_hal_fmpi2c.h.

◆ Devaddress

__IO uint32_t __FMPI2C_HandleTypeDef::Devaddress

FMPI2C Target device address

Definition at line 220 of file stm32f4xx_hal_fmpi2c.h.

◆ ErrorCallback

void(* __FMPI2C_HandleTypeDef::ErrorCallback) (struct __FMPI2C_HandleTypeDef *hfmpi2c)

FMPI2C Error callback

Definition at line 239 of file stm32f4xx_hal_fmpi2c.h.

◆ ErrorCode

__IO uint32_t __FMPI2C_HandleTypeDef::ErrorCode

FMPI2C Error code

Definition at line 216 of file stm32f4xx_hal_fmpi2c.h.

◆ hdmarx

DMA_HandleTypeDef* __FMPI2C_HandleTypeDef::hdmarx

FMPI2C Rx DMA handle parameters

Definition at line 207 of file stm32f4xx_hal_fmpi2c.h.

◆ hdmatx

DMA_HandleTypeDef* __FMPI2C_HandleTypeDef::hdmatx

FMPI2C Tx DMA handle parameters

Definition at line 205 of file stm32f4xx_hal_fmpi2c.h.

◆ Init

FMPI2C_InitTypeDef __FMPI2C_HandleTypeDef::Init

FMPI2C communication parameters

Definition at line 189 of file stm32f4xx_hal_fmpi2c.h.

◆ Instance

FMPI2C_TypeDef* __FMPI2C_HandleTypeDef::Instance

FMPI2C registers base address

Definition at line 187 of file stm32f4xx_hal_fmpi2c.h.

◆ ListenCpltCallback

void(* __FMPI2C_HandleTypeDef::ListenCpltCallback) (struct __FMPI2C_HandleTypeDef *hfmpi2c)

FMPI2C Listen Complete callback

Definition at line 233 of file stm32f4xx_hal_fmpi2c.h.

◆ Lock

HAL_LockTypeDef __FMPI2C_HandleTypeDef::Lock

FMPI2C locking object

Definition at line 210 of file stm32f4xx_hal_fmpi2c.h.

◆ MasterRxCpltCallback

void(* __FMPI2C_HandleTypeDef::MasterRxCpltCallback) (struct __FMPI2C_HandleTypeDef *hfmpi2c)

FMPI2C Master Rx Transfer completed callback

Definition at line 227 of file stm32f4xx_hal_fmpi2c.h.

◆ MasterTxCpltCallback

void(* __FMPI2C_HandleTypeDef::MasterTxCpltCallback) (struct __FMPI2C_HandleTypeDef *hfmpi2c)

FMPI2C Master Tx Transfer completed callback

Definition at line 225 of file stm32f4xx_hal_fmpi2c.h.

◆ Memaddress

__IO uint32_t __FMPI2C_HandleTypeDef::Memaddress

FMPI2C Target memory address

Definition at line 222 of file stm32f4xx_hal_fmpi2c.h.

◆ MemRxCpltCallback

void(* __FMPI2C_HandleTypeDef::MemRxCpltCallback) (struct __FMPI2C_HandleTypeDef *hfmpi2c)

FMPI2C Memory Rx Transfer completed callback

Definition at line 237 of file stm32f4xx_hal_fmpi2c.h.

◆ MemTxCpltCallback

void(* __FMPI2C_HandleTypeDef::MemTxCpltCallback) (struct __FMPI2C_HandleTypeDef *hfmpi2c)

FMPI2C Memory Tx Transfer completed callback

Definition at line 235 of file stm32f4xx_hal_fmpi2c.h.

◆ Mode

__IO HAL_FMPI2C_ModeTypeDef __FMPI2C_HandleTypeDef::Mode

FMPI2C communication mode

Definition at line 214 of file stm32f4xx_hal_fmpi2c.h.

◆ MspDeInitCallback

void(* __FMPI2C_HandleTypeDef::MspDeInitCallback) (struct __FMPI2C_HandleTypeDef *hfmpi2c)

FMPI2C Msp DeInit callback

Definition at line 249 of file stm32f4xx_hal_fmpi2c.h.

◆ MspInitCallback

void(* __FMPI2C_HandleTypeDef::MspInitCallback) (struct __FMPI2C_HandleTypeDef *hfmpi2c)

FMPI2C Msp Init callback

Definition at line 247 of file stm32f4xx_hal_fmpi2c.h.

◆ pBuffPtr

uint8_t* __FMPI2C_HandleTypeDef::pBuffPtr

Pointer to FMPI2C transfer buffer

Definition at line 191 of file stm32f4xx_hal_fmpi2c.h.

◆ PreviousState

__IO uint32_t __FMPI2C_HandleTypeDef::PreviousState

FMPI2C communication Previous state

Definition at line 200 of file stm32f4xx_hal_fmpi2c.h.

◆ SlaveRxCpltCallback

void(* __FMPI2C_HandleTypeDef::SlaveRxCpltCallback) (struct __FMPI2C_HandleTypeDef *hfmpi2c)

FMPI2C Slave Rx Transfer completed callback

Definition at line 231 of file stm32f4xx_hal_fmpi2c.h.

◆ SlaveTxCpltCallback

void(* __FMPI2C_HandleTypeDef::SlaveTxCpltCallback) (struct __FMPI2C_HandleTypeDef *hfmpi2c)

FMPI2C Slave Tx Transfer completed callback

Definition at line 229 of file stm32f4xx_hal_fmpi2c.h.

◆ State

__IO HAL_FMPI2C_StateTypeDef __FMPI2C_HandleTypeDef::State

FMPI2C communication state

Definition at line 212 of file stm32f4xx_hal_fmpi2c.h.

◆ XferCount

__IO uint16_t __FMPI2C_HandleTypeDef::XferCount

FMPI2C transfer counter

Definition at line 195 of file stm32f4xx_hal_fmpi2c.h.

◆ XferISR

HAL_StatusTypeDef(* __FMPI2C_HandleTypeDef::XferISR) (struct __FMPI2C_HandleTypeDef *hfmpi2c, uint32_t ITFlags, uint32_t ITSources)

FMPI2C transfer IRQ handler function pointer

Definition at line 202 of file stm32f4xx_hal_fmpi2c.h.

◆ XferOptions

__IO uint32_t __FMPI2C_HandleTypeDef::XferOptions

FMPI2C sequantial transfer options, this parameter can be a value of FMPI2C Sequential Transfer Options

Definition at line 197 of file stm32f4xx_hal_fmpi2c.h.

◆ XferSize

uint16_t __FMPI2C_HandleTypeDef::XferSize

FMPI2C transfer size

Definition at line 193 of file stm32f4xx_hal_fmpi2c.h.

Typedef Documentation

◆ pFMPI2C_AddrCallbackTypeDef

typedef void(* pFMPI2C_AddrCallbackTypeDef) (FMPI2C_HandleTypeDef *hfmpi2c, uint8_t TransferDirection, uint16_t AddrMatchCode)

pointer to an FMPI2C Address Match callback function

Definition at line 281 of file stm32f4xx_hal_fmpi2c.h.

◆ pFMPI2C_CallbackTypeDef

typedef void(* pFMPI2C_CallbackTypeDef) (FMPI2C_HandleTypeDef *hfmpi2c)

HAL FMPI2C Callback pointer definition.

pointer to an FMPI2C callback function

Definition at line 279 of file stm32f4xx_hal_fmpi2c.h.

Enumeration Type Documentation

◆ HAL_FMPI2C_CallbackIDTypeDef

HAL FMPI2C Callback ID enumeration definition.

Enumerator
HAL_FMPI2C_MASTER_TX_COMPLETE_CB_ID 

FMPI2C Master Tx Transfer completed callback ID

HAL_FMPI2C_MASTER_RX_COMPLETE_CB_ID 

FMPI2C Master Rx Transfer completed callback ID

HAL_FMPI2C_SLAVE_TX_COMPLETE_CB_ID 

FMPI2C Slave Tx Transfer completed callback ID

HAL_FMPI2C_SLAVE_RX_COMPLETE_CB_ID 

FMPI2C Slave Rx Transfer completed callback ID

HAL_FMPI2C_LISTEN_COMPLETE_CB_ID 

FMPI2C Listen Complete callback ID

HAL_FMPI2C_MEM_TX_COMPLETE_CB_ID 

FMPI2C Memory Tx Transfer callback ID

HAL_FMPI2C_MEM_RX_COMPLETE_CB_ID 

FMPI2C Memory Rx Transfer completed callback ID

HAL_FMPI2C_ERROR_CB_ID 

FMPI2C Error callback ID

HAL_FMPI2C_ABORT_CB_ID 

FMPI2C Abort callback ID

HAL_FMPI2C_MSPINIT_CB_ID 

FMPI2C Msp Init callback ID

HAL_FMPI2C_MSPDEINIT_CB_ID 

FMPI2C Msp DeInit callback ID

Definition at line 259 of file stm32f4xx_hal_fmpi2c.h.