42 static void chip_isr(uint32_t 
id, uint32_t mask)
   119         while(u32TimeMsec--) {
 void nm_bsp_reset(void)
Reset WINC1500 SoC by setting CHIP_EN and RESET_N signals low, CHIP_EN high then RESET_N high...
 
#define CONF_WINC_PIN_WAKE
 
This module contains common APIs declarations. 
 
signed char sint8
Range of values between -128 to 127. 
 
static void ioport_set_pin_level(ioport_pin_t pin, bool level)
Set an IOPORT pin to a specified logical value. 
 
void nm_bsp_register_isr(tpfNmBspIsr pfIsr)
 
#define CONF_WINC_SPI_INT_PIO
 
static void init_chip_pins(void)
 
void nm_bsp_interrupt_ctrl(uint8 u8Enable)
Enable/Disable interrupts. 
 
uint32_t pmc_enable_periph_clk(uint32_t ul_id)
Enable the specified peripheral clock. 
 
#define CONF_WINC_SPI_INT_PIN
 
static void ioport_init(void)
Initializes the IOPORT service, ready for use. 
 
__STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn)
Enable External Interrupt. 
 
void pio_enable_interrupt(Pio *p_pio, const uint32_t ul_mask)
Enable the given interrupt source. The PIO must be configured as an NVIC interrupt source as well...
 
void pio_disable_interrupt(Pio *p_pio, const uint32_t ul_mask)
Disable a given interrupt source, with no added side effects. 
 
void nm_bsp_sleep(uint32 u32TimeMsec)
 
static tpfNmBspIsr gpfIsr
 
void pio_pull_up(Pio *p_pio, const uint32_t ul_mask, const uint32_t ul_pull_up_enable)
Configure PIO internal pull-up. 
 
#define CONF_WINC_SPI_INT_PIO_ID
 
uint32_t pio_get_interrupt_status(const Pio *p_pio)
Read and clear PIO interrupt status. 
 
static void ioport_set_pin_dir(ioport_pin_t pin, enum ioport_direction dir)
Set direction for a single IOPORT pin. 
 
#define CONF_WINC_PIN_CHIP_ENABLE
 
void pio_handler_set_priority(Pio *p_pio, IRQn_Type ul_irqn, uint32_t ul_priority)
Initialize PIO interrupt management logic. 
 
#define CONF_WINC_SPI_INT_PRIORITY
 
static void chip_isr(uint32_t id, uint32_t mask)
 
unsigned long uint32
Range of values between 0 to 4294967295. 
 
This module contains WINC3400 BSP APIs declarations. 
 
#define delay_ms(delay)
Delay in milliseconds. 
 
#define PIO_TYPE_PIO_INPUT
 
uint32_t pio_configure_pin(uint32_t ul_pin, const uint32_t ul_flags)
Perform complete pin(s) configuration; general attributes and PIO init if necessary. 
 
unsigned char uint8
Range of values between 0 to 255. 
 
Autogenerated API include file for the Atmel Software Framework (ASF) 
 
#define CONF_WINC_SPI_INT_MASK
 
sint8 nm_bsp_deinit(void)
De-iInitialize BSP. 
 
void(* tpfNmBspIsr)(void)
Pointer to function.  Used as a data type of ISR function registered by nm_bsp_register_isr. 
 
#define CONF_WINC_PIN_RESET
 
uint32_t pio_handler_set(Pio *p_pio, uint32_t ul_id, uint32_t ul_mask, uint32_t ul_attr, void(*p_handler)(uint32_t, uint32_t))
Set an interrupt handler for the provided pins. The provided handler will be called with the triggeri...