
Go to the source code of this file.
Macros | |
| #define | configUSE_PORT_OPTIMISED_TASK_SELECTION 1 |
| #define | portBASE_TYPE long |
| #define | portBYTE_ALIGNMENT 8 |
| #define | portCHAR char |
| #define | portCLEAR_INTERRUPT_MASK_FROM_ISR(x) vPortSetBASEPRI(x) |
| #define | portDISABLE_INTERRUPTS() vPortRaiseBASEPRI() |
| #define | portDOUBLE double |
| #define | portENABLE_INTERRUPTS() vPortSetBASEPRI(0) |
| #define | portEND_SWITCHING_ISR(xSwitchRequired) if( xSwitchRequired != pdFALSE ) portYIELD() |
| #define | portENTER_CRITICAL() vPortEnterCritical() |
| #define | portEXIT_CRITICAL() vPortExitCritical() |
| #define | portFLOAT float |
| #define | portFORCE_INLINE inline __attribute__(( always_inline)) |
| #define | portGET_HIGHEST_PRIORITY(uxTopPriority, uxReadyPriorities) uxTopPriority = ( 31UL - ( uint32_t ) ucPortCountLeadingZeros( ( uxReadyPriorities ) ) ) |
| #define | portINLINE __inline |
| #define | portLONG long |
| #define | portMAX_DELAY ( TickType_t ) 0xffffffffUL |
| #define | portNOP() |
| #define | portNVIC_INT_CTRL_REG ( * ( ( volatile uint32_t * ) 0xe000ed04 ) ) |
| #define | portNVIC_PENDSVSET_BIT ( 1UL << 28UL ) |
| #define | portRECORD_READY_PRIORITY(uxPriority, uxReadyPriorities) ( uxReadyPriorities ) |= ( 1UL << ( uxPriority ) ) |
| #define | portRESET_READY_PRIORITY(uxPriority, uxReadyPriorities) ( uxReadyPriorities ) &= ~( 1UL << ( uxPriority ) ) |
| #define | portSET_INTERRUPT_MASK_FROM_ISR() ulPortRaiseBASEPRI() |
| #define | portSHORT short |
| #define | portSTACK_GROWTH ( -1 ) |
| #define | portSTACK_TYPE uint32_t |
| #define | portSUPPRESS_TICKS_AND_SLEEP(xExpectedIdleTime) vPortSuppressTicksAndSleep( xExpectedIdleTime ) |
| #define | portTASK_FUNCTION(vFunction, pvParameters) void vFunction( void *pvParameters ) |
| #define | portTASK_FUNCTION_PROTO(vFunction, pvParameters) void vFunction( void *pvParameters ) |
| #define | portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ ) |
| #define | portTICK_TYPE_IS_ATOMIC 1 |
| #define | portYIELD() |
| #define | portYIELD_FROM_ISR(x) portEND_SWITCHING_ISR( x ) |
Typedefs | |
| typedef long | BaseType_t |
| typedef portSTACK_TYPE | StackType_t |
| typedef uint32_t | TickType_t |
| typedef unsigned long | UBaseType_t |
Functions | |
| __attribute__ ((always_inline)) static inline uint8_t ucPortCountLeadingZeros(uint32_t ulBitmap) | |
| static portFORCE_INLINE uint32_t | ulPortRaiseBASEPRI (void) |
| void | vPortEnterCritical (void) |
| void | vPortExitCritical (void) |
| static portFORCE_INLINE void | vPortRaiseBASEPRI (void) |
| static portFORCE_INLINE void | vPortSetBASEPRI (uint32_t ulNewMaskValue) |
| void | vPortSuppressTicksAndSleep (TickType_t xExpectedIdleTime) |
| static portFORCE_INLINE BaseType_t | xPortIsInsideInterrupt (void) |
| #define configUSE_PORT_OPTIMISED_TASK_SELECTION 1 |
Definition at line 125 of file portmacro.h.
| #define portBASE_TYPE long |
Definition at line 54 of file portmacro.h.
| #define portBYTE_ALIGNMENT 8 |
Definition at line 76 of file portmacro.h.
| #define portCHAR char |
Definition at line 48 of file portmacro.h.
| #define portCLEAR_INTERRUPT_MASK_FROM_ISR | ( | x | ) | vPortSetBASEPRI(x) |
Definition at line 101 of file portmacro.h.
| #define portDISABLE_INTERRUPTS | ( | ) | vPortRaiseBASEPRI() |
Definition at line 102 of file portmacro.h.
| #define portDOUBLE double |
Definition at line 50 of file portmacro.h.
| #define portENABLE_INTERRUPTS | ( | ) | vPortSetBASEPRI(0) |
Definition at line 103 of file portmacro.h.
Definition at line 93 of file portmacro.h.
| #define portENTER_CRITICAL | ( | ) | vPortEnterCritical() |
Definition at line 104 of file portmacro.h.
| #define portEXIT_CRITICAL | ( | ) | vPortExitCritical() |
Definition at line 105 of file portmacro.h.
| #define portFLOAT float |
Definition at line 49 of file portmacro.h.
| #define portFORCE_INLINE inline __attribute__(( always_inline)) |
Definition at line 167 of file portmacro.h.
| #define portGET_HIGHEST_PRIORITY | ( | uxTopPriority, | |
| uxReadyPriorities | |||
| ) | uxTopPriority = ( 31UL - ( uint32_t ) ucPortCountLeadingZeros( ( uxReadyPriorities ) ) ) |
Definition at line 150 of file portmacro.h.
| #define portINLINE __inline |
Definition at line 164 of file portmacro.h.
| #define portLONG long |
Definition at line 51 of file portmacro.h.
| #define portMAX_DELAY ( TickType_t ) 0xffffffffUL |
Definition at line 65 of file portmacro.h.
| #define portNOP | ( | ) |
Definition at line 162 of file portmacro.h.
| #define portNVIC_INT_CTRL_REG ( * ( ( volatile uint32_t * ) 0xe000ed04 ) ) |
Definition at line 91 of file portmacro.h.
| #define portNVIC_PENDSVSET_BIT ( 1UL << 28UL ) |
Definition at line 92 of file portmacro.h.
| #define portRECORD_READY_PRIORITY | ( | uxPriority, | |
| uxReadyPriorities | |||
| ) | ( uxReadyPriorities ) |= ( 1UL << ( uxPriority ) ) |
Definition at line 145 of file portmacro.h.
| #define portRESET_READY_PRIORITY | ( | uxPriority, | |
| uxReadyPriorities | |||
| ) | ( uxReadyPriorities ) &= ~( 1UL << ( uxPriority ) ) |
Definition at line 146 of file portmacro.h.
| #define portSET_INTERRUPT_MASK_FROM_ISR | ( | ) | ulPortRaiseBASEPRI() |
Definition at line 100 of file portmacro.h.
| #define portSHORT short |
Definition at line 52 of file portmacro.h.
| #define portSTACK_GROWTH ( -1 ) |
Definition at line 74 of file portmacro.h.
| #define portSTACK_TYPE uint32_t |
Definition at line 53 of file portmacro.h.
| #define portSUPPRESS_TICKS_AND_SLEEP | ( | xExpectedIdleTime | ) | vPortSuppressTicksAndSleep( xExpectedIdleTime ) |
Definition at line 119 of file portmacro.h.
| #define portTASK_FUNCTION | ( | vFunction, | |
| pvParameters | |||
| ) | void vFunction( void *pvParameters ) |
Definition at line 113 of file portmacro.h.
| #define portTASK_FUNCTION_PROTO | ( | vFunction, | |
| pvParameters | |||
| ) | void vFunction( void *pvParameters ) |
Definition at line 112 of file portmacro.h.
| #define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ ) |
Definition at line 75 of file portmacro.h.
| #define portTICK_TYPE_IS_ATOMIC 1 |
Definition at line 69 of file portmacro.h.
| #define portYIELD | ( | ) |
Definition at line 80 of file portmacro.h.
| #define portYIELD_FROM_ISR | ( | x | ) | portEND_SWITCHING_ISR( x ) |
Definition at line 94 of file portmacro.h.
| typedef long BaseType_t |
Definition at line 57 of file portmacro.h.
| typedef portSTACK_TYPE StackType_t |
Definition at line 56 of file portmacro.h.
| typedef uint32_t TickType_t |
Definition at line 64 of file portmacro.h.
| typedef unsigned long UBaseType_t |
Definition at line 58 of file portmacro.h.
| __attribute__ | ( | (always_inline) | ) |
Definition at line 131 of file portmacro.h.
|
static |
Definition at line 210 of file portmacro.h.
|
static |
Definition at line 192 of file portmacro.h.
|
static |
Definition at line 232 of file portmacro.h.
| void vPortSuppressTicksAndSleep | ( | TickType_t | xExpectedIdleTime | ) |
|
static |
Definition at line 170 of file portmacro.h.