Microchip® Advanced Software Framework

winc1500/host_drv/driver/source/nmi2c.h File Reference

This module contains NMC1000 I2C protocol bus APIs implementation.

Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries.

#include "common/include/nm_common.h"

Functions

sint8 nm_i2c_read_block (uint32 u32Addr, uint8 *puBuf, uint16 u16Sz)
 
uint32 nm_i2c_read_reg (uint32 u32Addr)
 
sint8 nm_i2c_read_reg_with_ret (uint32 u32Addr, uint32 *pu32RetVal)
 
sint8 nm_i2c_write_block (uint32 u32Addr, uint8 *puBuf, uint16 u16Sz)
 
sint8 nm_i2c_write_reg (uint32 u32Addr, uint32 u32Val)
 

sint8 nm_i2c_read_block ( uint32  u32Addr,
uint8 puBuf,
uint16  u16Sz 
)
uint32 nm_i2c_read_reg ( uint32  u32Addr)
sint8 nm_i2c_read_reg_with_ret ( uint32  u32Addr,
uint32 pu32RetVal 
)
sint8 nm_i2c_write_block ( uint32  u32Addr,
uint8 puBuf,
uint16  u16Sz 
)
sint8 nm_i2c_write_reg ( uint32  u32Addr,
uint32  u32Val 
)