google / cyanobyte

Machine-readable datasheets
https://cyanobyte.dev
Apache License 2.0
79 stars 31 forks source link

Experimental rust support #199

Open Fleker opened 4 years ago

tstellanova commented 4 years ago

It’s not clear from the example where the lifecycle code is defined or where it lives after generation. And that would be the majority of the code for any driver.

Fleker commented 4 years ago

The lifecycle code would exist as additional functions which may present init or teardown logic. At the moment I only implemented support for register I/O until I get a better idea of whether that component works.