Search found 4 matches

by Pete
Wed Mar 12, 2008 9:25 am
Forum: C and ASM Programming
Topic: Interrupts
Replies: 3
Views: 5669

Re: Interrupts

Thanks Benj,

It was for Arm7 btw not AVR. I have managed to sort it out now, I had to enable the peripheral Clock. I think it is good how you can associate interrupts with any port IO with these devices. So flexible.

Thanks Anyway.
by Pete
Sat Mar 08, 2008 5:52 pm
Forum: C and ASM Programming
Topic: Interrupts
Replies: 3
Views: 5669

Interrupts

Hi, can anybody tell me how to set up the interrupt on change feature for the AT91SAM7S128?

I have done polling of portb using the periodical timer interrupt, but just want to test for a button press without using this method.

Thanks
by Pete
Tue Feb 05, 2008 1:28 am
Forum: E-blocks
Topic: Dec to Hex
Replies: 3
Views: 4119

Re: Dec to Hex

Hello Ben, Thankyou very much, works a treat 8) :D Can you suggest any decent Embedded C books or websites to learn from? I am using 'Teach your self C++ in 21 Days' and 'C++ Builder' from Sams Publishing. I have learnt some basic principles of C from these books, but seems I have to make a function...
by Pete
Fri Feb 01, 2008 9:52 pm
Forum: E-blocks
Topic: Dec to Hex
Replies: 3
Views: 4119

Dec to Hex

Hi, I have just decided to start programming in C (2 weeks ago) I normally program in PIC ASM. I decided to expand on the processors I use, so bought the E-Blocks ARM Board. I am wanting to send a 32bit int to a function and return it as an hexadecimal string. Can someone tell me how I go about doin...