WINC BSP API Declarations.
Copyright (c) 2016-2021 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | BSP_MIN(x, y) ((x)>(y)?(y):(x)) |
#define | CONST const |
#define | NM_BSP_B_L_16(x) (x) |
#define | NM_BSP_B_L_32(x) (x) |
#define | NMI_API |
#define | NULL ((void*)0) |
Typedefs | |
typedef signed short | sint16 |
Range of values between -32768 to 32767. More... | |
typedef signed long | sint32 |
Range of values between -2147483648 to 2147483647. More... | |
typedef signed char | sint8 |
Range of values between -128 to 127. More... | |
typedef void(* | tpfNmBspIsr )(void) |
Pointer to function. Used as a data type of ISR function registered by nm_bsp_register_isr. More... | |
typedef unsigned short | uint16 |
Range of values between 0 to 65535. More... | |
typedef unsigned long | uint32 |
Range of values between 0 to 4294967295. More... | |
typedef unsigned char | uint8 |
Range of values between 0 to 255. More... | |
Functions | |
sint8 | nm_bsp_deinit (void) |
De-iInitialize BSP. More... | |
sint8 | nm_bsp_init (void) |
This function is used to initialize the Board Support Package (BSP) in order to prepare the WINC before any WINC API calls. More... | |
void | nm_bsp_interrupt_ctrl (uint8 u8Enable) |
Enable/Disable interrupts from the WINC. More... | |
void | nm_bsp_register_isr (tpfNmBspIsr pfIsr) |
Register the host interface interrupt service routine. More... | |
void | nm_bsp_reset (void) |
Reset NMC1500 SoC by setting CHIP_EN and RESET_N signals low, CHIP_EN high then RESET_N high. More... | |
void | nm_bsp_sleep (uint32 u32TimeMsec) |
Used to put the host to sleep for the specified duration (in milliseconds). Forcing the host to sleep for extended period may lead to host not being able to respond to WINC board events. It is important to be considerate while choosing the sleep period. More... | |