sys_arch.h File Reference


Detailed Description

lwIP abstraction layer for AVR32 UC3.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file sys_arch.h.

#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "semphr.h"

Go to the source code of this file.

Defines

#define SYS_MBOX_NULL   (xQueueHandle)0
#define SYS_SEM_NULL   (xSemaphoreHandle)0

Typedefs

typedef xQueueHandle sys_mbox_t
typedef unsigned long int sys_prot_t
typedef xSemaphoreHandle sys_sem_t
typedef xTaskHandle sys_thread_t

Functions

sys_prot_t sys_arch_protect (void)
void sys_arch_unprotect (sys_prot_t pval)


Define Documentation

#define SYS_MBOX_NULL   (xQueueHandle)0

Definition at line 59 of file sys_arch.h.

Referenced by sys_mbox_free(), and sys_mbox_new().

#define SYS_SEM_NULL   (xSemaphoreHandle)0

Definition at line 60 of file sys_arch.h.

Referenced by sys_sem_free(), and sys_sem_new().


Typedef Documentation

typedef xQueueHandle sys_mbox_t

Definition at line 56 of file sys_arch.h.

typedef unsigned long int sys_prot_t

Definition at line 62 of file sys_arch.h.

typedef xSemaphoreHandle sys_sem_t

Definition at line 55 of file sys_arch.h.

typedef xTaskHandle sys_thread_t

Definition at line 57 of file sys_arch.h.


Function Documentation

sys_prot_t sys_arch_protect ( void   ) 

Definition at line 416 of file sys_arch.c.

References vPortEnterCritical().

00417 {
00418   vPortEnterCritical();
00419   return 1; // Not used
00420 }

void sys_arch_unprotect ( sys_prot_t  pval  ) 

Definition at line 425 of file sys_arch.c.

References vPortExitCritical().

00426 {
00427   vPortExitCritical();
00428 }


Generated on Mon Nov 2 11:38:47 2009 for AVR32 - PolarSSL - SSL Example by  doxygen 1.5.5