From cd98e31b5bfe5ccabfb1c3dd11633a6ab030ec63 Mon Sep 17 00:00:00 2001
From: Yasin Ustuner <yasinustuner71@gmail.com>
Date: Mon, 23 Dec 2024 15:28:14 +0300
Subject: [PATCH] Add clock definitions for MAX78000 SoC

This commit adds i2c related clock definitions
for MAX78000 SoC

Signed-off-by: Yasin Ustuner <yasinustuner71@gmail.com>
---
 Libraries/PeriphDrivers/Include/MAX78000/i2c.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Libraries/PeriphDrivers/Include/MAX78000/i2c.h b/Libraries/PeriphDrivers/Include/MAX78000/i2c.h
index 7ccb00b22f0..2a6935308c7 100644
--- a/Libraries/PeriphDrivers/Include/MAX78000/i2c.h
+++ b/Libraries/PeriphDrivers/Include/MAX78000/i2c.h
@@ -7,7 +7,7 @@
  *
  * Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by 
  * Analog Devices, Inc.),
- * Copyright (C) 2023-2024 Analog Devices, Inc.
+ * Copyright (C) 2023-2025 Analog Devices, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -43,6 +43,12 @@ extern "C" {
  * @{
  */
 
+/***** Definitions *****/
+#define MXC_I2C_STD_MODE 100000
+#define MXC_I2C_FAST_SPEED 400000
+#define MXC_I2C_FASTPLUS_SPEED 1000000
+#define MXC_I2C_HIGH_SPEED 3400000
+
 typedef struct _i2c_req_t mxc_i2c_req_t;
 /**
  * @brief   The callback used by the MXC_I2C_ReadByteInteractive() function.