Commit Graph

108 Commits

Author SHA1 Message Date
Wladimir J. van der Laan
08cd58654f rust: enum for I/O pin definitions 2019-05-14 11:30:22 +00:00
Wladimir J. van der Laan
582092810f rust: Use core::cmp where useful
Write clamping expressions shorter.
Thought it didn't exist in no_std...
2019-05-13 20:18:56 +00:00
Wladimir J. van der Laan
927a21229e rust: Add game-of-life 2019-05-13 19:57:59 +00:00
Wladimir J. van der Laan
0572038b07 rust: Add i2c module
Just enough to support NS2009 for now.
2019-05-13 19:57:01 +00:00
Wladimir J. van der Laan
3ba2204102 rust/sysctl: clock_get_freq add I2Cx clocks 2019-05-13 13:31:09 +00:00
Wladimir J. van der Laan
8dff340565 rust/sysctl: Handle all peripheral clocks 2019-05-13 09:30:23 +00:00
Wladimir J. van der Laan
667c051969 rust: Add mandelbrot
Add mandelbrot zoom demo, and move some things to shared crate.

Switch to most recent k210-pac revision to fix fp issue.
2019-05-12 18:17:42 +00:00
Wladimir J. van der Laan
d9453e8a52 Fun with rust 2019-05-11 10:24:59 +00:00