Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is the use of pragma directive in C language?

Status
Not open for further replies.

Dhans

Junior Member level 3
Junior Member level 3
Joined
Sep 14, 2005
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,473
need help

hi all

what is the use of pragma directive in c programming language?
 

Re: need help

Not a standard C function, usualy specific instruction for the processor or compiler.
 

need help

it looks like c language used in ICCAVR----a software used in AVR chip programme.
"pragma" use like the following:

#pragma interrupt_handler T0_OVF:10

void T0_OVF( void )
{
........
}


like a declaration before a interrupt handler function

I don't know whether it is the answer you need
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top