no-OS
Classes | Macros | Enumerations | Variables
maxim_i2c.h File Reference
#include <stdint.h>
#include "i2c_regs.h"
#include "max78000.h"
#include "gpio.h"
#include "no_os_i2c.h"
Include dependency graph for maxim_i2c.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  max_i2c_extra
 MAXIM specific I2C handler structure. More...
 
struct  max_i2c_init_param
 

Macros

#define MXC_I2C_GET_I2C(i)
 

Enumerations

enum  max_i2c_speed {
  MAX_I2C_STD_MODE = 100000,
  MAX_I2C_FAST_MODE = 400000,
  MAX_I2C_FAST_PLUS_MODE = 1000000,
  MAX_I2C_HS_MODE = 3400000,
  MAX_I2C_STD_MODE = 100000,
  MAX_I2C_FAST_MODE = 400000,
  MAX_I2C_FAST_PLUS_MODE = 1000000,
  MAX_I2C_HS_MODE = 3400000,
  MAX_I2C_STD_MODE = 100000,
  MAX_I2C_FAST_MODE = 400000,
  MAX_I2C_FAST_PLUS_MODE = 1000000,
  MAX_I2C_HS_MODE = 3400000,
  MAX_I2C_STD_MODE = 100000,
  MAX_I2C_FAST_MODE = 400000,
  MAX_I2C_FAST_PLUS_MODE = 1000000,
  MAX_I2C_HS_MODE = 3400000,
  MAX_I2C_STD_MODE = 100000,
  MAX_I2C_FAST_MODE = 400000,
  MAX_I2C_FAST_PLUS_MODE = 1000000,
  MAX_I2C_HS_MODE = 3400000,
  MAX_I2C_STD_MODE = 100000,
  MAX_I2C_FAST_MODE = 400000,
  MAX_I2C_FAST_PLUS_MODE = 1000000,
  MAX_I2C_HS_MODE = 3400000,
  MAX_I2C_STD_MODE = 100000,
  MAX_I2C_FAST_MODE = 400000,
  MAX_I2C_FAST_PLUS_MODE = 1000000,
  MAX_I2C_HS_MODE = 3400000
}
 

Variables

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

Macro Definition Documentation

◆ MXC_I2C_GET_I2C

#define MXC_I2C_GET_I2C (   i)
Value:
((i) == 0 ? MXC_I2C0 : \
(i) == 1 ? MXC_I2C1 : \
(i) == 2 ? MXC_I2C2 : 0)

Enumeration Type Documentation

◆ max_i2c_speed

Enumerator
MAX_I2C_STD_MODE 
MAX_I2C_FAST_MODE 
MAX_I2C_FAST_PLUS_MODE 
MAX_I2C_HS_MODE 
MAX_I2C_STD_MODE 
MAX_I2C_FAST_MODE 
MAX_I2C_FAST_PLUS_MODE 
MAX_I2C_HS_MODE 
MAX_I2C_STD_MODE 
MAX_I2C_FAST_MODE 
MAX_I2C_FAST_PLUS_MODE 
MAX_I2C_HS_MODE 
MAX_I2C_STD_MODE 
MAX_I2C_FAST_MODE 
MAX_I2C_FAST_PLUS_MODE 
MAX_I2C_HS_MODE 
MAX_I2C_STD_MODE 
MAX_I2C_FAST_MODE 
MAX_I2C_FAST_PLUS_MODE 
MAX_I2C_HS_MODE 
MAX_I2C_STD_MODE 
MAX_I2C_FAST_MODE 
MAX_I2C_FAST_PLUS_MODE 
MAX_I2C_HS_MODE 
MAX_I2C_STD_MODE 
MAX_I2C_FAST_MODE 
MAX_I2C_FAST_PLUS_MODE 
MAX_I2C_HS_MODE 

Variable Documentation

◆ max_i2c_ops

const struct no_os_i2c_platform_ops max_i2c_ops

MAXIM specific I2C platform ops structure.

MAXIM specific I2C platform ops structure.