File port.c
FileList > FreeRTOS > src > port.c
Go to the source code of this file.
#include "FreeRTOS.h"
#include "task.h"
Public Functions
Type | Name |
---|---|
__attribute__ ((weak)) |
|
void | vPortEndScheduler (void) |
void | vPortEnterCritical (void) |
void | vPortExitCritical (void) |
void | vPortSVCHandler (void) |
void | vPortSetupTimerInterrupt (void) |
void | xPortPendSVHandler (void xPortSysTickHandler void void) |
void | xPortPendSVHandler (void) |
BaseType_t | xPortStartScheduler (void) |
void | xPortSysTickHandler (void) |
Public Static Functions
Type | Name |
---|---|
void | prvPortStartFirstTask (void) |
void | prvTaskExitError (void) |
Macros
Type | Name |
---|---|
define | configKERNEL_INTERRUPT_PRIORITY 255 |
define | configSYSTICK_CLOCK_HZ configCPU_CLOCK_HZ |
define | portAIRCR_REG ( * ( ( volatile uint32_t * ) 0xE000ED0C ) ) |
define | portFIRST_USER_INTERRUPT_NUMBER ( 16 ) |
define | portINITIAL_XPSR ( 0x01000000UL ) |
define | portMAX_24_BIT_NUMBER ( 0xffffffUL ) |
define | portMAX_8_BIT_VALUE ( ( uint8_t ) 0xff ) |
define | portMAX_PRIGROUP_BITS ( ( uint8_t ) 7 ) |
define | portMISSED_COUNTS_FACTOR ( 45UL ) |
define | portNVIC_IP_REGISTERS_OFFSET_16 ( 0xE000E3F0 ) |
define | portNVIC_PENDSVCLEAR_BIT ( 1UL << 27UL ) |
define | portNVIC_PENDSV_PRI ( ( ( uint32_t ) configKERNEL_INTERRUPT_PRIORITY ) << 16UL ) |
define | portNVIC_PEND_SYSTICK_CLEAR_BIT ( 1UL << 25UL ) |
define | portNVIC_SYSPRI2_REG ( * ( ( volatile uint32_t * ) 0xe000ed20 ) ) |
define | portNVIC_SYSTICK_CLK_BIT ( 1UL << 2UL ) |
define | portNVIC_SYSTICK_COUNT_FLAG_BIT ( 1UL << 16UL ) |
define | portNVIC_SYSTICK_CTRL_REG ( * ( ( volatile uint32_t * ) 0xe000e010 ) ) |
define | portNVIC_SYSTICK_CURRENT_VALUE_REG ( * ( ( volatile uint32_t * ) 0xe000e018 ) ) |
define | portNVIC_SYSTICK_ENABLE_BIT ( 1UL << 0UL ) |
define | portNVIC_SYSTICK_INT_BIT ( 1UL << 1UL ) |
define | portNVIC_SYSTICK_LOAD_REG ( * ( ( volatile uint32_t * ) 0xe000e014 ) ) |
define | portNVIC_SYSTICK_PRI ( ( ( uint32_t ) configKERNEL_INTERRUPT_PRIORITY ) << 24UL ) |
define | portPRIGROUP_SHIFT ( 8UL ) |
define | portPRIORITY_GROUP_MASK ( 0x07UL << 8UL ) |
define | portSTART_ADDRESS_MASK ( ( StackType_t ) 0xfffffffeUL ) |
define | portTASK_RETURN_ADDRESS prvTaskExitError |
define | portTOP_BIT_OF_BYTE ( ( uint8_t ) 0x80 ) |
define | portVECTACTIVE_MASK ( 0xFFUL ) |
Public Functions Documentation
function __attribute__
__attribute__ (
(weak)
)
function vPortEndScheduler
void vPortEndScheduler (
void
)
function vPortEnterCritical
void vPortEnterCritical (
void
)
function vPortExitCritical
void vPortExitCritical (
void
)
function vPortSVCHandler
void vPortSVCHandler (
void
)
function vPortSetupTimerInterrupt
void vPortSetupTimerInterrupt (
void
)
function xPortPendSVHandler
void xPortPendSVHandler (
void xPortSysTickHandler void void
)
function xPortPendSVHandler
void xPortPendSVHandler (
void
)
function xPortStartScheduler
BaseType_t xPortStartScheduler (
void
)
function xPortSysTickHandler
void xPortSysTickHandler (
void
)
Public Static Functions Documentation
function prvPortStartFirstTask
static void prvPortStartFirstTask (
void
)
function prvTaskExitError
static void prvTaskExitError (
void
)
Macro Definition Documentation
define configKERNEL_INTERRUPT_PRIORITY
#define configKERNEL_INTERRUPT_PRIORITY 255
define configSYSTICK_CLOCK_HZ
#define configSYSTICK_CLOCK_HZ configCPU_CLOCK_HZ
define portAIRCR_REG
#define portAIRCR_REG ( * ( ( volatile uint32_t * ) 0xE000ED0C ) )
define portFIRST_USER_INTERRUPT_NUMBER
#define portFIRST_USER_INTERRUPT_NUMBER ( 16 )
define portINITIAL_XPSR
#define portINITIAL_XPSR ( 0x01000000UL )
define portMAX_24_BIT_NUMBER
#define portMAX_24_BIT_NUMBER ( 0xffffffUL )
define portMAX_8_BIT_VALUE
#define portMAX_8_BIT_VALUE ( ( uint8_t ) 0xff )
define portMAX_PRIGROUP_BITS
#define portMAX_PRIGROUP_BITS ( ( uint8_t ) 7 )
define portMISSED_COUNTS_FACTOR
#define portMISSED_COUNTS_FACTOR ( 45UL )
define portNVIC_IP_REGISTERS_OFFSET_16
#define portNVIC_IP_REGISTERS_OFFSET_16 ( 0xE000E3F0 )
define portNVIC_PENDSVCLEAR_BIT
#define portNVIC_PENDSVCLEAR_BIT ( 1UL << 27UL )
define portNVIC_PENDSV_PRI
#define portNVIC_PENDSV_PRI ( ( ( uint32_t ) configKERNEL_INTERRUPT_PRIORITY ) << 16UL )
define portNVIC_PEND_SYSTICK_CLEAR_BIT
#define portNVIC_PEND_SYSTICK_CLEAR_BIT ( 1UL << 25UL )
define portNVIC_SYSPRI2_REG
#define portNVIC_SYSPRI2_REG ( * ( ( volatile uint32_t * ) 0xe000ed20 ) )
define portNVIC_SYSTICK_CLK_BIT
#define portNVIC_SYSTICK_CLK_BIT ( 1UL << 2UL )
define portNVIC_SYSTICK_COUNT_FLAG_BIT
#define portNVIC_SYSTICK_COUNT_FLAG_BIT ( 1UL << 16UL )
define portNVIC_SYSTICK_CTRL_REG
#define portNVIC_SYSTICK_CTRL_REG ( * ( ( volatile uint32_t * ) 0xe000e010 ) )
define portNVIC_SYSTICK_CURRENT_VALUE_REG
#define portNVIC_SYSTICK_CURRENT_VALUE_REG ( * ( ( volatile uint32_t * ) 0xe000e018 ) )
define portNVIC_SYSTICK_ENABLE_BIT
#define portNVIC_SYSTICK_ENABLE_BIT ( 1UL << 0UL )
define portNVIC_SYSTICK_INT_BIT
#define portNVIC_SYSTICK_INT_BIT ( 1UL << 1UL )
define portNVIC_SYSTICK_LOAD_REG
#define portNVIC_SYSTICK_LOAD_REG ( * ( ( volatile uint32_t * ) 0xe000e014 ) )
define portNVIC_SYSTICK_PRI
#define portNVIC_SYSTICK_PRI ( ( ( uint32_t ) configKERNEL_INTERRUPT_PRIORITY ) << 24UL )
define portPRIGROUP_SHIFT
#define portPRIGROUP_SHIFT ( 8UL )
define portPRIORITY_GROUP_MASK
#define portPRIORITY_GROUP_MASK ( 0x07UL << 8UL )
define portSTART_ADDRESS_MASK
#define portSTART_ADDRESS_MASK ( ( StackType_t ) 0xfffffffeUL )
define portTASK_RETURN_ADDRESS
#define portTASK_RETURN_ADDRESS prvTaskExitError
define portTOP_BIT_OF_BYTE
#define portTOP_BIT_OF_BYTE ( ( uint8_t ) 0x80 )
define portVECTACTIVE_MASK
#define portVECTACTIVE_MASK ( 0xFFUL )
The documentation for this class was generated from the following file fw/rbcx-coprocessor/lib/FreeRTOS/src/port.c