|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Go to the source code of this file.
Macros | |
| #define | portCHAR char |
| #define | portFLOAT float |
| #define | portDOUBLE double |
| #define | portLONG long |
| #define | portSHORT short |
| #define | portSTACK_TYPE uint32_t |
| #define | portBASE_TYPE long |
| #define | portMAX_DELAY ( TickType_t ) 0xffff |
| #define | portSTACK_GROWTH ( -1 ) |
| #define | portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ ) |
| #define | portBYTE_ALIGNMENT 8 |
| #define | portDONT_DISCARD __attribute__( ( used ) ) |
| #define | portYIELD() |
| #define | portNVIC_INT_CTRL_REG ( *( ( volatile uint32_t * ) 0xe000ed04 ) ) |
| #define | portNVIC_PENDSVSET_BIT ( 1UL << 28UL ) |
| #define | portEND_SWITCHING_ISR(xSwitchRequired) |
| #define | portYIELD_FROM_ISR(x) |
| #define | portSET_INTERRUPT_MASK_FROM_ISR() |
| #define | portCLEAR_INTERRUPT_MASK_FROM_ISR(x) |
| #define | portDISABLE_INTERRUPTS() |
| #define | portENABLE_INTERRUPTS() |
| #define | portENTER_CRITICAL() |
| #define | portEXIT_CRITICAL() |
| #define | portTASK_FUNCTION_PROTO(vFunction, pvParameters) |
| #define | portTASK_FUNCTION(vFunction, pvParameters) |
| #define | portSUPPRESS_TICKS_AND_SLEEP(xExpectedIdleTime) |
| #define | configUSE_PORT_OPTIMISED_TASK_SELECTION 1 |
| #define | portRECORD_READY_PRIORITY(uxPriority, uxReadyPriorities) |
| #define | portRESET_READY_PRIORITY(uxPriority, uxReadyPriorities) |
| #define | portGET_HIGHEST_PRIORITY(uxTopPriority, uxReadyPriorities) |
| #define | portNOP() |
| #define | portINLINE __inline |
| #define | portFORCE_INLINE inline __attribute__( ( always_inline ) ) |
| #define | portMEMORY_BARRIER() |
Typedefs | |
| typedef portSTACK_TYPE | StackType_t |
| typedef long | BaseType_t |
| typedef unsigned long | UBaseType_t |
| typedef uint16_t | TickType_t |
Functions | |
| void | vPortEnterCritical (void) |
| void | vPortExitCritical (void) |
| void | vPortSuppressTicksAndSleep (TickType_t xExpectedIdleTime) |
| __attribute__ ((always_inline)) static inline uint8_t ucPortCountLeadingZeros(uint32_t ulBitmap) | |
| static portFORCE_INLINE BaseType_t | xPortIsInsideInterrupt (void) |
| static portFORCE_INLINE void | vPortRaiseBASEPRI (void) |
| static portFORCE_INLINE uint32_t | ulPortRaiseBASEPRI (void) |
| static portFORCE_INLINE void | vPortSetBASEPRI (uint32_t ulNewMaskValue) |
| #define configUSE_PORT_OPTIMISED_TASK_SELECTION 1 |
Definition at line 132 of file portmacro.h.
| #define portBASE_TYPE long |
Definition at line 56 of file portmacro.h.
| #define portBYTE_ALIGNMENT 8 |
Definition at line 83 of file portmacro.h.
Referenced by prvHeapInit().
| #define portCHAR char |
Definition at line 50 of file portmacro.h.
| #define portCLEAR_INTERRUPT_MASK_FROM_ISR | ( | x | ) |
Definition at line 108 of file portmacro.h.
Referenced by xEventGroupGetBitsFromISR(), xQueueGenericSendFromISR(), xQueueGiveFromISR(), xQueuePeekFromISR(), xQueueReceiveFromISR(), xStreamBufferReceiveCompletedFromISR(), and xStreamBufferSendCompletedFromISR().
| #define portDISABLE_INTERRUPTS | ( | ) |
Definition at line 109 of file portmacro.h.
Referenced by prvTaskExitError(), vPortEnterCritical(), vTaskEndScheduler(), vTaskStartScheduler(), and xPortSysTickHandler().
| #define portDONT_DISCARD __attribute__( ( used ) ) |
Definition at line 84 of file portmacro.h.
Referenced by vTaskPlaceOnEventListRestricted().
| #define portDOUBLE double |
Definition at line 52 of file portmacro.h.
| #define portENABLE_INTERRUPTS | ( | ) |
Definition at line 110 of file portmacro.h.
Referenced by vPortExitCritical(), and xPortSysTickHandler().
| #define portEND_SWITCHING_ISR | ( | xSwitchRequired | ) |
Definition at line 100 of file portmacro.h.
| #define portENTER_CRITICAL | ( | ) |
Definition at line 111 of file portmacro.h.
| #define portEXIT_CRITICAL | ( | ) |
Definition at line 112 of file portmacro.h.
| #define portFLOAT float |
Definition at line 51 of file portmacro.h.
| #define portFORCE_INLINE inline __attribute__( ( always_inline ) ) |
Definition at line 175 of file portmacro.h.
| #define portGET_HIGHEST_PRIORITY | ( | uxTopPriority, | |
| uxReadyPriorities ) |
Definition at line 158 of file portmacro.h.
| #define portINLINE __inline |
Definition at line 172 of file portmacro.h.
| #define portLONG long |
Definition at line 53 of file portmacro.h.
| #define portMAX_DELAY ( TickType_t ) 0xffff |
Definition at line 64 of file portmacro.h.
Referenced by prvAddCurrentTaskToDelayedList(), prvResetNextTaskUnblockTime(), vListInitialise(), vListInsert(), vPortGetHeapStats(), vTaskStartScheduler(), xTaskCheckForTimeOut(), and xTaskIncrementTick().
| #define portMEMORY_BARRIER | ( | ) |
Definition at line 245 of file portmacro.h.
Referenced by vTaskSuspendAll(), and xTaskResumeAll().
| #define portNOP | ( | ) |
Definition at line 170 of file portmacro.h.
| #define portNVIC_INT_CTRL_REG ( *( ( volatile uint32_t * ) 0xe000ed04 ) ) |
Definition at line 98 of file portmacro.h.
Referenced by vPortEnterCritical(), and xPortSysTickHandler().
| #define portNVIC_PENDSVSET_BIT ( 1UL << 28UL ) |
Definition at line 99 of file portmacro.h.
Referenced by xPortSysTickHandler().
| #define portRECORD_READY_PRIORITY | ( | uxPriority, | |
| uxReadyPriorities ) |
Definition at line 153 of file portmacro.h.
| #define portRESET_READY_PRIORITY | ( | uxPriority, | |
| uxReadyPriorities ) |
Definition at line 154 of file portmacro.h.
| #define portSET_INTERRUPT_MASK_FROM_ISR | ( | ) |
Definition at line 107 of file portmacro.h.
Referenced by xEventGroupGetBitsFromISR(), xQueueGenericSendFromISR(), xQueueGiveFromISR(), xQueuePeekFromISR(), xQueueReceiveFromISR(), xStreamBufferReceiveCompletedFromISR(), and xStreamBufferSendCompletedFromISR().
| #define portSHORT short |
Definition at line 54 of file portmacro.h.
| #define portSTACK_GROWTH ( -1 ) |
Definition at line 81 of file portmacro.h.
| #define portSTACK_TYPE uint32_t |
Definition at line 55 of file portmacro.h.
| #define portSUPPRESS_TICKS_AND_SLEEP | ( | xExpectedIdleTime | ) |
Definition at line 126 of file portmacro.h.
Referenced by portTASK_FUNCTION().
| #define portTASK_FUNCTION | ( | vFunction, | |
| pvParameters ) |
Definition at line 120 of file portmacro.h.
| #define portTASK_FUNCTION_PROTO | ( | vFunction, | |
| pvParameters ) |
Definition at line 119 of file portmacro.h.
| #define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ ) |
Definition at line 82 of file portmacro.h.
| #define portYIELD | ( | ) |
Definition at line 88 of file portmacro.h.
| #define portYIELD_FROM_ISR | ( | x | ) |
Definition at line 101 of file portmacro.h.
Referenced by osEventFlagsClear(), osEventFlagsSet(), osMessageQueueGet(), osMessageQueuePut(), osSemaphoreAcquire(), and osSemaphoreRelease().
| typedef long BaseType_t |
Definition at line 59 of file portmacro.h.
| typedef portSTACK_TYPE StackType_t |
Definition at line 58 of file portmacro.h.
| typedef uint16_t TickType_t |
Definition at line 63 of file portmacro.h.
| typedef unsigned long UBaseType_t |
Definition at line 60 of file portmacro.h.
| __attribute__ | ( | (always_inline) | ) |
Definition at line 138 of file portmacro.h.
|
static |
Definition at line 216 of file portmacro.h.
References configMAX_SYSCALL_INTERRUPT_PRIORITY, and portFORCE_INLINE.
|
extern |
Definition at line 431 of file port.c.
References configASSERT, portDISABLE_INTERRUPTS, portNVIC_INT_CTRL_REG, and portVECTACTIVE_MASK.
|
extern |
Definition at line 448 of file port.c.
References configASSERT, and portENABLE_INTERRUPTS.
|
static |
Definition at line 200 of file portmacro.h.
References configMAX_SYSCALL_INTERRUPT_PRIORITY, and portFORCE_INLINE.
|
static |
Definition at line 236 of file portmacro.h.
References portFORCE_INLINE.
|
extern |
|
static |
Definition at line 178 of file portmacro.h.
References pdFALSE, pdTRUE, and portFORCE_INLINE.