nmbus.h
Go to the documentation of this file.
1 
35 #ifndef _NMBUS_H_
36 #define _NMBUS_H_
37 
40 
41 
42 
43 #ifdef __cplusplus
44 extern "C"{
45 #endif
46 
51 sint8 nm_bus_iface_init(uint8 *pvInitVal, uint32 req_serial_number);
52 
53 
60 
67 
75 uint32 nm_read_reg(uint32 u32Addr);
76 
86 sint8 nm_read_reg_with_ret(uint32 u32Addr, uint32* pu32RetVal);
87 
97 sint8 nm_write_reg(uint32 u32Addr, uint32 u32Val);
98 
110 sint8 nm_read_block(uint32 u32Addr, uint8 *puBuf, uint32 u32Sz);
111 
123 sint8 nm_write_block(uint32 u32Addr, uint8 *puBuf, uint32 u32Sz);
124 
125 
126 
127 
128 #ifdef __cplusplus
129 }
130 #endif
131 
132 #endif /* _NMBUS_H_ */
sint8 nm_bus_iface_deinit(void)
Deinitialize bus interface.
Definition: nmbus.c:67
This module contains common APIs declarations.
signed char sint8
Range of values between -128 to 127.
Definition: nm_bsp.h:111
uint32 nm_read_reg(uint32 u32Addr)
Definition: nmbus.c:104
sint8 nm_bus_iface_reconfigure(void *ptr)
Definition: nmbus.c:83
sint8 nm_bus_iface_init(uint8 *pvInitVal, uint32 req_serial_number)
Definition: nmbus.c:51
This module contains WINC3400 bus wrapper APIs declarations.
sint8 nm_write_reg(uint32 u32Addr, uint32 u32Val)
Definition: nmbus.c:155
sint8 nm_write_block(uint32 u32Addr, uint8 *puBuf, uint32 u32Sz)
Definition: nmbus.c:248
sint8 nm_read_block(uint32 u32Addr, uint8 *puBuf, uint32 u32Sz)
Definition: nmbus.c:195
unsigned long uint32
Range of values between 0 to 4294967295.
Definition: nm_bsp.h:103
unsigned char uint8
Range of values between 0 to 255.
Definition: nm_bsp.h:89
sint8 nm_read_reg_with_ret(uint32 u32Addr, uint32 *pu32RetVal)
Definition: nmbus.c:130


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:04