Functions
nmuart.h File Reference

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

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

Go to the source code of this file.

Functions

sint8 nm_uart_read_block (uint32 u32Addr, uint8 *puBuf, uint16 u16Sz)
 
uint32 nm_uart_read_reg (uint32 u32Addr)
 
sint8 nm_uart_read_reg_with_ret (uint32 u32Addr, uint32 *pu32RetVal)
 
sint8 nm_uart_reboot_cmd (void)
 Sends a command to the MCU to force the reboot of the WINC. More...
 
sint8 nm_uart_reconfigure (void *ptr)
 
sint8 nm_uart_sync_cmd (void)
 
sint8 nm_uart_write_block (uint32 u32Addr, uint8 *puBuf, uint16 u16Sz)
 
sint8 nm_uart_write_reg (uint32 u32Addr, uint32 u32Val)
 

Detailed Description

This module contains WINC3400 UART protocol bus APIs implementation.

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

Definition in file nmuart.h.

Function Documentation

◆ nm_uart_read_block()

sint8 nm_uart_read_block ( uint32  u32Addr,
uint8 puBuf,
uint16  u16Sz 
)

◆ nm_uart_read_reg()

uint32 nm_uart_read_reg ( uint32  u32Addr)

◆ nm_uart_read_reg_with_ret()

sint8 nm_uart_read_reg_with_ret ( uint32  u32Addr,
uint32 pu32RetVal 
)

◆ nm_uart_reboot_cmd()

nm_uart_reboot_cmd ( void  )

Sends a command to the MCU to force the reboot of the WINC.

Returns
M2M_SUCCESS in case of success and M2M_ERR_BUS_FAIL in case of failure
Version
1.0

◆ nm_uart_reconfigure()

sint8 nm_uart_reconfigure ( void *  ptr)

◆ nm_uart_sync_cmd()

sint8 nm_uart_sync_cmd ( void  )

◆ nm_uart_write_block()

sint8 nm_uart_write_block ( uint32  u32Addr,
uint8 puBuf,
uint16  u16Sz 
)

◆ nm_uart_write_reg()

sint8 nm_uart_write_reg ( uint32  u32Addr,
uint32  u32Val 
)


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