This module contains WINC3400 bus APIs implementation.
Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.
#include "common/include/nm_common.h"
#include "bus_wrapper/include/nm_bus_wrapper.h"
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_bus_reset (void) |
reset bus interface More... | |
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) |
sint8 nm_bus_iface_deinit | ( | void | ) |
Deinitialize bus interface.
References M2M_SUCCESS, nm_bus_init(), and ret.
Referenced by nm_drv_init_download_mode(), and nm_drv_init_hold().
sint8 nm_bus_iface_reconfigure | ( | void * | ptr | ) |
sint8 nm_bus_reset | ( | void | ) |
reset bus interface
Reset bus interface.