NetBurner 3.1
nm_bsp.h File Reference

This module contains NMC1500 BSP APIs declarations. More...

#include <endian.h>

Go to the source code of this file.

Macros

#define NMI_API
 
#define CONST   const
 
#define NULL   ((void*)0)
 
#define BSP_MIN(x, y)   ((x)>(y)?(y):(x))
 

Typedefs

typedef void(* tpfNmBspIsr) (void)
 Pointer to function.
Used as a data type of ISR function registered by nm_bsp_register_isr. More...
 
typedef signed char sint8
 Range of values between -128 to 127.
 
typedef signed short sint16
 Range of values between -32768 to 32767.
 
typedef signed long sint32
 Range of values between -2147483648 to 2147483647.
 

Functions

sint8 nm_bsp_init (void)
 Initialization for bsp (Board Support Package) such as Reset and Chip Enable Pins for WILC, delays, register ISR, enable/disable IRQ for WILC, ...etc.
You must use this function in the head of your application to enable WILC and Host Driver communicate each other. More...
 
sint8 nm_bsp_deinit (void)
 
void nm_bsp_interrupt_ctrl (uint8 u8Enable)
 Enable/Disable interrupts. More...
 
void * nm_bsp_malloc (uint32 u32Size)
 Allocate memory. More...
 
void nm_bsp_free (void *pvMemBuffer)
 Free memory. More...
 

Detailed Description

This module contains NMC1500 BSP APIs declarations.

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