STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Macros | Functions
port.c File Reference
#include "FreeRTOS.h"
#include "task.h"

Go to the source code of this file.

Macros

#define configSYSTICK_CLOCK_HZ   configCPU_CLOCK_HZ
 
#define portNVIC_SYSTICK_CLK_BIT   ( 1UL << 2UL )
 
#define portNVIC_SYSTICK_CTRL_REG   ( * ( ( volatile uint32_t * ) 0xe000e010 ) )
 
#define portNVIC_SYSTICK_LOAD_REG   ( * ( ( volatile uint32_t * ) 0xe000e014 ) )
 
#define portNVIC_SYSTICK_CURRENT_VALUE_REG   ( * ( ( volatile uint32_t * ) 0xe000e018 ) )
 
#define portNVIC_SYSPRI2_REG   ( * ( ( volatile uint32_t * ) 0xe000ed20 ) )
 
#define portNVIC_SYSTICK_INT_BIT   ( 1UL << 1UL )
 
#define portNVIC_SYSTICK_ENABLE_BIT   ( 1UL << 0UL )
 
#define portNVIC_SYSTICK_COUNT_FLAG_BIT   ( 1UL << 16UL )
 
#define portNVIC_PENDSVCLEAR_BIT   ( 1UL << 27UL )
 
#define portNVIC_PEND_SYSTICK_CLEAR_BIT   ( 1UL << 25UL )
 
#define portNVIC_PENDSV_PRI   ( ( ( uint32_t ) configKERNEL_INTERRUPT_PRIORITY ) << 16UL )
 
#define portNVIC_SYSTICK_PRI   ( ( ( uint32_t ) configKERNEL_INTERRUPT_PRIORITY ) << 24UL )
 
#define portFIRST_USER_INTERRUPT_NUMBER   ( 16 )
 
#define portNVIC_IP_REGISTERS_OFFSET_16   ( 0xE000E3F0 )
 
#define portAIRCR_REG   ( * ( ( volatile uint32_t * ) 0xE000ED0C ) )
 
#define portMAX_8_BIT_VALUE   ( ( uint8_t ) 0xff )
 
#define portTOP_BIT_OF_BYTE   ( ( uint8_t ) 0x80 )
 
#define portMAX_PRIGROUP_BITS   ( ( uint8_t ) 7 )
 
#define portPRIORITY_GROUP_MASK   ( 0x07UL << 8UL )
 
#define portPRIGROUP_SHIFT   ( 8UL )
 
#define portVECTACTIVE_MASK   ( 0xFFUL )
 
#define portFPCCR   ( ( volatile uint32_t * ) 0xe000ef34 ) /* Floating point context control register. */
 
#define portASPEN_AND_LSPEN_BITS   ( 0x3UL << 30UL )
 
#define portINITIAL_XPSR   ( 0x01000000 )
 
#define portINITIAL_EXEC_RETURN   ( 0xfffffffd )
 
#define portMAX_24_BIT_NUMBER   ( 0xffffffUL )
 
#define portMISSED_COUNTS_FACTOR   ( 45UL )
 
#define portTASK_RETURN_ADDRESS   prvTaskExitError
 

Functions

void vPortSetupTimerInterrupt (void)
 
void xPortPendSVHandler (void xPortSysTickHandler void)
 
void vPortSVCHandler (void)
 
BaseType_t xPortStartScheduler (void)
 
void vPortEndScheduler (void)
 
void vPortEnterCritical (void)
 
void vPortExitCritical (void)
 
void xPortPendSVHandler (void)
 
void xPortSysTickHandler (void)
 
 __attribute__ ((weak))
 

Macro Definition Documentation

#define configSYSTICK_CLOCK_HZ   configCPU_CLOCK_HZ

Definition at line 83 of file port.c.

#define portAIRCR_REG   ( * ( ( volatile uint32_t * ) 0xE000ED0C ) )

Definition at line 110 of file port.c.

#define portASPEN_AND_LSPEN_BITS   ( 0x3UL << 30UL )

Definition at line 122 of file port.c.

#define portFIRST_USER_INTERRUPT_NUMBER   ( 16 )

Definition at line 108 of file port.c.

#define portFPCCR   ( ( volatile uint32_t * ) 0xe000ef34 ) /* Floating point context control register. */

Definition at line 121 of file port.c.

#define portINITIAL_EXEC_RETURN   ( 0xfffffffd )

Definition at line 126 of file port.c.

#define portINITIAL_XPSR   ( 0x01000000 )

Definition at line 125 of file port.c.

#define portMAX_24_BIT_NUMBER   ( 0xffffffUL )

Definition at line 129 of file port.c.

#define portMAX_8_BIT_VALUE   ( ( uint8_t ) 0xff )

Definition at line 111 of file port.c.

#define portMAX_PRIGROUP_BITS   ( ( uint8_t ) 7 )

Definition at line 113 of file port.c.

#define portMISSED_COUNTS_FACTOR   ( 45UL )

Definition at line 134 of file port.c.

#define portNVIC_IP_REGISTERS_OFFSET_16   ( 0xE000E3F0 )

Definition at line 109 of file port.c.

#define portNVIC_PEND_SYSTICK_CLEAR_BIT   ( 1UL << 25UL )

Definition at line 102 of file port.c.

#define portNVIC_PENDSV_PRI   ( ( ( uint32_t ) configKERNEL_INTERRUPT_PRIORITY ) << 16UL )

Definition at line 104 of file port.c.

#define portNVIC_PENDSVCLEAR_BIT   ( 1UL << 27UL )

Definition at line 101 of file port.c.

#define portNVIC_SYSPRI2_REG   ( * ( ( volatile uint32_t * ) 0xe000ed20 ) )

Definition at line 96 of file port.c.

#define portNVIC_SYSTICK_CLK_BIT   ( 1UL << 2UL )

Definition at line 85 of file port.c.

#define portNVIC_SYSTICK_COUNT_FLAG_BIT   ( 1UL << 16UL )

Definition at line 100 of file port.c.

#define portNVIC_SYSTICK_CTRL_REG   ( * ( ( volatile uint32_t * ) 0xe000e010 ) )

Definition at line 93 of file port.c.

#define portNVIC_SYSTICK_CURRENT_VALUE_REG   ( * ( ( volatile uint32_t * ) 0xe000e018 ) )

Definition at line 95 of file port.c.

#define portNVIC_SYSTICK_ENABLE_BIT   ( 1UL << 0UL )

Definition at line 99 of file port.c.

#define portNVIC_SYSTICK_INT_BIT   ( 1UL << 1UL )

Definition at line 98 of file port.c.

#define portNVIC_SYSTICK_LOAD_REG   ( * ( ( volatile uint32_t * ) 0xe000e014 ) )

Definition at line 94 of file port.c.

#define portNVIC_SYSTICK_PRI   ( ( ( uint32_t ) configKERNEL_INTERRUPT_PRIORITY ) << 24UL )

Definition at line 105 of file port.c.

#define portPRIGROUP_SHIFT   ( 8UL )

Definition at line 115 of file port.c.

#define portPRIORITY_GROUP_MASK   ( 0x07UL << 8UL )

Definition at line 114 of file port.c.

#define portTASK_RETURN_ADDRESS   prvTaskExitError

Definition at line 142 of file port.c.

#define portTOP_BIT_OF_BYTE   ( ( uint8_t ) 0x80 )

Definition at line 112 of file port.c.

#define portVECTACTIVE_MASK   ( 0xFFUL )

Definition at line 118 of file port.c.

Function Documentation

__attribute__ ( (weak)  )

Definition at line 655 of file port.c.

void vPortEndScheduler ( void  )

Definition at line 383 of file port.c.

void vPortEnterCritical ( void  )

Definition at line 391 of file port.c.

void vPortExitCritical ( void  )

Definition at line 408 of file port.c.

void vPortSetupTimerInterrupt ( void  )
void vPortSVCHandler ( void  )

Definition at line 263 of file port.c.

void xPortPendSVHandler ( void xPortSysTickHandler  void)

Definition at line 159 of file port.c.

void xPortPendSVHandler ( void  )

Definition at line 419 of file port.c.

BaseType_t xPortStartScheduler ( void  )

Definition at line 302 of file port.c.

void xPortSysTickHandler ( void  )

Definition at line 479 of file port.c.