This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Copyright 2022-2025 The MathWorks, Inc. */ | |
| #include <stdint.h> | |
| #include "mw_stm32_types.h" | |
| #include "mw_stm32_i2c_ll.h" | |
| #define MW_CHECK_VALID_BLOCK_HANDLE(blkHandle) ((NULL != (void *)(blkHandle)) && (NULL != (void *)((blkHandle)->h_i2c))) | |
| #ifdef I2C1 | |
| static STM32_I2C_ModuleStruct_T mw_i2c1; |