Commit Graph

13 Commits (0f2fa7883cf75bec70d3ade0ec8d3e00b8151a7c)

Author SHA1 Message Date
Hauke Petersen 99c2704583 cpu/atmega: implement UART TX only 7 years ago
Bas Stottelaar 3b14a584b8 boards: *: remove SPI_*_EN now rework is merged 7 years ago
Hauke Petersen f5595693f6 cpu/atmega_common: adapted SPI driver 7 years ago
Oleg Hahm d0316fa7ae periph timer: remove timer_irq_(en|dis)able 7 years ago
Kaspar Schleiser 3e365b89fa cpu: atmega_common: adapt to periph/pm 7 years ago
Hauke Petersen 2eebf36eb2 cpu/uart: make use of named return values 7 years ago
Laurent Navet 4c9c3ab7d6 cpu/atmega_common: fix timer_set_absolute return code
according to timer documentation, timer_set and timer_set_absolute should
return 1 on succes, not 0.
7 years ago
kYc0o 5e3747ea8b Merge pull request #5590 from mali/atmega_common
cpu/atmega_common: improve to add smaller atmega MCUs.
7 years ago
Jon Thacker 0cc65db1b2 cpu/atmega_common: Add support for double speed baud generator
* Add support for U2X switch to double transmission speed
* Provides lower error rates when needed
* Add support for static baud rate calculation, reduces computation by 10x
* adds support for statically enabling double speed baud
7 years ago
Laurent Navet eed73beaa1 cpu/atmega_common: prepare for atmega328p inclusion
use generic avr/libc definition for conditionnal compilation.
eg: use #ifdef(PORTG) or #ifdef(TIMER_0_ISRC) instead of #ifdef(Atmega328p)
This is more generic and simplify future boards support.
7 years ago
Laurent Navet 2cd918a07a atmega_common: abstract Power Reduction Register
PR Register is PRR0 on atmega2560 and atmega1281
but PRR on atmega328p.
this abstracts as atmega Power Reduction Register as MEGA_PRR.
7 years ago
Jon Thacker 2aec999900 cpu/atmega_common: generalize register/peripheral definitions
Makes AVR register definitions dependent on what avr-libc defines
for a given MCU, rather then duplicating that effort here.
Definitions done in this way are based on functionality provided,
rather than a specific MCU device.
7 years ago
kYc0o 17c78e70e2 cpu/atmega_common: add common atmega CPU code to atmega_common 7 years ago