Go to the source code of this file.
◆ portCHAR
◆ portFLOAT
◆ portDOUBLE
#define portDOUBLE double |
◆ portLONG
◆ portSHORT
◆ portSTACK_TYPE
#define portSTACK_TYPE uint32_t |
◆ portBASE_TYPE
#define portBASE_TYPE long |
◆ portMAX_DELAY
◆ portTICK_TYPE_IS_ATOMIC
#define portTICK_TYPE_IS_ATOMIC 1 |
◆ portSTACK_GROWTH
#define portSTACK_GROWTH ( -1 ) |
◆ portTICK_PERIOD_MS
◆ portBYTE_ALIGNMENT
#define portBYTE_ALIGNMENT 8 |
◆ portYIELD
Value:{ \
\
\
\
__asm volatile( "dsb" ); \
__asm volatile( "isb" ); \
}
◆ portNVIC_INT_CTRL_REG
#define portNVIC_INT_CTRL_REG ( * ( ( volatile uint32_t * ) 0xe000ed04 ) ) |
◆ portNVIC_PENDSVSET_BIT
#define portNVIC_PENDSVSET_BIT ( 1UL << 28UL ) |
◆ portEND_SWITCHING_ISR
#define portEND_SWITCHING_ISR |
( |
|
xSwitchRequired | ) |
if( xSwitchRequired != pdFALSE ) portYIELD() |
◆ portYIELD_FROM_ISR
◆ portSET_INTERRUPT_MASK_FROM_ISR
◆ portCLEAR_INTERRUPT_MASK_FROM_ISR
◆ portDISABLE_INTERRUPTS
◆ portENABLE_INTERRUPTS
◆ portENTER_CRITICAL
◆ portEXIT_CRITICAL
◆ portTASK_FUNCTION_PROTO
#define portTASK_FUNCTION_PROTO |
( |
|
vFunction, |
|
|
|
pvParameters |
|
) |
| void vFunction( void *pvParameters ) |
◆ portTASK_FUNCTION
#define portTASK_FUNCTION |
( |
|
vFunction, |
|
|
|
pvParameters |
|
) |
| void vFunction( void *pvParameters ) |
◆ portSUPPRESS_TICKS_AND_SLEEP
◆ configUSE_PORT_OPTIMISED_TASK_SELECTION
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1 |
◆ portRECORD_READY_PRIORITY
#define portRECORD_READY_PRIORITY |
( |
|
uxPriority, |
|
|
|
uxReadyPriorities |
|
) |
| ( uxReadyPriorities ) |= ( 1UL << ( uxPriority ) ) |
◆ portRESET_READY_PRIORITY
#define portRESET_READY_PRIORITY |
( |
|
uxPriority, |
|
|
|
uxReadyPriorities |
|
) |
| ( uxReadyPriorities ) &= ~( 1UL << ( uxPriority ) ) |
◆ portGET_HIGHEST_PRIORITY
#define portGET_HIGHEST_PRIORITY |
( |
|
uxTopPriority, |
|
|
|
uxReadyPriorities |
|
) |
| uxTopPriority = ( 31UL - ( uint32_t ) ucPortCountLeadingZeros( ( uxReadyPriorities ) ) ) |
◆ portNOP
◆ portINLINE
#define portINLINE __inline |
◆ portFORCE_INLINE
◆ StackType_t
◆ BaseType_t
◆ UBaseType_t
◆ TickType_t
◆ vPortEnterCritical()
◆ vPortExitCritical()
◆ vPortSuppressTicksAndSleep()
◆ __attribute__()
176 __asm
volatile (
"clz %0, %1" :
"=r" ( ucReturn ) :
"r" ( ulBitmap ) );
◆ xPortIsInsideInterrupt()
213 uint32_t ulCurrentInterrupt;
217 __asm
volatile(
"mrs %0, ipsr" :
"=r"( ulCurrentInterrupt ) );
219 if( ulCurrentInterrupt == 0 )
◆ vPortRaiseBASEPRI()
235 uint32_t ulNewBASEPRI;
240 " msr basepri, %0 \n" \
◆ ulPortRaiseBASEPRI()
251 uint32_t ulOriginalBASEPRI, ulNewBASEPRI;
255 " mrs %0, basepri \n" \
257 " msr basepri, %1 \n" \
265 return ulOriginalBASEPRI;
◆ vPortSetBASEPRI()
273 " msr basepri, %0 " ::
"r" ( ulNewMaskValue )