Microchip® Advanced Software Framework

winc3400_ble_api/src/platform.c File Reference
#include "platform.h"

Macros

#define MINIMUM_FW_MAJ   (1)
 
#define MINIMUM_FW_MIN   (2)
 
#define MINIMUM_FW_PATCH   (2)
 
#define TIMEOUT_VALUE   4000
 

Functions

void platform_cmd_cmpl_signal ()
 fires the command-complete signal More...
 
at_ble_status_t platform_cmd_cmpl_wait (void)
 blocks until the command-complete signal is fired More...
 
void platform_event_signal ()
 fires the event signal More...
 
at_ble_status_t platform_event_wait (uint32_t timeout)
 blocks until the event signal is fired More...
 
at_ble_status_t platform_init (plf_params_t *platform_params)
 implements platform-specific initialization More...
 
at_ble_status_t platform_interface_send (uint8_t *data, uint32_t len)
 sends a message over the platform-specific bus More...
 
void platform_receive (uint8_t *data, uint32_t len)
 
void platform_set_timeout (uint32_t timeout)
 set timeout value used for wait functions. More...
 

Variables

static volatile uint32_t cmd_cmpl_flag = 0
 
static volatile uint32_t event_flag = 0
 
uint32_t gu32Jiffies1ms
 Global variables. More...
 
static uint32_t gu32Timeout = TIMEOUT_VALUE
 
static plf_params_t plf_params
 

#define MINIMUM_FW_MAJ   (1)

Referenced by platform_init().

#define MINIMUM_FW_MIN   (2)

Referenced by platform_init().

#define MINIMUM_FW_PATCH   (2)

Referenced by platform_init().

#define TIMEOUT_VALUE   4000

volatile uint32_t cmd_cmpl_flag = 0
static
volatile uint32_t event_flag = 0
static
uint32_t gu32Jiffies1ms

Global variables.

uint32_t gu32Timeout = TIMEOUT_VALUE
static
plf_params_t plf_params
static