Go to the documentation of this file.
52 #ifndef portENTER_CRITICAL
56 #if portBYTE_ALIGNMENT == 32
57 #define portBYTE_ALIGNMENT_MASK ( 0x001f )
60 #if portBYTE_ALIGNMENT == 16
61 #define portBYTE_ALIGNMENT_MASK ( 0x000f )
64 #if portBYTE_ALIGNMENT == 8
65 #define portBYTE_ALIGNMENT_MASK ( 0x0007 )
68 #if portBYTE_ALIGNMENT == 4
69 #define portBYTE_ALIGNMENT_MASK ( 0x0003 )
72 #if portBYTE_ALIGNMENT == 2
73 #define portBYTE_ALIGNMENT_MASK ( 0x0001 )
76 #if portBYTE_ALIGNMENT == 1
77 #define portBYTE_ALIGNMENT_MASK ( 0x0000 )
80 #ifndef portBYTE_ALIGNMENT_MASK
81 #error "Invalid portBYTE_ALIGNMENT definition"
84 #ifndef portNUM_CONFIGURABLE_REGIONS
85 #define portNUM_CONFIGURABLE_REGIONS 1
100 #if( portUSING_MPU_WRAPPERS == 1 )
156 #if( portUSING_MPU_WRAPPERS == 1 )
BaseType_t xPortStartScheduler(void)
Definition: port.c:252
int main(void)
app entry point
Definition: Main.c:26
#define configTICK_RATE_HZ
Definition: FreeRTOSConfig.h:29
void xPortPendSVHandler(void)
Definition: port.c:375
void vTaskStepTick(const TickType_t xTicksToJump) PRIVILEGED_FUNCTION
uint8_t * pucStartAddress
Definition: portable.h:109
#define portNVIC_SYSTICK_INT_BIT
Definition: port.c:70
size_t xPortGetMinimumEverFreeHeapSize(void) PRIVILEGED_FUNCTION
static portFORCE_INLINE void vPortRaiseBASEPRI(void)
Definition: portmacro.h:178
static portFORCE_INLINE void vPortClearBASEPRIFromISR(void)
Definition: portmacro.h:193
static void prvStartFirstTask(void)
Definition: port.c:226
#define portPRIGROUP_SHIFT
Definition: port.c:87
size_t xSizeInBytes
Definition: portable.h:110
#define portNVIC_PENDSV_PRI
Definition: port.c:76
static void prvTaskExitError(void)
Definition: port.c:195
#define portSY_FULL_READ_WRITE
Definition: portmacro.h:79
#define configKERNEL_INTERRUPT_PRIORITY
Definition: FreeRTOSConfig.h:20
void vPortEnterCritical(void)
Definition: port.c:347
#define portNVIC_SYSTICK_PRI
Definition: port.c:77
#define PRIVILEGED_FUNCTION
Definition: mpu_wrappers.h:174
#define portNVIC_SYSTICK_LOAD_REG
Definition: port.c:66
void vPortSuppressTicksAndSleep(TickType_t xExpectedIdleTime)
uint32_t TickType_t
Definition: portmacro.h:64
#define portNVIC_SYSTICK_ENABLE_BIT
Definition: port.c:71
#define pdFALSE
Definition: projdefs.h:45
__asm uint32_t vPortGetIPSR(void)
Definition: port.c:630
void vPortFree(void *pv) PRIVILEGED_FUNCTION
Definition: heap_1.c:123
unsigned long UBaseType_t
Definition: portmacro.h:58
#define configCPU_CLOCK_HZ
Definition: FreeRTOSConfig.h:15
@ eAbortSleep
Definition: task.h:145
#define configMAX_SYSCALL_INTERRUPT_PRIORITY
Definition: FreeRTOSConfig.h:24
#define portDISABLE_INTERRUPTS()
Definition: portmacro.h:105
void vPortEndScheduler(void)
Definition: port.c:339
size_t xPortGetFreeHeapSize(void) PRIVILEGED_FUNCTION
Definition: heap_1.c:142
#define portNVIC_PENDSVSET_BIT
Definition: portmacro.h:96
#define portMAX_8_BIT_VALUE
Definition: port.c:83
StackType_t * pxPortInitialiseStack(StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParameters)
Definition: port.c:176
void vPortDefineHeapRegions(const HeapRegion_t *const pxHeapRegions) PRIVILEGED_FUNCTION
portSTACK_TYPE StackType_t
Definition: portmacro.h:56
void vPortSVCHandler(void)
Definition: port.c:209
eSleepModeStatus eTaskConfirmSleepModeStatus(void) PRIVILEGED_FUNCTION
#define configSYSTICK_CLOCK_HZ
Definition: port.c:46
static UBaseType_t uxCriticalNesting
Definition: port.c:135
void xPortSysTickHandler(void)
Definition: port.c:412
void(* TaskFunction_t)(void *)
Definition: projdefs.h:36
#define portNVIC_SYSTICK_CURRENT_VALUE_REG
Definition: port.c:67
#define portMISSED_COUNTS_FACTOR
Definition: port.c:101
#define portVECTACTIVE_MASK
Definition: port.c:90
#define portNVIC_SYSPRI2_REG
Definition: port.c:68
#define portNVIC_SYSTICK_CLK_BIT
Definition: port.c:48
struct HeapRegion HeapRegion_t
#define portENABLE_INTERRUPTS()
Definition: portmacro.h:106
#define portINITIAL_XPSR
Definition: port.c:93
#define configPOST_SLEEP_PROCESSING(x)
Definition: FreeRTOS.h:751
#define portTOP_BIT_OF_BYTE
Definition: port.c:84
void * pvPortMalloc(size_t xSize) PRIVILEGED_FUNCTION
Definition: heap_1.c:71
BaseType_t xPortStartScheduler(void) PRIVILEGED_FUNCTION
Definition: port.c:252
void vPortSetupTimerInterrupt(void)
Definition: port.c:607
StackType_t * pxPortInitialiseStack(StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParameters) PRIVILEGED_FUNCTION
Definition: port.c:176
long BaseType_t
Definition: portmacro.h:57
#define configPRE_SLEEP_PROCESSING(x)
Definition: FreeRTOS.h:747
#define portFIRST_USER_INTERRUPT_NUMBER
Definition: port.c:80
void vPortEndScheduler(void) PRIVILEGED_FUNCTION
Definition: port.c:339
#define portMAX_24_BIT_NUMBER
Definition: port.c:96
PRIVILEGED_DATA TCB_t *volatile pxCurrentTCB
Definition: tasks.c:347
#define portMAX_PRIGROUP_BITS
Definition: port.c:85
BaseType_t xTaskIncrementTick(void) PRIVILEGED_FUNCTION
Definition: tasks.c:2588
void vTaskSwitchContext(void) PRIVILEGED_FUNCTION
Definition: tasks.c:2850
#define configASSERT(x)
Definition: FreeRTOS.h:235
void vPortExitCritical(void)
Definition: port.c:364
#define portNVIC_IP_REGISTERS_OFFSET_16
Definition: port.c:81
#define portAIRCR_REG
Definition: port.c:82
#define portNVIC_INT_CTRL_REG
Definition: portmacro.h:95
#define portNVIC_SYSTICK_CTRL_REG
Definition: port.c:65
Definition: portable.h:108
#define portPRIORITY_GROUP_MASK
Definition: port.c:86
void vPortInitialiseBlocks(void) PRIVILEGED_FUNCTION
Definition: heap_1.c:135
#define portSTART_ADDRESS_MASK
Definition: port.c:105
#define portNVIC_SYSTICK_COUNT_FLAG_BIT
Definition: port.c:72