0

There is very cool avr-libc library that provides direct access for all functions of AVR microcontrollers. I'm writing a project for Arduino Due and I want to use timers and ISRs directly. Is there a library like avr-libc for ARM Cortex M3?

2 Answers 2

2

I think newlib is the one you want. howto

1
  • Thanks, looks good. But it's more like a replacement for Arduino. May be there is something that could be imported to Arduino project like avr libc?
    – kelin
    Feb 7, 2016 at 15:18
1

I found the official library here: http://www.atmel.com/tools/atmel-arm-toolchain.aspx

UPDATE:

I have finally understood understand how exactly Arduino accesses specific ARM features. It includes sam.h file which in turn contains Cortex Microcontroller Software Interface Standard. With this cool interface anyone can use so many cool features:

  • Timers
  • Advanced interrupts
  • Power saving mode
  • SIMD instructions
  • And many other

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.