Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

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.
 

mandar_mahajan

Full Member level 2
Joined
Jul 8, 2009
Messages
134
Helped
7
Reputation
14
Reaction score
5
Trophy points
1,298
Location
mumbai
Activity points
2,090
#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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top