STM32F4xx_HAL_Driver  1.8.3
stm32f4xx_hal_fmpsmbus_ex.h
Go to the documentation of this file.
1 
19 /* Define to prevent recursive inclusion -------------------------------------*/
20 #ifndef STM32F4xx_HAL_FMPSMBUS_EX_H
21 #define STM32F4xx_HAL_FMPSMBUS_EX_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 #if defined(FMPI2C_CR1_PE)
28 /* Includes ------------------------------------------------------------------*/
29 #include "stm32f4xx_hal_def.h"
30 
39 /* Exported types ------------------------------------------------------------*/
40 /* Exported constants --------------------------------------------------------*/
48 #define FMPSMBUS_FASTMODEPLUS_SCL SYSCFG_CFGR_FMPI2C1_SCL
49 #define FMPSMBUS_FASTMODEPLUS_SDA SYSCFG_CFGR_FMPI2C1_SDA
58 /* Exported macro ------------------------------------------------------------*/
67 /* Exported functions --------------------------------------------------------*/
75 /* Peripheral Control functions ************************************************/
83 void HAL_FMPSMBUSEx_EnableFastModePlus(uint32_t ConfigFastModePlus);
84 void HAL_FMPSMBUSEx_DisableFastModePlus(uint32_t ConfigFastModePlus);
93 /* Private constants ---------------------------------------------------------*/
102 /* Private macros ------------------------------------------------------------*/
106 #define IS_FMPSMBUS_FASTMODEPLUS(__CONFIG__) ((((__CONFIG__) & (FMPSMBUS_FASTMODEPLUS_SCL)) == \
107  FMPSMBUS_FASTMODEPLUS_SCL) || \
108  (((__CONFIG__) & (FMPSMBUS_FASTMODEPLUS_SDA)) == \
109  FMPSMBUS_FASTMODEPLUS_SDA))
114 /* Private Functions ---------------------------------------------------------*/
118 /* Private functions are defined in stm32f4xx_hal_fmpsmbus_ex.c file */
131 #endif /* FMPI2C_CR1_PE */
132 #ifdef __cplusplus
133 }
134 #endif
135 
136 #endif /* STM32F4xx_HAL_FMPSMBUS_EX_H */
void HAL_FMPSMBUSEx_DisableFastModePlus(uint32_t ConfigFastModePlus)
Disable the FMPSMBUS fast mode plus driving capability.
void HAL_FMPSMBUSEx_EnableFastModePlus(uint32_t ConfigFastModePlus)
Enable the FMPSMBUS fast mode plus driving capability.
This file contains HAL common defines, enumeration, macros and structures definitions.