Module capsules::ninedof
[−]
[src]
Provides userspace with virtualized access to 9DOF sensors.
Usage
You need a device that provides the hil::sensors::NineDof
trait.
let ninedof = static_init!( capsules::ninedof::NineDof<'static>, capsules::ninedof::NineDof::new(fxos8700, kernel::Grant::create())); hil::sensors::NineDof::set_client(fxos8700, ninedof);
Reexports
use core::cell::Cell; |
use kernel::AppId; |
use kernel::Callback; |
use kernel::Driver; |
use kernel::Grant; |
use kernel::ReturnCode; |
use kernel::hil; |
Structs
App | |
NineDof |
Enums
NineDofCommand |
Constants
DRIVER_NUM |
Syscall number |