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.

Regarding PIN PERIPHERAL using c

Status
Not open for further replies.

sitaramtondepu

Newbie level 2
Joined
Sep 18, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Qatar
Activity points
1,289
hey,can u help me how to write the pin peripheral programming using c. send me some examples in that.
 

#define MOSI P2_2
#define SPI_CLK P2_5
#define STROBE P2_6
#define MASTER_RESET P2_7

this is the way. Once defined, use the name (for ex: MOSI) where u want.



Regards
mandar
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top