76 #define NULL ((void*)0) 83 #define BSP_MIN(x,y) ((x)>(y)?(y):(x)) 100 typedef unsigned char uint8;
107 typedef unsigned short uint16;
114 typedef unsigned long uint32;
122 typedef signed char sint8;
129 typedef signed short sint16;
137 typedef signed long sint32;
204 void resetWILC(
int resetPinNum = -1,
int wakePinNum =-1,
int chipEnablePinNum = -1,
int connectorNum = -1);
225 void nSecDelay(
unsigned char nSec);
307 #include "nm_bsp_win32.h" 308 #define __M2M_DMA_BUF_ATT__ 312 #include "nm_bsp_k20d50m.h" 313 #define __M2M_DMA_BUF_ATT__ 316 #ifdef __MSP430FR5739__ 317 #include "bsp_msp430fr5739.h" 318 #define __M2M_DMA_BUF_ATT__ 321 #ifdef _FREESCALE_MCF51CN128_ 322 #include "bsp/include/nm_bsp_mcf51cn128.h" 323 #define __M2M_DMA_BUF_ATT__ 327 #include "bsp/include/nm_bsp_mc96f4548.h" 328 #define __M2M_DMA_BUF_ATT__ 331 #ifdef __APP_APS3_CORTUS__ 332 #include "nm_bsp_aps3_cortus.h" 333 #define __M2M_DMA_BUF_ATT__ 337 #include "bsp\include\nm_bsp_linux.h" 338 #define __M2M_DMA_BUF_ATT__ 341 #if (defined __SAMD21J18A__) || (defined __SAMD21G18A__) 342 #include "bsp/include/nm_bsp_samd21.h" 343 #define __M2M_DMA_BUF_ATT__ 346 #if (defined __SAM4S16C__) || (defined __SAM4SD32C__) 347 #include "bsp/include/nm_bsp_sam4s.h" 348 #define __M2M_DMA_BUF_ATT__ __attribute__((aligned(32))) 350 #if (defined __SAMV71Q21__) || (defined __SAMS70N21__) || (defined __SAMV71Q21B__) 351 #include "bsp/include/nm_bsp_samv71.h" 352 #define __M2M_DMA_BUF_ATT__ __attribute__((aligned(32))) 356 #include "bsp/include/nm_bsp_samg53.h" 357 #define __M2M_DMA_BUF_ATT__ 361 #include "bsp/include/nm_bsp_samg55.h" 362 #define __M2M_DMA_BUF_ATT__ 366 #include "crt_iface.h" 367 #define __M2M_DMA_BUF_ATT__ 371 #include "nm_bsp_nrf51822.h" 372 #define __M2M_DMA_BUF_ATT__ 376 #include <bsp/include/nm_bsp_arduino_uno.h> 377 #define __M2M_DMA_BUF_ATT__ 382 #define __M2M_DMA_BUF_ATT__ __attribute__((aligned(32))) 386 #define __M2M_DMA_BUF_ATT__ __attribute__((aligned(32))) 390 #ifndef __M2M_DMA_BUF_ATT__ 391 #define __M2M_DMA_BUF_ATT__ __attribute__((aligned(32))) 392 #warning __M2M_DMA_BUF_ATT__ not defined 401 #define NM_BSP_B_L_32(x) \ 402 ((((x) & 0x000000FF) << 24) + \ 403 (((x) & 0x0000FF00) << 8) + \ 404 (((x) & 0x00FF0000) >> 8) + \ 405 (((x) & 0xFF000000) >> 24)) 406 #define NM_BSP_B_L_16(x) \ 407 ((((x) & 0x00FF) << 8) + \ 408 (((x) & 0xFF00) >> 8)) 410 #define NM_BSP_B_L_32(x) (x) 411 #define NM_BSP_B_L_16(x) (x) void * nm_bsp_malloc(uint32 u32Size)
Allocate memory.
void(* tpfNmBspIsr)(void)
Pointer to function. Used as a data type of ISR function registered by nm_bsp_register_isr.
Definition: nm_bsp.h:71
void nm_bsp_interrupt_ctrl(uint8 u8Enable)
Enable/Disable interrupts.
sint8 nm_bsp_init(void)
Initialization for bsp (Board Support Package) such as Reset and Chip Enable Pins for WILC...
#define uint32
Range of values between 0 to 4294967295.
Definition: aes.cpp:38
signed long sint32
Range of values between -2147483648 to 2147483647.
Definition: nm_bsp.h:138
signed char sint8
Range of values between -128 to 127.
Definition: nm_bsp.h:123
signed short sint16
Range of values between -32768 to 32767.
Definition: nm_bsp.h:130
sint8 nm_bsp_deinit(void)
#define uint8
Range of values between 0 to 255.
Definition: aes.cpp:34
void nm_bsp_free(void *pvMemBuffer)
Free memory.
unsigned short uint16
Range of values between 0 to 65535.
Definition: ahdlc.cpp:46