Functions
nmbus.h File Reference

This module contains WINC3400 bus APIs implementation. More...

#include "common/include/nm_common.h"
#include "bus_wrapper/include/nm_bus_wrapper.h"
Include dependency graph for nmbus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

sint8 nm_bus_iface_deinit (void)
 Deinitialize bus interface. More...
 
sint8 nm_bus_iface_init (uint8 *pvInitVal, uint32 req_serial_number)
 
sint8 nm_bus_iface_reconfigure (void *ptr)
 
sint8 nm_read_block (uint32 u32Addr, uint8 *puBuf, uint32 u32Sz)
 
uint32 nm_read_reg (uint32 u32Addr)
 
sint8 nm_read_reg_with_ret (uint32 u32Addr, uint32 *pu32RetVal)
 
sint8 nm_write_block (uint32 u32Addr, uint8 *puBuf, uint32 u32Sz)
 
sint8 nm_write_reg (uint32 u32Addr, uint32 u32Val)
 

Detailed Description

This module contains WINC3400 bus APIs implementation.

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

Definition in file nmbus.h.

Function Documentation

◆ nm_bus_iface_deinit()

sint8 nm_bus_iface_deinit ( void  )

Deinitialize bus interface.

Returns
M2M_SUCCESS in case of success and M2M_ERR_BUS_FAIL in case of failure
Author
Samer Sarhan
Date
07 April 2014
Version
1.0
Returns
M2M_SUCCESS in case of success and M2M_ERR_BUS_FAIL in case of failure

Definition at line 67 of file nmbus.c.

◆ nm_bus_iface_init()

sint8 nm_bus_iface_init ( uint8 pvInitVal,
uint32  req_serial_number 
)

Definition at line 51 of file nmbus.c.

◆ nm_bus_iface_reconfigure()

sint8 nm_bus_iface_reconfigure ( void *  ptr)

Definition at line 83 of file nmbus.c.

◆ nm_read_block()

sint8 nm_read_block ( uint32  u32Addr,
uint8 puBuf,
uint32  u32Sz 
)

Definition at line 195 of file nmbus.c.

◆ nm_read_reg()

uint32 nm_read_reg ( uint32  u32Addr)

Definition at line 104 of file nmbus.c.

◆ nm_read_reg_with_ret()

sint8 nm_read_reg_with_ret ( uint32  u32Addr,
uint32 pu32RetVal 
)

Definition at line 130 of file nmbus.c.

◆ nm_write_block()

sint8 nm_write_block ( uint32  u32Addr,
uint8 puBuf,
uint32  u32Sz 
)

Definition at line 248 of file nmbus.c.

◆ nm_write_reg()

sint8 nm_write_reg ( uint32  u32Addr,
uint32  u32Val 
)

Definition at line 155 of file nmbus.c.



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