Everything
4.2.4 #pragma directive

Below are #pragma directives supported as extended language specifications. These extended specifications can also be used with the _Pragma operator in C99. See "4.2.6 Using extended language specifications" for details.

Table 4.15

List of Supported #pragma Directive

#pragma directive

Definition

#pragma interrupt

Hardware interrupt handler

#pragma interrupt_brk

Software interrupt handler

#pragma section

Changing compiler output section name

#pragma rtos_interrupt

Interrupt handler for RTOS

#pragma rtos_task

Task function for RTOS

#pragma inline

Inline expansion of function

#pragma noinline

#pragma inline_asm

Describing assembler instruction

#pragma address

Absolute address allocation specification

#pragma saddr

Using saddr area

#pragma callt

callt function

#pragma near

near function

#pragma far

far function

#pragma pack

Structure packing

#pragma unpack

#pragma stack_protector

Generating a code for detection of stack smashing [Professional Edition only]

#pragma no_stack_protector