Skip to content

Commit

Permalink
pcint_to() to ATtiny13A and ATtiny25/45/85
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardocosme committed Apr 13, 2021
1 parent c984896 commit b60238b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/avr/io/mcu/attiny13a/regs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,9 @@ AVR_IO_INLINE_GLOBAL(pcint2)
AVR_IO_INLINE_GLOBAL(pcint1)
AVR_IO_INLINE_GLOBAL(pcint0)

template<typename Pin>
bit<pcmsk_t, Pin::value> pcint_to(Pin pin) { return{}; }

/** DIDR0 0x14 */
using didr0_t = reg<0x14 + 0x20>;
using adc0d_t = bit<didr0_t, 5>;
Expand Down
3 changes: 3 additions & 0 deletions include/avr/io/mcu/attiny85/regs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,9 @@ AVR_IO_INLINE_GLOBAL(pcint2)
AVR_IO_INLINE_GLOBAL(pcint1)
AVR_IO_INLINE_GLOBAL(pcint0)

template<typename Pin>
bit<pcmsk_t, Pin::value> pcint_to(Pin pin) { return{}; }

/** DIDR0 0x14 */
using didr0_t = reg<0x14 + 0x20>;
using adc0d_t = bit<didr0_t, 5>;
Expand Down

0 comments on commit b60238b

Please sign in to comment.