uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
port.c File Reference
#include "FreeRTOS.h"
#include "task.h"

Go to the source code of this file.

Macros

#define configKERNEL_INTERRUPT_PRIORITY   255
 
#define portNVIC_SYSTICK_CTRL   ( ( volatile unsigned long *) 0xe000e010 )
 
#define portNVIC_SYSTICK_LOAD   ( ( volatile unsigned long *) 0xe000e014 )
 
#define portNVIC_INT_CTRL   ( ( volatile unsigned long *) 0xe000ed04 )
 
#define portNVIC_SYSPRI2   ( ( volatile unsigned long *) 0xe000ed20 )
 
#define portNVIC_SYSTICK_CLK   0x00000004
 
#define portNVIC_SYSTICK_INT   0x00000002
 
#define portNVIC_SYSTICK_ENABLE   0x00000001
 
#define portNVIC_PENDSVSET   0x10000000
 
#define portNVIC_PENDSV_PRI   ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 16 )
 
#define portNVIC_SYSTICK_PRI   ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 24 )
 
#define portINITIAL_XPSR   ( 0x01000000 )
 

Functions

void xPortPendSVHandler (void xPortSysTickHandler void)
 
void vPortSVCHandler (void)
 
void vPortStartFirstTask (void)
 
portBASE_TYPE xPortStartScheduler (void)
 
void vPortEndScheduler (void)
 
void vPortYieldFromISR (void)
 
void vPortEnterCritical (void)
 
void vPortExitCritical (void)
 
void xPortPendSVHandler (void)
 
void xPortSysTickHandler (void)
 

Variables

const unsigned long ulKernelPriority = configKERNEL_INTERRUPT_PRIORITY
 

Macro Definition Documentation

#define configKERNEL_INTERRUPT_PRIORITY   255

Definition at line 66 of file port.c.

#define portINITIAL_XPSR   ( 0x01000000 )

Definition at line 82 of file port.c.

#define portNVIC_INT_CTRL   ( ( volatile unsigned long *) 0xe000ed04 )

Definition at line 72 of file port.c.

#define portNVIC_PENDSV_PRI   ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 16 )

Definition at line 78 of file port.c.

#define portNVIC_PENDSVSET   0x10000000

Definition at line 77 of file port.c.

#define portNVIC_SYSPRI2   ( ( volatile unsigned long *) 0xe000ed20 )

Definition at line 73 of file port.c.

#define portNVIC_SYSTICK_CLK   0x00000004

Definition at line 74 of file port.c.

#define portNVIC_SYSTICK_CTRL   ( ( volatile unsigned long *) 0xe000e010 )

Definition at line 70 of file port.c.

#define portNVIC_SYSTICK_ENABLE   0x00000001

Definition at line 76 of file port.c.

#define portNVIC_SYSTICK_INT   0x00000002

Definition at line 75 of file port.c.

#define portNVIC_SYSTICK_LOAD   ( ( volatile unsigned long *) 0xe000e014 )

Definition at line 71 of file port.c.

#define portNVIC_SYSTICK_PRI   ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 24 )

Definition at line 79 of file port.c.

Function Documentation

void vPortEndScheduler ( void  )

Definition at line 189 of file port.c.

void vPortEnterCritical ( void  )

Definition at line 203 of file port.c.

void vPortExitCritical ( void  )

Definition at line 210 of file port.c.

void vPortStartFirstTask ( void  )

Definition at line 151 of file port.c.

void vPortSVCHandler ( void  )

Definition at line 132 of file port.c.

void vPortYieldFromISR ( void  )

Definition at line 196 of file port.c.

void xPortPendSVHandler ( void xPortSysTickHandler  void)

Definition at line 100 of file port.c.

void xPortPendSVHandler ( void  )

Definition at line 220 of file port.c.

portBASE_TYPE xPortStartScheduler ( void  )

Definition at line 168 of file port.c.

void xPortSysTickHandler ( void  )

Definition at line 255 of file port.c.

Variable Documentation

const unsigned long ulKernelPriority = configKERNEL_INTERRUPT_PRIORITY

Definition at line 86 of file port.c.