Skip to content

Commit

Permalink
Add clock definitions for MAX78000 SoC
Browse files Browse the repository at this point in the history
This commit adds i2c related clock definitions
for MAX78000 SoC

Signed-off-by: Yasin Ustuner <yasinustuner71@gmail.com>
  • Loading branch information
yasinustunerg committed Dec 23, 2024
1 parent ecbdf92 commit 531392b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Libraries/PeriphDrivers/Include/MAX78000/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 531392b

Please sign in to comment.