nmi2c.h
Go to the documentation of this file.
1 
35 #ifndef _NMI2C_H_
36 #define _NMI2C_H_
37 
39 
48 
58 sint8 nm_i2c_read_reg_with_ret(uint32 u32Addr, uint32* pu32RetVal);
59 
69 sint8 nm_i2c_write_reg(uint32 u32Addr, uint32 u32Val);
70 
82 sint8 nm_i2c_read_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
83 
95 sint8 nm_i2c_write_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
96 
97 #endif /* _NMI2C_H_ */
This module contains common APIs declarations.
signed char sint8
Range of values between -128 to 127.
Definition: nm_bsp.h:111
sint8 nm_i2c_read_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz)
sint8 nm_i2c_write_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz)
unsigned short uint16
Range of values between 0 to 65535.
Definition: nm_bsp.h:96
sint8 nm_i2c_write_reg(uint32 u32Addr, uint32 u32Val)
unsigned long uint32
Range of values between 0 to 4294967295.
Definition: nm_bsp.h:103
sint8 nm_i2c_read_reg_with_ret(uint32 u32Addr, uint32 *pu32RetVal)
unsigned char uint8
Range of values between 0 to 255.
Definition: nm_bsp.h:89
uint32 nm_i2c_read_reg(uint32 u32Addr)


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:58