nmuart.h
Go to the documentation of this file.
1 
35 #ifndef _NMUART_H_
36 #define _NMUART_H_
37 
39 
40 /*
41 * @fn nm_uart_sync_cmd
42 * @brief Check COM Port
43 * @return ZERO in case of success and M2M_ERR_BUS_FAIL in case of failure
44 */
54 
62 
72 sint8 nm_uart_read_reg_with_ret(uint32 u32Addr, uint32* pu32RetVal);
73 
83 sint8 nm_uart_write_reg(uint32 u32Addr, uint32 u32Val);
84 
96 sint8 nm_uart_read_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
97 
109 sint8 nm_uart_write_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz);
110 
118 sint8 nm_uart_reconfigure(void *ptr);
119 #endif /* _NMI2C_H_ */
sint8 nm_uart_reboot_cmd(void)
Sends a command to the MCU to force the reboot of the WINC.
This module contains common APIs declarations.
signed char sint8
Range of values between -128 to 127.
Definition: nm_bsp.h:111
sint8 nm_uart_read_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz)
sint8 nm_uart_read_reg_with_ret(uint32 u32Addr, uint32 *pu32RetVal)
unsigned short uint16
Range of values between 0 to 65535.
Definition: nm_bsp.h:96
sint8 nm_uart_write_reg(uint32 u32Addr, uint32 u32Val)
sint8 nm_uart_write_block(uint32 u32Addr, uint8 *puBuf, uint16 u16Sz)
sint8 nm_uart_reconfigure(void *ptr)
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
uint32 nm_uart_read_reg(uint32 u32Addr)
sint8 nm_uart_sync_cmd(void)


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