Microchip® Advanced Software Framework

osprintf.c File Reference

Copyright (c) 2015-2018 Microchip Technology Inc.

and its subsidiaries.

#include "asf.h"
#include <stdio.h>
#include <stdarg.h>
#include "FreeRTOS.h"
#include "osprintf.h"

Functions

void osprint (const char *s)
 
void osprint_hex_array (uint8_t *p, int sz)
 
void osprint_sem_give (void)
 
void osprint_sem_take (void)
 
void osprintf (const char *fmt,...)
 
void osprintf_init (void *usart, const void *opt)
 

Variables

xSemaphoreHandle trace_lock
 

void osprint ( const char *  s)

References xSemaphoreGive, and xSemaphoreTake.

Referenced by http_request(), sta_task(), and wifi_cb().

void osprint_hex_array ( uint8_t *  p,
int  sz 
)

References xSemaphoreGive, and xSemaphoreTake.

void osprint_sem_give ( void  )

References xSemaphoreGive.

void osprint_sem_take ( void  )

References xSemaphoreTake.

void osprintf_init ( void *  usart,
const void *  opt 
)

xSemaphoreHandle trace_lock