avr-rust / avrd

AVR device definitions
MIT License
46 stars 5 forks source link

Specify the number of GPIOs per device in documentation #6

Open dylanmckay opened 7 years ago

dylanmckay commented 7 years ago

It looks like the pack files are detailed enough that they specify which bits are used for all instances of name="PORT" modules.

See the ATXMEGA64a4, which only uses half of PORTB

https://docs.rs/avrd/0.1.1/avrd/atxmega64a4u/index.html'

We could easily list the number of GPIOs in the documentation by counting the number of these.