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.

ARM pin programming??

Status
Not open for further replies.

axatraj

Newbie level 4
Joined
Oct 31, 2011
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,328
Is it possible to do pin programming in ARMPLC2148 like 8051,avr,pic, .
I am experienced with 8051,pic,avr but not found any method or bit addressable or pin programming in ARM.so wil u plz help me regarding this issue..
 

if you mean something like IOPIN_1 or something like then the answer is no.

You can either use shift or use a macro that may make things easier

for example
IO0SET= (1<<BIT);
IO0CLR= (1<<BIT);

or
#define SETBIT(ADDRESS,BIT) (ADDRESS = (1<<BIT))
and then use
SETBIT(IO0SET,BIT)
SETBIT(IO0CLR,BIT)

Alex
 
Thanx Alex....very very thanx.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top