STM32F4xx_HAL_Driver
1.8.3
|
Data transfers functions. More...
Functions | |
HAL_StatusTypeDef | HAL_FMPI2C_Master_Transmit (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
Transmits in master mode an amount of data in blocking mode. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Master_Receive (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
Receives in master mode an amount of data in blocking mode. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Slave_Transmit (FMPI2C_HandleTypeDef *hfmpi2c, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
Transmits in slave mode an amount of data in blocking mode. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Slave_Receive (FMPI2C_HandleTypeDef *hfmpi2c, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
Receive in slave mode an amount of data in blocking mode. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Mem_Write (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
Write an amount of data in blocking mode to a specific memory address. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Mem_Read (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
Read an amount of data in blocking mode from a specific memory address. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_IsDeviceReady (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint32_t Trials, uint32_t Timeout) |
Checks if target device is ready for communication. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Master_Transmit_IT (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size) |
Transmit in master mode an amount of data in non-blocking mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Master_Receive_IT (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size) |
Receive in master mode an amount of data in non-blocking mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Slave_Transmit_IT (FMPI2C_HandleTypeDef *hfmpi2c, uint8_t *pData, uint16_t Size) |
Transmit in slave mode an amount of data in non-blocking mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Slave_Receive_IT (FMPI2C_HandleTypeDef *hfmpi2c, uint8_t *pData, uint16_t Size) |
Receive in slave mode an amount of data in non-blocking mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Mem_Write_IT (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size) |
Write an amount of data in non-blocking mode with Interrupt to a specific memory address. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Mem_Read_IT (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size) |
Read an amount of data in non-blocking mode with Interrupt from a specific memory address. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Master_Seq_Transmit_IT (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Sequential transmit in master FMPI2C mode an amount of data in non-blocking mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Master_Seq_Receive_IT (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Sequential receive in master FMPI2C mode an amount of data in non-blocking mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Slave_Seq_Transmit_IT (FMPI2C_HandleTypeDef *hfmpi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Sequential transmit in slave/device FMPI2C mode an amount of data in non-blocking mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Slave_Seq_Receive_IT (FMPI2C_HandleTypeDef *hfmpi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Sequential receive in slave/device FMPI2C mode an amount of data in non-blocking mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_EnableListen_IT (FMPI2C_HandleTypeDef *hfmpi2c) |
Enable the Address listen mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_DisableListen_IT (FMPI2C_HandleTypeDef *hfmpi2c) |
Disable the Address listen mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Master_Abort_IT (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress) |
Abort a master FMPI2C IT or DMA process communication with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Master_Transmit_DMA (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size) |
Transmit in master mode an amount of data in non-blocking mode with DMA. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Master_Receive_DMA (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size) |
Receive in master mode an amount of data in non-blocking mode with DMA. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Slave_Transmit_DMA (FMPI2C_HandleTypeDef *hfmpi2c, uint8_t *pData, uint16_t Size) |
Transmit in slave mode an amount of data in non-blocking mode with DMA. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Slave_Receive_DMA (FMPI2C_HandleTypeDef *hfmpi2c, uint8_t *pData, uint16_t Size) |
Receive in slave mode an amount of data in non-blocking mode with DMA. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Mem_Write_DMA (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size) |
Write an amount of data in non-blocking mode with DMA to a specific memory address. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Mem_Read_DMA (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size) |
Reads an amount of data in non-blocking mode with DMA from a specific memory address. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Master_Seq_Transmit_DMA (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Sequential transmit in master FMPI2C mode an amount of data in non-blocking mode with DMA. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Master_Seq_Receive_DMA (FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Sequential receive in master FMPI2C mode an amount of data in non-blocking mode with DMA. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Slave_Seq_Transmit_DMA (FMPI2C_HandleTypeDef *hfmpi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Sequential transmit in slave/device FMPI2C mode an amount of data in non-blocking mode with DMA. More... | |
HAL_StatusTypeDef | HAL_FMPI2C_Slave_Seq_Receive_DMA (FMPI2C_HandleTypeDef *hfmpi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Sequential receive in slave/device FMPI2C mode an amount of data in non-blocking mode with DMA. More... | |
Data transfers functions.
=============================================================================== ##### IO operation functions ##### =============================================================================== [..] This subsection provides a set of functions allowing to manage the FMPI2C data transfers. (#) There are two modes of transfer: (++) Blocking mode : The communication is performed in the polling mode. The status of all data processing is returned by the same function after finishing transfer. (++) No-Blocking mode : The communication is performed using Interrupts or DMA. These functions return the status of the transfer startup. The end of the data processing will be indicated through the dedicated FMPI2C IRQ when using Interrupt mode or the DMA IRQ when using DMA mode. (#) Blocking mode functions are : (++) HAL_FMPI2C_Master_Transmit() (++) HAL_FMPI2C_Master_Receive() (++) HAL_FMPI2C_Slave_Transmit() (++) HAL_FMPI2C_Slave_Receive() (++) HAL_FMPI2C_Mem_Write() (++) HAL_FMPI2C_Mem_Read() (++) HAL_FMPI2C_IsDeviceReady() (#) No-Blocking mode functions with Interrupt are : (++) HAL_FMPI2C_Master_Transmit_IT() (++) HAL_FMPI2C_Master_Receive_IT() (++) HAL_FMPI2C_Slave_Transmit_IT() (++) HAL_FMPI2C_Slave_Receive_IT() (++) HAL_FMPI2C_Mem_Write_IT() (++) HAL_FMPI2C_Mem_Read_IT() (++) HAL_FMPI2C_Master_Seq_Transmit_IT() (++) HAL_FMPI2C_Master_Seq_Receive_IT() (++) HAL_FMPI2C_Slave_Seq_Transmit_IT() (++) HAL_FMPI2C_Slave_Seq_Receive_IT() (++) HAL_FMPI2C_EnableListen_IT() (++) HAL_FMPI2C_DisableListen_IT() (++) HAL_FMPI2C_Master_Abort_IT() (#) No-Blocking mode functions with DMA are : (++) HAL_FMPI2C_Master_Transmit_DMA() (++) HAL_FMPI2C_Master_Receive_DMA() (++) HAL_FMPI2C_Slave_Transmit_DMA() (++) HAL_FMPI2C_Slave_Receive_DMA() (++) HAL_FMPI2C_Mem_Write_DMA() (++) HAL_FMPI2C_Mem_Read_DMA() (++) HAL_FMPI2C_Master_Seq_Transmit_DMA() (++) HAL_FMPI2C_Master_Seq_Receive_DMA() (++) HAL_FMPI2C_Slave_Seq_Transmit_DMA() (++) HAL_FMPI2C_Slave_Seq_Receive_DMA() (#) A set of Transfer Complete Callbacks are provided in non Blocking mode: (++) HAL_FMPI2C_MasterTxCpltCallback() (++) HAL_FMPI2C_MasterRxCpltCallback() (++) HAL_FMPI2C_SlaveTxCpltCallback() (++) HAL_FMPI2C_SlaveRxCpltCallback() (++) HAL_FMPI2C_MemTxCpltCallback() (++) HAL_FMPI2C_MemRxCpltCallback() (++) HAL_FMPI2C_AddrCallback() (++) HAL_FMPI2C_ListenCpltCallback() (++) HAL_FMPI2C_ErrorCallback() (++) HAL_FMPI2C_AbortCpltCallback()
HAL_StatusTypeDef HAL_FMPI2C_DisableListen_IT | ( | FMPI2C_HandleTypeDef * | hfmpi2c | ) |
Disable the Address listen mode with Interrupt.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C |
HAL | status |
Definition at line 4538 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_EnableListen_IT | ( | FMPI2C_HandleTypeDef * | hfmpi2c | ) |
Enable the Address listen mode with Interrupt.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
HAL | status |
Definition at line 4514 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_IsDeviceReady | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint32_t | Trials, | ||
uint32_t | Timeout | ||
) |
Checks if target device is ready for communication.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
Trials | Number of trials |
Timeout | Timeout duration |
HAL | status |
Definition at line 3260 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Master_Abort_IT | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress | ||
) |
Abort a master FMPI2C IT or DMA process communication with Interrupt.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
HAL | status |
Definition at line 4571 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Master_Receive | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | Timeout | ||
) |
Receives in master mode an amount of data in blocking mode.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
Timeout | Timeout duration |
HAL | status |
Definition at line 1269 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Master_Receive_DMA | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size | ||
) |
Receive in master mode an amount of data in non-blocking mode with DMA.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
HAL | status |
Definition at line 2130 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Master_Receive_IT | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size | ||
) |
Receive in master mode an amount of data in non-blocking mode with Interrupt.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
HAL | status |
Definition at line 1782 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Master_Seq_Receive_DMA | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions | ||
) |
Sequential receive in master FMPI2C mode an amount of data in non-blocking mode with DMA.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of FMPI2C Sequential Transfer Options |
HAL | status |
Definition at line 3784 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Master_Seq_Receive_IT | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions | ||
) |
Sequential receive in master FMPI2C mode an amount of data in non-blocking mode with Interrupt.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of FMPI2C Sequential Transfer Options |
HAL | status |
Definition at line 3697 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Master_Seq_Transmit_DMA | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions | ||
) |
Sequential transmit in master FMPI2C mode an amount of data in non-blocking mode with DMA.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of FMPI2C Sequential Transfer Options |
HAL | status |
Definition at line 3500 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Master_Seq_Transmit_IT | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions | ||
) |
Sequential transmit in master FMPI2C mode an amount of data in non-blocking mode with Interrupt.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of FMPI2C Sequential Transfer Options |
HAL | status |
Definition at line 3386 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Master_Transmit | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | Timeout | ||
) |
Transmits in master mode an amount of data in blocking mode.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
Timeout | Timeout duration |
HAL | status |
Definition at line 1128 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Master_Transmit_DMA | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size | ||
) |
Transmit in master mode an amount of data in non-blocking mode with DMA.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
HAL | status |
Definition at line 1967 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Master_Transmit_IT | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size | ||
) |
Transmit in master mode an amount of data in non-blocking mode with Interrupt.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
HAL | status |
Definition at line 1692 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Mem_Read | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint16_t | MemAddress, | ||
uint16_t | MemAddSize, | ||
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | Timeout | ||
) |
Read an amount of data in blocking mode from a specific memory address.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
MemAddress | Internal memory address |
MemAddSize | Size of internal memory address |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
Timeout | Timeout duration |
HAL | status |
Definition at line 2657 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Mem_Read_DMA | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint16_t | MemAddress, | ||
uint16_t | MemAddSize, | ||
uint8_t * | pData, | ||
uint16_t | Size | ||
) |
Reads an amount of data in non-blocking mode with DMA from a specific memory address.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
MemAddress | Internal memory address |
MemAddSize | Size of internal memory address |
pData | Pointer to data buffer |
Size | Amount of data to be read |
HAL | status |
Definition at line 3115 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Mem_Read_IT | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint16_t | MemAddress, | ||
uint16_t | MemAddSize, | ||
uint8_t * | pData, | ||
uint16_t | Size | ||
) |
Read an amount of data in non-blocking mode with Interrupt from a specific memory address.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
MemAddress | Internal memory address |
MemAddSize | Size of internal memory address |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
HAL | status |
Definition at line 2882 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Mem_Write | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint16_t | MemAddress, | ||
uint16_t | MemAddSize, | ||
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | Timeout | ||
) |
Write an amount of data in blocking mode to a specific memory address.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
MemAddress | Internal memory address |
MemAddSize | Size of internal memory address |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
Timeout | Timeout duration |
HAL | status |
Definition at line 2520 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Mem_Write_DMA | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint16_t | MemAddress, | ||
uint16_t | MemAddSize, | ||
uint8_t * | pData, | ||
uint16_t | Size | ||
) |
Write an amount of data in non-blocking mode with DMA to a specific memory address.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
MemAddress | Internal memory address |
MemAddSize | Size of internal memory address |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
HAL | status |
Definition at line 2969 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Mem_Write_IT | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint16_t | DevAddress, | ||
uint16_t | MemAddress, | ||
uint16_t | MemAddSize, | ||
uint8_t * | pData, | ||
uint16_t | Size | ||
) |
Write an amount of data in non-blocking mode with Interrupt to a specific memory address.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
MemAddress | Internal memory address |
MemAddSize | Size of internal memory address |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
HAL | status |
Definition at line 2794 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Slave_Receive | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | Timeout | ||
) |
Receive in slave mode an amount of data in blocking mode.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
Timeout | Timeout duration |
HAL | status |
Definition at line 1562 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Slave_Receive_DMA | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint8_t * | pData, | ||
uint16_t | Size | ||
) |
Receive in slave mode an amount of data in non-blocking mode with DMA.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
HAL | status |
Definition at line 2411 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Slave_Receive_IT | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint8_t * | pData, | ||
uint16_t | Size | ||
) |
Receive in slave mode an amount of data in non-blocking mode with Interrupt.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
HAL | status |
Definition at line 1915 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Slave_Seq_Receive_DMA | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions | ||
) |
Sequential receive in slave/device FMPI2C mode an amount of data in non-blocking mode with DMA.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of FMPI2C Sequential Transfer Options |
HAL | status |
Definition at line 4334 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Slave_Seq_Receive_IT | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions | ||
) |
Sequential receive in slave/device FMPI2C mode an amount of data in non-blocking mode with Interrupt.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of FMPI2C Sequential Transfer Options |
HAL | status |
Definition at line 4234 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Slave_Seq_Transmit_DMA | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions | ||
) |
Sequential transmit in slave/device FMPI2C mode an amount of data in non-blocking mode with DMA.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of FMPI2C Sequential Transfer Options |
HAL | status |
Definition at line 4050 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Slave_Seq_Transmit_IT | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions | ||
) |
Sequential transmit in slave/device FMPI2C mode an amount of data in non-blocking mode with Interrupt.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of FMPI2C Sequential Transfer Options |
HAL | status |
Definition at line 3950 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Slave_Transmit | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | Timeout | ||
) |
Transmits in slave mode an amount of data in blocking mode.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
Timeout | Timeout duration |
HAL | status |
Definition at line 1387 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Slave_Transmit_DMA | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint8_t * | pData, | ||
uint16_t | Size | ||
) |
Transmit in slave mode an amount of data in non-blocking mode with DMA.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
HAL | status |
Definition at line 2275 of file stm32f4xx_hal_fmpi2c.c.
HAL_StatusTypeDef HAL_FMPI2C_Slave_Transmit_IT | ( | FMPI2C_HandleTypeDef * | hfmpi2c, |
uint8_t * | pData, | ||
uint16_t | Size | ||
) |
Transmit in slave mode an amount of data in non-blocking mode with Interrupt.
hfmpi2c | Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
HAL | status |
Definition at line 1851 of file stm32f4xx_hal_fmpi2c.c.