NetBurner 3.1
nmspi.h File Reference

This module contains NMC1000 SPI protocol bus APIs implementation. More...

Go to the source code of this file.

Functions

sint8 nm_spi_init (void)
 Initialize the SPI. More...
 
sint8 nm_spi_reset (void)
 reset the SPI More...
 

Detailed Description

This module contains NMC1000 SPI protocol bus APIs implementation.

Copyright (c) 2016-2018 Atmel Corporation. All rights reserved.

Function Documentation

◆ nm_spi_init()

nm_spi_init ( void  )

Initialize the SPI.

Returns
ZERO in case of success and M2M_ERR_BUS_FAIL in case of failure

◆ nm_spi_reset()

nm_spi_reset ( void  )

reset the SPI

Returns
ZERO in case of success and M2M_ERR_BUS_FAIL in case of failure