Struct capsules::temperature::TemperatureSensor [] [src]

pub struct TemperatureSensor<'a> {
    driver: &'a TemperatureDriver,
    apps: Grant<App>,
    busy: Cell<bool>,
}

Fields

Methods

impl<'a> TemperatureSensor<'a>
[src]

[src]

[src]

[src]

Trait Implementations

impl<'a> TemperatureClient for TemperatureSensor<'a>
[src]

[src]

Called when a temperature reading has completed. Read more

impl<'a> Driver for TemperatureSensor<'a>
[src]

[src]

subscribe lets an application pass a callback to the driver to be called later. This returns ENOSUPPORT if not used. Read more

[src]

command instructs a driver to perform some action synchronously. This returns ENOSUPPORT if not used. Read more

[src]

allow lets an application give the driver access to a buffer in the application's memory. This returns ENOSUPPORT if not used. Read more