Atmel CAVR-4 사용자 설명서

다운로드
페이지 323
CAVR-4
218
Descriptions of pragma directives
AVR® IAR C/C++ Compiler
Reference Guide
The segment name cannot be a predefined segment, see the chapter Segment reference 
for more information. The variable 
myBuffer
 will not be initialized at startup, and can 
for this reason not have any initializer. 
The memory in which the segment resides is optionally specified using the following 
syntax:
#pragma dataseg=_ _huge MyOtherSeg
All variables in 
MyOtherSeg
 will be accessed using huge addressing.
#pragma diag_default
#pragma diag_default=tag,tag,...
Changes the severity level back to default, or as defined on the command line for the 
diagnostic messages with the specified tags. For example:
#pragma diag_default=Pe117
See the chapter Diagnostics for more information about diagnostic messages.
#pragma diag_error
#pragma diag_error=tag,tag,...
Changes the severity level to 
error
 for the specified diagnostics. For example: 
#pragma diag_error=Pe117
See the chapter Diagnostics for more information about diagnostic messages.
#pragma diag_remark
#pragma diag_remark=tag,tag,...
Changes the severity level to 
remark
 for the specified diagnostics. For example:
#pragma diag_remark=Pe177
See the chapter Diagnostics for more information about diagnostic messages.
#pragma diag_suppress
#pragma diag_suppress=tag,tag,...
Suppresses the diagnostic messages with the specified tags. For example:
#pragma diag_suppress=Pe117,Pe177
See the chapter Diagnostics for more information about diagnostic messages.