Commit Graph

9 Commits

Author SHA1 Message Date
Dylan McKay e2443720fb Use std::env::var rather than env! in the build script
This will let the crate build on crates.io.
2018-11-06 00:03:06 +13:00
Dylan McKay 7f3f874eec Automatically assume CPU frequency when building docs 2018-11-05 23:48:19 +13:00
Dylan McKay aecd4edb36 Rename Mask to RegisterBits
This is much more intuitive.
2018-11-05 23:32:51 +13:00
Dylan McKay f90d5b2d0b Clean up the documentation and public exports
The interrupt helper struct does not need to be public.

Add some documentation to a bunch of types.
2018-11-05 23:32:51 +13:00
Dylan McKay 8a320ca9da Assume atmega328 when building documentation
This allows 'cargo doc', and notably, docs.rs to work.
2018-11-05 23:32:51 +13:00
Dylan McKay 4b451634e7 Rename AVR_FREQUENCY to AVR_FREQUENCY_HZ
A bit less ambiguous.
2018-11-05 23:32:51 +13:00
Dylan McKay 61c62ad0ed Merge Mask and Bitset, remove Bitset
There isn't as much value as I thought in making the distinction.
2018-11-05 23:32:51 +13:00
Dylan McKay 3f3c8e2559 Move 'mod' to more appropriate place 2018-11-05 23:32:39 +13:00
Dylan McKay e1a05bbf96 Move the build script into a subdir 2018-11-05 23:32:39 +13:00