STM32F4xx HAL Driver
master
STM32CubeF4 HAL / LL Drivers API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
stm32f4xx_hal_fmpsmbus_ex.h
Go to the documentation of this file.
1
18
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
34
38
39
/* Exported types ------------------------------------------------------------*/
40
/* Exported constants --------------------------------------------------------*/
44
48
#define FMPSMBUS_FASTMODEPLUS_SCL SYSCFG_CFGR_FMPI2C1_SCL
49
#define FMPSMBUS_FASTMODEPLUS_SDA SYSCFG_CFGR_FMPI2C1_SDA
53
57
58
/* Exported macro ------------------------------------------------------------*/
62
66
67
/* Exported functions --------------------------------------------------------*/
71
75
/* Peripheral Control functions ************************************************/
79
83
void
HAL_FMPSMBUSEx_EnableFastModePlus(uint32_t ConfigFastModePlus);
84
void
HAL_FMPSMBUSEx_DisableFastModePlus(uint32_t ConfigFastModePlus);
88
92
93
/* Private constants ---------------------------------------------------------*/
97
101
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))
113
114
/* Private Functions ---------------------------------------------------------*/
118
/* Private functions are defined in stm32f4xx_hal_fmpsmbus_ex.c file */
122
126
130
131
#endif
/* FMPI2C_CR1_PE */
132
#ifdef __cplusplus
133
}
134
#endif
135
136
#endif
/* STM32F4xx_HAL_FMPSMBUS_EX_H */
stm32f4xx_hal_def.h
This file contains HAL common defines, enumeration, macros and structures definitions.
hal-driver
Inc
stm32f4xx_hal_fmpsmbus_ex.h
Generated by
1.17.0