Struct l3gd20::L3gd20 [] [src]

pub struct L3gd20<SPI, CS> { /* fields omitted */ }

L3GD20 driver

Methods

impl<SPI, CS, E> L3gd20<SPI, CS> where
    SPI: Transfer<u8, Error = E> + Write<u8, Error = E>,
    CS: OutputPin
[src]

[src]

Creates a new driver from a SPI peripheral and a NCS pin

[src]

Temperature measurement + gyroscope measurements

[src]

Gyroscope measurements

[src]

Temperature sensor measurement

[src]

Reads the WHO_AM_I register; should return 0xD4