You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
618 B
28 lines
618 B
# Copyright (c) 2024 Analog Devices, Inc. |
|
# SPDX-License-Identifier: Apache-2.0 |
|
|
|
menuconfig I2C_MAX32 |
|
bool "Analog Devices MAX32 I2C driver" |
|
default y |
|
depends on DT_HAS_ADI_MAX32_I2C_ENABLED |
|
select PINCTRL |
|
help |
|
i2c driver for max32 family. |
|
|
|
if I2C_MAX32 |
|
|
|
config I2C_MAX32_INTERRUPT |
|
bool "Interrupt support for MAX32 I2C driver" |
|
default y |
|
help |
|
Enable interrupt support for MAX32 I2C controller mode |
|
transfers. |
|
|
|
config I2C_MAX32_DMA |
|
bool "DMA support for MAX32 MCU I2C driver" |
|
depends on I2C_MAX32_INTERRUPT |
|
select DMA |
|
help |
|
Use DMA for MAX32 MCU I2C controller mode transfers. |
|
|
|
endif # I2C_MAX32
|
|
|