Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Last updated: Wednesday 29 April 2026 @ 12:06:33

Rust Crate

In this chapter we are going to implement the rust versions of the of the libioctrl we did for C.

Note

Note there will be difference as rust is different - so not a direct translation, that would be too easy :D.

We are going to build a crate which is rust equivlance to a C project that produces a library or exectuable.

  1. Now we are going install rust on the BeagleBone:

  2. If you have installed rust on the BeagleBone, you can now move on to:

  3. Then we move on to the GPIO implementation

  4. Next is the ADC functionality

  5. This chapter deals with the PWM capabilities for BBB with rust

  6. The final chaper deals with combination of adc and pwm into one program