no-OS
Macros | Functions | Variables
maxim_i2c.c File Reference

Implementation of max32660 I2C driver. More...

#include <stdint.h>
#include <stdlib.h>
#include "i2c.h"
#include "no_os_error.h"
#include "no_os_i2c.h"
#include "no_os_util.h"
#include "maxim_i2c.h"
#include "mxc_errors.h"
#include "max32650.h"
Include dependency graph for maxim_i2c.c:

Macros

#define I2C_MASTER_MODE   1
 

Functions

void I2C0_IRQHandler (void)
 I2C0 interrupt handler. More...
 
void I2C1_IRQHandler (void)
 I2C1 interrupt handler. More...
 

Variables

const struct no_os_i2c_platform_ops max_i2c_ops
 MAXIM platform specific I2C platform ops structure. More...
 

Detailed Description

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.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Macro Definition Documentation

◆ I2C_MASTER_MODE

#define I2C_MASTER_MODE   1

Function Documentation

◆ I2C0_IRQHandler()

void I2C0_IRQHandler ( void  )

I2C0 interrupt handler.

Returns
void

◆ I2C1_IRQHandler()

void I2C1_IRQHandler ( void  )

I2C1 interrupt handler.

Returns
void

Variable Documentation

◆ max_i2c_ops

const struct no_os_i2c_platform_ops 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.