Skip to content

Instantly share code, notes, and snippets.

/* 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;