Implementation of max32660 I2C driver.
More...
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "i2c.h"
#include "i2c_reva.h"
#include "no_os_error.h"
#include "no_os_util.h"
#include "no_os_alloc.h"
#include "maxim_i2c.h"
#include "mxc_errors.h"
#include "max32665.h"
Implementation of max32660 I2C driver.
- Author
- Andrei Drimbarean (andre.nosp@m.i.dr.nosp@m.imbar.nosp@m.ean@.nosp@m.analo.nosp@m.g.co.nosp@m.m)
-
Ciprian Regus (cipri.nosp@m.an.r.nosp@m.egus@.nosp@m.anal.nosp@m.og.co.nosp@m.m)
Copyright 2022(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ I2C_BUS_IDLE_TIMEOUT
| #define I2C_BUS_IDLE_TIMEOUT 100000 |
◆ I2C_LONG_READ_TIMEOUT_MS
| #define I2C_LONG_READ_TIMEOUT_MS 35 |
◆ I2C_MASTER_MODE
| #define I2C_MASTER_MODE 1 |
◆ I2C0_IRQHandler()
| void I2C0_IRQHandler |
( |
void | | ) |
|
◆ I2C1_IRQHandler()
| void I2C1_IRQHandler |
( |
void | | ) |
|
◆ max_i2c_ops
Initial value:= {
.i2c_ops_init = &max_i2c_init,
.i2c_ops_write = &max_i2c_write,
.i2c_ops_read = &max_i2c_read,
.i2c_ops_remove = &max_i2c_remove
}
MAXIM platform specific I2C platform ops structure.
MAXIM specific I2C platform ops structure.