Prusa MINI Firmware overview
I2C_Exported_Functions_Group2
Collaboration diagram for I2C_Exported_Functions_Group2:

Functions

HAL_StatusTypeDef HAL_I2C_Master_Transmit (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_I2C_Master_Receive (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_I2C_Slave_Transmit (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_I2C_Slave_Receive (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_I2C_Mem_Write (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_I2C_Mem_Read (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_I2C_IsDeviceReady (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint32_t Trials, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_I2C_Master_Transmit_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size)
 
HAL_StatusTypeDef HAL_I2C_Master_Receive_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size)
 
HAL_StatusTypeDef HAL_I2C_Slave_Transmit_IT (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size)
 
HAL_StatusTypeDef HAL_I2C_Slave_Receive_IT (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size)
 
HAL_StatusTypeDef HAL_I2C_Mem_Write_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size)
 
HAL_StatusTypeDef HAL_I2C_Mem_Read_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size)
 
HAL_StatusTypeDef HAL_I2C_Master_Sequential_Transmit_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions)
 
HAL_StatusTypeDef HAL_I2C_Master_Sequential_Receive_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions)
 
HAL_StatusTypeDef HAL_I2C_Slave_Sequential_Transmit_IT (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions)
 
HAL_StatusTypeDef HAL_I2C_Slave_Sequential_Receive_IT (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uint32_t XferOptions)
 
HAL_StatusTypeDef HAL_I2C_Master_Abort_IT (I2C_HandleTypeDef *hi2c, uint16_t DevAddress)
 
HAL_StatusTypeDef HAL_I2C_EnableListen_IT (I2C_HandleTypeDef *hi2c)
 
HAL_StatusTypeDef HAL_I2C_DisableListen_IT (I2C_HandleTypeDef *hi2c)
 
HAL_StatusTypeDef HAL_I2C_Master_Transmit_DMA (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size)
 
HAL_StatusTypeDef HAL_I2C_Master_Receive_DMA (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size)
 
HAL_StatusTypeDef HAL_I2C_Slave_Transmit_DMA (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size)
 
HAL_StatusTypeDef HAL_I2C_Slave_Receive_DMA (I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size)
 
HAL_StatusTypeDef HAL_I2C_Mem_Write_DMA (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size)
 
HAL_StatusTypeDef HAL_I2C_Mem_Read_DMA (I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size)
 
void HAL_I2C_EV_IRQHandler (I2C_HandleTypeDef *hi2c)
 
void HAL_I2C_ER_IRQHandler (I2C_HandleTypeDef *hi2c)
 
void HAL_I2C_MasterTxCpltCallback (I2C_HandleTypeDef *hi2c)
 
void HAL_I2C_MasterRxCpltCallback (I2C_HandleTypeDef *hi2c)
 
void HAL_I2C_SlaveTxCpltCallback (I2C_HandleTypeDef *hi2c)
 
void HAL_I2C_SlaveRxCpltCallback (I2C_HandleTypeDef *hi2c)
 
void HAL_I2C_AddrCallback (I2C_HandleTypeDef *hi2c, uint8_t TransferDirection, uint16_t AddrMatchCode)
 
void HAL_I2C_ListenCpltCallback (I2C_HandleTypeDef *hi2c)
 
void HAL_I2C_MemTxCpltCallback (I2C_HandleTypeDef *hi2c)
 
void HAL_I2C_MemRxCpltCallback (I2C_HandleTypeDef *hi2c)
 
void HAL_I2C_ErrorCallback (I2C_HandleTypeDef *hi2c)
 
void HAL_I2C_AbortCpltCallback (I2C_HandleTypeDef *hi2c)
 

Detailed Description

Function Documentation

◆ HAL_I2C_Master_Transmit()

HAL_StatusTypeDef HAL_I2C_Master_Transmit ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint8_t pData,
uint16_t  Size,
uint32_t  Timeout 
)
Here is the caller graph for this function:

◆ HAL_I2C_Master_Receive()

HAL_StatusTypeDef HAL_I2C_Master_Receive ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint8_t pData,
uint16_t  Size,
uint32_t  Timeout 
)
Here is the caller graph for this function:

◆ HAL_I2C_Slave_Transmit()

HAL_StatusTypeDef HAL_I2C_Slave_Transmit ( I2C_HandleTypeDef hi2c,
uint8_t pData,
uint16_t  Size,
uint32_t  Timeout 
)

◆ HAL_I2C_Slave_Receive()

HAL_StatusTypeDef HAL_I2C_Slave_Receive ( I2C_HandleTypeDef hi2c,
uint8_t pData,
uint16_t  Size,
uint32_t  Timeout 
)

◆ HAL_I2C_Mem_Write()

HAL_StatusTypeDef HAL_I2C_Mem_Write ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint16_t  MemAddress,
uint16_t  MemAddSize,
uint8_t pData,
uint16_t  Size,
uint32_t  Timeout 
)

◆ HAL_I2C_Mem_Read()

HAL_StatusTypeDef HAL_I2C_Mem_Read ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint16_t  MemAddress,
uint16_t  MemAddSize,
uint8_t pData,
uint16_t  Size,
uint32_t  Timeout 
)

◆ HAL_I2C_IsDeviceReady()

HAL_StatusTypeDef HAL_I2C_IsDeviceReady ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint32_t  Trials,
uint32_t  Timeout 
)

◆ HAL_I2C_Master_Transmit_IT()

HAL_StatusTypeDef HAL_I2C_Master_Transmit_IT ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint8_t pData,
uint16_t  Size 
)

◆ HAL_I2C_Master_Receive_IT()

HAL_StatusTypeDef HAL_I2C_Master_Receive_IT ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint8_t pData,
uint16_t  Size 
)

◆ HAL_I2C_Slave_Transmit_IT()

HAL_StatusTypeDef HAL_I2C_Slave_Transmit_IT ( I2C_HandleTypeDef hi2c,
uint8_t pData,
uint16_t  Size 
)

◆ HAL_I2C_Slave_Receive_IT()

HAL_StatusTypeDef HAL_I2C_Slave_Receive_IT ( I2C_HandleTypeDef hi2c,
uint8_t pData,
uint16_t  Size 
)

◆ HAL_I2C_Mem_Write_IT()

HAL_StatusTypeDef HAL_I2C_Mem_Write_IT ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint16_t  MemAddress,
uint16_t  MemAddSize,
uint8_t pData,
uint16_t  Size 
)

◆ HAL_I2C_Mem_Read_IT()

HAL_StatusTypeDef HAL_I2C_Mem_Read_IT ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint16_t  MemAddress,
uint16_t  MemAddSize,
uint8_t pData,
uint16_t  Size 
)

◆ HAL_I2C_Master_Sequential_Transmit_IT()

HAL_StatusTypeDef HAL_I2C_Master_Sequential_Transmit_IT ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint8_t pData,
uint16_t  Size,
uint32_t  XferOptions 
)

◆ HAL_I2C_Master_Sequential_Receive_IT()

HAL_StatusTypeDef HAL_I2C_Master_Sequential_Receive_IT ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint8_t pData,
uint16_t  Size,
uint32_t  XferOptions 
)

◆ HAL_I2C_Slave_Sequential_Transmit_IT()

HAL_StatusTypeDef HAL_I2C_Slave_Sequential_Transmit_IT ( I2C_HandleTypeDef hi2c,
uint8_t pData,
uint16_t  Size,
uint32_t  XferOptions 
)

◆ HAL_I2C_Slave_Sequential_Receive_IT()

HAL_StatusTypeDef HAL_I2C_Slave_Sequential_Receive_IT ( I2C_HandleTypeDef hi2c,
uint8_t pData,
uint16_t  Size,
uint32_t  XferOptions 
)

◆ HAL_I2C_Master_Abort_IT()

HAL_StatusTypeDef HAL_I2C_Master_Abort_IT ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress 
)

◆ HAL_I2C_EnableListen_IT()

HAL_StatusTypeDef HAL_I2C_EnableListen_IT ( I2C_HandleTypeDef hi2c)

◆ HAL_I2C_DisableListen_IT()

HAL_StatusTypeDef HAL_I2C_DisableListen_IT ( I2C_HandleTypeDef hi2c)

◆ HAL_I2C_Master_Transmit_DMA()

HAL_StatusTypeDef HAL_I2C_Master_Transmit_DMA ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint8_t pData,
uint16_t  Size 
)

◆ HAL_I2C_Master_Receive_DMA()

HAL_StatusTypeDef HAL_I2C_Master_Receive_DMA ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint8_t pData,
uint16_t  Size 
)

◆ HAL_I2C_Slave_Transmit_DMA()

HAL_StatusTypeDef HAL_I2C_Slave_Transmit_DMA ( I2C_HandleTypeDef hi2c,
uint8_t pData,
uint16_t  Size 
)

◆ HAL_I2C_Slave_Receive_DMA()

HAL_StatusTypeDef HAL_I2C_Slave_Receive_DMA ( I2C_HandleTypeDef hi2c,
uint8_t pData,
uint16_t  Size 
)

◆ HAL_I2C_Mem_Write_DMA()

HAL_StatusTypeDef HAL_I2C_Mem_Write_DMA ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint16_t  MemAddress,
uint16_t  MemAddSize,
uint8_t pData,
uint16_t  Size 
)

◆ HAL_I2C_Mem_Read_DMA()

HAL_StatusTypeDef HAL_I2C_Mem_Read_DMA ( I2C_HandleTypeDef hi2c,
uint16_t  DevAddress,
uint16_t  MemAddress,
uint16_t  MemAddSize,
uint8_t pData,
uint16_t  Size 
)

◆ HAL_I2C_EV_IRQHandler()

void HAL_I2C_EV_IRQHandler ( I2C_HandleTypeDef hi2c)

◆ HAL_I2C_ER_IRQHandler()

void HAL_I2C_ER_IRQHandler ( I2C_HandleTypeDef hi2c)

◆ HAL_I2C_MasterTxCpltCallback()

void HAL_I2C_MasterTxCpltCallback ( I2C_HandleTypeDef hi2c)

◆ HAL_I2C_MasterRxCpltCallback()

void HAL_I2C_MasterRxCpltCallback ( I2C_HandleTypeDef hi2c)

◆ HAL_I2C_SlaveTxCpltCallback()

void HAL_I2C_SlaveTxCpltCallback ( I2C_HandleTypeDef hi2c)

◆ HAL_I2C_SlaveRxCpltCallback()

void HAL_I2C_SlaveRxCpltCallback ( I2C_HandleTypeDef hi2c)

◆ HAL_I2C_AddrCallback()

void HAL_I2C_AddrCallback ( I2C_HandleTypeDef hi2c,
uint8_t  TransferDirection,
uint16_t  AddrMatchCode 
)

◆ HAL_I2C_ListenCpltCallback()

void HAL_I2C_ListenCpltCallback ( I2C_HandleTypeDef hi2c)

◆ HAL_I2C_MemTxCpltCallback()

void HAL_I2C_MemTxCpltCallback ( I2C_HandleTypeDef hi2c)

◆ HAL_I2C_MemRxCpltCallback()

void HAL_I2C_MemRxCpltCallback ( I2C_HandleTypeDef hi2c)

◆ HAL_I2C_ErrorCallback()

void HAL_I2C_ErrorCallback ( I2C_HandleTypeDef hi2c)

◆ HAL_I2C_AbortCpltCallback()

void HAL_I2C_AbortCpltCallback ( I2C_HandleTypeDef hi2c)