embedded-trainings-2020/embedded-workshop-book/src/api-documentation.md
2020-07-13 13:48:24 +02:00

508 B

Checking the API documentation

We'll be using the dk Hardware Abstraction Layer. It's good to have its API documentation handy. You can generate the documentation for that crate from the command line:

$ cargo doc -p dk --open

Run this command from within the advanced/firmware folder. It will open the generated documentation in your default web browser.

NOTE if you are using Safari and the documentation is hard to read due to missing CSS, try opening it in a different browser.