Skip to content
Jaakko Kantojärvi edited this page Oct 25, 2013 · 2 revisions

TODO

over lined are done

Low level components

Pins

  • output pin

  • input pin

  • reverse pin

  • led (methods on/off)

  • safe pin/protected (track pin.mode and change or fail)

    • callback function to call if safety is needed. Can be used to debug that code, /should be/ working :P
    • safe output (only output operations)
    • safe input (only input operations)

Analog pins

  • analog digital conversion
  • gain
  • reference
  • analog comparator
  • internal temperature sensor
  • single / free running modes; async and sync modes?
  • auto start on interrupt trigger
  • interrupt on complete
  • work on sleep
  • DIDR0 – Digital Input Disable Register 0

Interrupts

  • external (pins)
  • internal

class interrupt: http://jennaron.com.au/avr/classinterrupts.html

Other

  • atomic 16 bit writes
  • functions for:
    • bit counting
    • for each byte in bigger unit (taking care of endianes) (does autounion do this?)
  • Errors (example in I2C) using setjmp and longjmp in setjmp.h or exceptions

Failed / Not possible

  • template arguments from constructor (Not possible. look at make_pair, back_insertter)
Clone this wiki locally