STM32F4xx_HAL_Driver
1.8.3
|
Header file of FMPSMBUS HAL module. More...
Go to the source code of this file.
Data Structures | |
struct | FMPSMBUS_InitTypeDef |
struct | endif |
ADC handle Structure definition. More... | |
Typedefs | |
typedef struct __FMPSMBUS_HandleTypeDef else typedef struct endif | FMPSMBUS_HandleTypeDef |
typedef void(* | pFMPSMBUS_CallbackTypeDef) (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
HAL FMPSMBUS Callback pointer definition. More... | |
typedef void(* | pFMPSMBUS_AddrCallbackTypeDef) (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint8_t TransferDirection, uint16_t AddrMatchCode) |
Enumerations | |
enum | HAL_FMPSMBUS_CallbackIDTypeDef { HAL_FMPSMBUS_MASTER_TX_COMPLETE_CB_ID = 0x00U , HAL_FMPSMBUS_MASTER_RX_COMPLETE_CB_ID = 0x01U , HAL_FMPSMBUS_SLAVE_TX_COMPLETE_CB_ID = 0x02U , HAL_FMPSMBUS_SLAVE_RX_COMPLETE_CB_ID = 0x03U , HAL_FMPSMBUS_LISTEN_COMPLETE_CB_ID = 0x04U , HAL_FMPSMBUS_ERROR_CB_ID = 0x05U , HAL_FMPSMBUS_MSPINIT_CB_ID = 0x06U , HAL_FMPSMBUS_MSPDEINIT_CB_ID = 0x07U } |
HAL FMPSMBUS Callback ID enumeration definition. More... | |
Functions | |
HAL_StatusTypeDef | HAL_FMPSMBUS_Init (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Initialize the FMPSMBUS according to the specified parameters in the FMPSMBUS_InitTypeDef and initialize the associated handle. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_DeInit (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
DeInitialize the FMPSMBUS peripheral. More... | |
void | HAL_FMPSMBUS_MspInit (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Initialize the FMPSMBUS MSP. More... | |
void | HAL_FMPSMBUS_MspDeInit (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
DeInitialize the FMPSMBUS MSP. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_ConfigAnalogFilter (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint32_t AnalogFilter) |
Configure Analog noise filter. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_ConfigDigitalFilter (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint32_t DigitalFilter) |
Configure Digital noise filter. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_RegisterCallback (FMPSMBUS_HandleTypeDef *hfmpsmbus, HAL_FMPSMBUS_CallbackIDTypeDef CallbackID, pFMPSMBUS_CallbackTypeDef pCallback) |
Register a User FMPSMBUS Callback To be used instead of the weak predefined callback. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_UnRegisterCallback (FMPSMBUS_HandleTypeDef *hfmpsmbus, HAL_FMPSMBUS_CallbackIDTypeDef CallbackID) |
Unregister an FMPSMBUS Callback FMPSMBUS callback is redirected to the weak predefined callback. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_RegisterAddrCallback (FMPSMBUS_HandleTypeDef *hfmpsmbus, pFMPSMBUS_AddrCallbackTypeDef pCallback) |
Register the Slave Address Match FMPSMBUS Callback To be used instead of the weak HAL_FMPSMBUS_AddrCallback() predefined callback. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_UnRegisterAddrCallback (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
UnRegister the Slave Address Match FMPSMBUS Callback Info Ready FMPSMBUS Callback is redirected to the weak HAL_FMPSMBUS_AddrCallback() predefined callback. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_IsDeviceReady (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint16_t DevAddress, uint32_t Trials, uint32_t Timeout) |
Check if target device is ready for communication. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_Master_Transmit_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Transmit in master/host FMPSMBUS mode an amount of data in non-blocking mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_Master_Receive_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Receive in master/host FMPSMBUS mode an amount of data in non-blocking mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_Master_Abort_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint16_t DevAddress) |
Abort a master/host FMPSMBUS process communication with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_Slave_Transmit_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Transmit in slave/device FMPSMBUS mode an amount of data in non-blocking mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_Slave_Receive_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Receive in slave/device FMPSMBUS mode an amount of data in non-blocking mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_EnableAlert_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Enable the FMPSMBUS alert mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_DisableAlert_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Disable the FMPSMBUS alert mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_EnableListen_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Enable the Address listen mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_FMPSMBUS_DisableListen_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Disable the Address listen mode with Interrupt. More... | |
void | HAL_FMPSMBUS_EV_IRQHandler (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Handle FMPSMBUS event interrupt request. More... | |
void | HAL_FMPSMBUS_ER_IRQHandler (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Handle FMPSMBUS error interrupt request. More... | |
void | HAL_FMPSMBUS_MasterTxCpltCallback (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Master Tx Transfer completed callback. More... | |
void | HAL_FMPSMBUS_MasterRxCpltCallback (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Master Rx Transfer completed callback. More... | |
void | HAL_FMPSMBUS_SlaveTxCpltCallback (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Slave Tx Transfer completed callback. More... | |
void | HAL_FMPSMBUS_SlaveRxCpltCallback (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Slave Rx Transfer completed callback. More... | |
void | HAL_FMPSMBUS_AddrCallback (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint8_t TransferDirection, uint16_t AddrMatchCode) |
Slave Address Match callback. More... | |
void | HAL_FMPSMBUS_ListenCpltCallback (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Listen Complete callback. More... | |
void | HAL_FMPSMBUS_ErrorCallback (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
FMPSMBUS error callback. More... | |
uint32_t | HAL_FMPSMBUS_GetState (const FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Return the FMPSMBUS handle state. More... | |
uint32_t | HAL_FMPSMBUS_GetError (const FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Return the FMPSMBUS error code. More... | |
Header file of FMPSMBUS HAL module.
Copyright (c) 2016 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32f4xx_hal_fmpsmbus.h.