Commit Graph

44 Commits

Author SHA1 Message Date
Dylan McKay 3fbe33504a Fixes 2018-11-05 23:35:46 +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 f94b23ed1d Use the new panic handler feature
The "panic_fmt" lang item no longer exists; it has been replaced with
the unstable feature #[panic_handler]
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 dcab721dc1 Use the correct timer thing 2018-11-05 23:32:51 +13:00
Dylan McKay 2430724262 Remove temporarily-added debugging files 2018-11-05 23:32:51 +13:00
Dylan McKay 2b58e36065 Add documentation 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 c486e1b7a9 Rename crate to 'ruduino' 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
Dylan McKay 76298abdb3 Add myself to authors 2018-11-05 23:32:39 +13:00
Dylan McKay c5946dc846 Remove all compiler warnings 2018-11-05 23:32:39 +13:00
Dylan McKay d3d41e457a Silence the half-written module 2018-11-05 23:32:39 +13:00
Dylan McKay 3e29e87d38 Rename ADDR to ADDRESS 2018-11-05 23:32:39 +13:00
Dylan McKay c5dac9d7c0 Move the serial module into a 'legacy' module 2018-11-05 23:32:39 +13:00
Dylan McKay ea1aef9b1a Remove as much atmega328p-hardcoded stuff as possible 2018-11-05 23:32:39 +13:00
Dylan McKay cb6e0d3b69 Invert the direction of the Register<T> type parameter 2018-11-05 23:32:39 +13:00
Dylan McKay 0157a8553c Implement the Timer16 trait 2018-11-05 23:32:39 +13:00
Dylan McKay d125f69f7d Get 16-bit timers working 2018-11-05 23:32:39 +13:00
Dylan McKay 274d4611ec More work done 2018-11-05 23:32:39 +13:00
Dylan McKay 1f638dbea3 Add a timer trait 2018-11-05 23:32:29 +13:00
Dylan McKay 468289e05f Support raw things 2018-11-05 23:32:29 +13:00
Dylan McKay 906b548dfa Do more work 2018-11-05 23:32:29 +13:00
Dylan McKay 190a3ec8f1 Add a cores::current module for getting the current microcontroller 2018-11-05 23:32:29 +13:00
Dylan McKay 5d65ad4efd Add a few stubs required from std into the library 2018-11-05 23:32:29 +13:00
Dylan McKay 1888fa52d3 Propagate arguments to build script 2018-11-05 23:32:02 +13:00
Dylan McKay 72b0169d53 Rename RegVal to Register 2018-11-05 23:32:02 +13:00
Dylan McKay a19ef84d8d Fix typo 2018-11-05 23:32:02 +13:00
Dylan McKay f1756787db Make a module public 2018-11-05 23:32:02 +13:00
Dylan McKay fcca0f8c27 Place ports into their own module 2018-11-05 23:32:02 +13:00
Dylan McKay 61b32145df Improve the names of the Spi trait consts 2018-11-05 23:32:02 +13:00
Dylan McKay 394e07e160 Hardware usart support 2018-11-05 23:32:02 +13:00
Dylan McKay d833813374 Support auto-generated cores 2018-11-05 23:32:02 +13:00
Dylan McKay a831e48755 Revert "Expose some structs for the IO ports"
This reverts commit 99ad3f0ab1.
2018-11-05 23:29:14 +13:00
Jake Goulding 4948dd412e Fully rename the crate 2018-11-02 21:41:57 -04:00
Jake Goulding 704c54a9d7 Associated constants are now stabilized 2018-11-02 13:51:04 -04:00
Jake Goulding 99ad3f0ab1 Expose some structs for the IO ports 2018-04-25 14:23:03 -04:00
Dylan McKay 0619bb1754
Update README.md 2017-12-17 12:58:43 +13:00
Dylan McKay bdc6a303fd Remove libcore dependency hack 2017-08-21 20:25:41 +12:00
Jake Goulding a09e4ca62e Basic overview of functionality 2016-07-06 21:03:25 -04:00
Jake Goulding 478744e231 Initial commit 2016-07-06 19:59:51 -04:00